prepare 2024 parsers for each asset in amarkets ...
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.amarkets.usdcad.olds.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.usdcad.2019.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.usdcad.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
@@ -38,6 +39,7 @@ struct XCHStartegyAMarketsUSDCADLongConditionsParser
|
||||
//
|
||||
XCHStartegyAMarketsUSDCADOldsLongConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsUSDCAD2019LongConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsUSDCAD2024LongConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
@@ -52,12 +54,25 @@ struct XCHStartegyAMarketsUSDCADLongConditionsParser
|
||||
//
|
||||
if (!force)
|
||||
{
|
||||
result = _2019Parser.IsFiltered(conditions);
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
;
|
||||
}
|
||||
else
|
||||
{
|
||||
//
|
||||
result =
|
||||
//
|
||||
_2024Parser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_2019Parser.IsFiltered(conditions)
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user