apply NZDUSD,AUDUSD Level 3 fix, and implement EURGBP,EURCHF,EURJPY empty parsers ...
This commit is contained in:
@@ -27,6 +27,12 @@
|
||||
//
|
||||
#include "../Parsers/x-saherelm.xch.dowj.long.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.dowj.short.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.eurgbp.long.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.eurgbp.short.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.eurjpy.long.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.eurjpy.short.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.eurchf.long.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.eurchf.short.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.audusd.long.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.audusd.short.parser.mq5"
|
||||
#include "../Parsers/x-saherelm.xch.nzdusd.long.parser.mq5"
|
||||
@@ -67,16 +73,31 @@ struct XCHStartegyConditionsParser
|
||||
XCHStartegyGBPUSDLongConditionsParser _gbpusdLongParser;
|
||||
XCHStartegyGBPUSDShortConditionsParser _gbpusdShortParser;
|
||||
|
||||
//
|
||||
// EURGBP ...
|
||||
XCHStartegyEURGBPLongConditionsParser _eurgbpLongParser;
|
||||
XCHStartegyEURGBPShortConditionsParser _eurgbpShortParser;
|
||||
|
||||
//
|
||||
// USDJPY ...
|
||||
XCHStartegyUSDJPYLongConditionsParser _usdjpyLongParser;
|
||||
XCHStartegyUSDJPYShortConditionsParser _usdjpyShortParser;
|
||||
|
||||
//
|
||||
// EURJPY ...
|
||||
XCHStartegyEURJPYLongConditionsParser _eurjpyLongParser;
|
||||
XCHStartegyEURJPYShortConditionsParser _eurjpyShortParser;
|
||||
|
||||
//
|
||||
// USDCHF ...
|
||||
XCHStartegyUSDCHFLongConditionsParser _usdchfLongParser;
|
||||
XCHStartegyUSDCHFShortConditionsParser _usdchfShortParser;
|
||||
|
||||
//
|
||||
// EURCHF ...
|
||||
XCHStartegyEURCHFLongConditionsParser _eurchfLongParser;
|
||||
XCHStartegyEURCHFShortConditionsParser _eurchfShortParser;
|
||||
|
||||
//
|
||||
// XAUUSD ...
|
||||
XCHStartegyXAUUSDLongConditionsParser _xauusdLongParser;
|
||||
@@ -865,9 +886,12 @@ struct XCHStartegyConditionsParser
|
||||
//
|
||||
bool isEURUSD = _symbolParser.IsEURUSD(signal.symbol);
|
||||
bool isGBPUSD = _symbolParser.IsGBPUSD(signal.symbol);
|
||||
bool isEURGBP = _symbolParser.IsEURGBP(signal.symbol);
|
||||
bool isXAUUSD = _symbolParser.IsXAUUSD(signal.symbol);
|
||||
bool isUSDJPY = _symbolParser.IsUSDJPY(signal.symbol);
|
||||
bool isEURJPY = _symbolParser.IsEURJPY(signal.symbol);
|
||||
bool isUSDCHF = _symbolParser.IsUSDCHF(signal.symbol);
|
||||
bool isEURCHF = _symbolParser.IsEURCHF(signal.symbol);
|
||||
bool isAUDUSD = _symbolParser.IsAUDUSD(signal.symbol);
|
||||
bool isNZDUSD = _symbolParser.IsNZDUSD(signal.symbol);
|
||||
bool isUSDCAD = _symbolParser.IsUSDCAD(signal.symbol);
|
||||
@@ -889,18 +913,36 @@ struct XCHStartegyConditionsParser
|
||||
result =
|
||||
_gbpusdLongParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isEURGBP)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_eurgbpLongParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isUSDJPY)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_usdjpyLongParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isEURJPY)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_eurjpyLongParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isUSDCHF)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_usdchfLongParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isEURCHF)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_eurchfLongParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isXAUUSD)
|
||||
{
|
||||
//
|
||||
@@ -945,14 +987,26 @@ struct XCHStartegyConditionsParser
|
||||
//
|
||||
||
|
||||
//
|
||||
_eurgbpLongParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_usdjpyLongParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_eurjpyLongParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_usdchfLongParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_eurchfLongParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_xauusdLongParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
@@ -992,9 +1046,12 @@ struct XCHStartegyConditionsParser
|
||||
//
|
||||
bool isEURUSD = _symbolParser.IsEURUSD(signal.symbol);
|
||||
bool isGBPUSD = _symbolParser.IsGBPUSD(signal.symbol);
|
||||
bool isEURGBP = _symbolParser.IsEURGBP(signal.symbol);
|
||||
bool isXAUUSD = _symbolParser.IsXAUUSD(signal.symbol);
|
||||
bool isUSDJPY = _symbolParser.IsUSDJPY(signal.symbol);
|
||||
bool isEURJPY = _symbolParser.IsEURJPY(signal.symbol);
|
||||
bool isUSDCHF = _symbolParser.IsUSDCHF(signal.symbol);
|
||||
bool isEURCHF = _symbolParser.IsEURCHF(signal.symbol);
|
||||
bool isAUDUSD = _symbolParser.IsAUDUSD(signal.symbol);
|
||||
bool isNZDUSD = _symbolParser.IsNZDUSD(signal.symbol);
|
||||
bool isUSDCAD = _symbolParser.IsUSDCAD(signal.symbol);
|
||||
@@ -1016,18 +1073,36 @@ struct XCHStartegyConditionsParser
|
||||
result =
|
||||
_gbpusdShortParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isEURGBP)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_eurgbpShortParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isUSDJPY)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_usdjpyShortParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isEURJPY)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_eurjpyShortParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isUSDCHF)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_usdchfShortParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isEURCHF)
|
||||
{
|
||||
//
|
||||
result =
|
||||
_eurchfShortParser.IsFiltered(conditions);
|
||||
}
|
||||
else if (isXAUUSD)
|
||||
{
|
||||
//
|
||||
@@ -1072,14 +1147,26 @@ struct XCHStartegyConditionsParser
|
||||
//
|
||||
||
|
||||
//
|
||||
_eurgbpShortParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_usdjpyShortParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_eurjpyShortParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_usdchfShortParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_eurchfShortParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
//
|
||||
_xauusdShortParser.IsFiltered(conditions)
|
||||
//
|
||||
||
|
||||
|
||||
Reference in New Issue
Block a user