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