Apply X121 XAUUSDb Level 4 Fix ...
This commit is contained in:
+125396
File diff suppressed because it is too large
Load Diff
+718933
File diff suppressed because it is too large
Load Diff
@@ -23,6 +23,7 @@
|
|||||||
//
|
//
|
||||||
// Imports ...
|
// Imports ...
|
||||||
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
|
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
|
||||||
|
#include "../Olds/x-saherelm.x121.amarkets.xauusd.olds.1.long.parser.mq5"
|
||||||
|
|
||||||
//
|
//
|
||||||
// Conditions Parser ...
|
// Conditions Parser ...
|
||||||
@@ -30,6 +31,7 @@ struct X121StartegyAMarketsXAUUSDOldsLongConditionsParser
|
|||||||
{
|
{
|
||||||
//
|
//
|
||||||
string _version;
|
string _version;
|
||||||
|
X121StartegyAMarketsXAUUSDOlds1LongConditionsParser _olds1Parser;
|
||||||
|
|
||||||
//
|
//
|
||||||
bool IsFiltered(
|
bool IsFiltered(
|
||||||
@@ -39,6 +41,12 @@ struct X121StartegyAMarketsXAUUSDOldsLongConditionsParser
|
|||||||
//
|
//
|
||||||
bool result = false;
|
bool result = false;
|
||||||
|
|
||||||
|
//
|
||||||
|
result = _olds1Parser.IsFiltered(conditions);
|
||||||
|
if (result) {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
result =
|
result =
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -26,6 +26,7 @@
|
|||||||
#include "../Olds/x-saherelm.x121.amarkets.xauusd.olds.1.short.parser.mq5"
|
#include "../Olds/x-saherelm.x121.amarkets.xauusd.olds.1.short.parser.mq5"
|
||||||
#include "../Olds/x-saherelm.x121.amarkets.xauusd.olds.2.short.parser.mq5"
|
#include "../Olds/x-saherelm.x121.amarkets.xauusd.olds.2.short.parser.mq5"
|
||||||
#include "../Olds/x-saherelm.x121.amarkets.xauusd.olds.3.short.parser.mq5"
|
#include "../Olds/x-saherelm.x121.amarkets.xauusd.olds.3.short.parser.mq5"
|
||||||
|
#include "../Olds/x-saherelm.x121.amarkets.xauusd.olds.4.short.parser.mq5"
|
||||||
|
|
||||||
//
|
//
|
||||||
// Conditions Parser ...
|
// Conditions Parser ...
|
||||||
@@ -36,6 +37,7 @@ struct X121StartegyAMarketsXAUUSDOldsShortConditionsParser
|
|||||||
X121StartegyAMarketsXAUUSDOlds1ShortConditionsParser _olds1Parser;
|
X121StartegyAMarketsXAUUSDOlds1ShortConditionsParser _olds1Parser;
|
||||||
X121StartegyAMarketsXAUUSDOlds2ShortConditionsParser _olds2Parser;
|
X121StartegyAMarketsXAUUSDOlds2ShortConditionsParser _olds2Parser;
|
||||||
X121StartegyAMarketsXAUUSDOlds3ShortConditionsParser _olds3Parser;
|
X121StartegyAMarketsXAUUSDOlds3ShortConditionsParser _olds3Parser;
|
||||||
|
X121StartegyAMarketsXAUUSDOlds4ShortConditionsParser _olds4Parser;
|
||||||
|
|
||||||
//
|
//
|
||||||
bool IsFiltered(
|
bool IsFiltered(
|
||||||
@@ -63,6 +65,12 @@ struct X121StartegyAMarketsXAUUSDOldsShortConditionsParser
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
result = _olds4Parser.IsFiltered(conditions);
|
||||||
|
if (result) {
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
result =
|
result =
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user