prepare 2024 parsers for each asset in amarkets ...
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
//
|
||||
#include "./Olds/x-saherelm.xch.amarkets.eurchf.olds.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.eurchf.2019.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.eurchf.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
@@ -38,6 +39,7 @@ struct XCHStartegyAMarketsEURCHFLongConditionsParser
|
||||
//
|
||||
XCHStartegyAMarketsEURCHFOldsLongConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsEURCHF2019LongConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsEURCHF2024LongConditionsParser _2024Parser;
|
||||
|
||||
//
|
||||
bool IsFiltered(
|
||||
@@ -52,12 +54,25 @@ struct XCHStartegyAMarketsEURCHFLongConditionsParser
|
||||
//
|
||||
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