Apply Ingot Market Template Parsers Structure ...

This commit is contained in:
2024-08-26 13:45:56 +03:30
parent ec9e42a2a3
commit 6cb9643cf4
470 changed files with 1406 additions and 1406 deletions
+53 -53
View File
@@ -25,36 +25,36 @@
#include "../../Strategies/x-saherelm.xch.strategy.mq5"
//
#include "./DowJones/x-saherelm.xch.alpari.us30.long.parser.mq5"
#include "./DowJones/x-saherelm.xch.alpari.us30.short.parser.mq5"
#include "./EURGBP/x-saherelm.xch.alpari.eurgbp.long.parser.mq5"
#include "./EURGBP/x-saherelm.xch.alpari.eurgbp.short.parser.mq5"
#include "./EURJPY/x-saherelm.xch.alpari.eurjpy.long.parser.mq5"
#include "./EURJPY/x-saherelm.xch.alpari.eurjpy.short.parser.mq5"
#include "./EURCHF/x-saherelm.xch.alpari.eurchf.long.parser.mq5"
#include "./EURCHF/x-saherelm.xch.alpari.eurchf.short.parser.mq5"
#include "./AUDUSD/x-saherelm.xch.alpari.audusd.long.parser.mq5"
#include "./AUDUSD/x-saherelm.xch.alpari.audusd.short.parser.mq5"
#include "./NZDUSD/x-saherelm.xch.alpari.nzdusd.long.parser.mq5"
#include "./NZDUSD/x-saherelm.xch.alpari.nzdusd.short.parser.mq5"
#include "./USDCAD/x-saherelm.xch.alpari.usdcad.long.parser.mq5"
#include "./USDCAD/x-saherelm.xch.alpari.usdcad.short.parser.mq5"
#include "./EURCAD/x-saherelm.xch.alpari.eurcad.long.parser.mq5"
#include "./EURCAD/x-saherelm.xch.alpari.eurcad.short.parser.mq5"
#include "./EURUSD/x-saherelm.xch.alpari.eurusd.long.parser.mq5"
#include "./EURUSD/x-saherelm.xch.alpari.eurusd.short.parser.mq5"
#include "./USDJPY/x-saherelm.xch.alpari.usdjpy.long.parser.mq5"
#include "./USDJPY/x-saherelm.xch.alpari.usdjpy.short.parser.mq5"
#include "./USDCHF/x-saherelm.xch.alpari.usdchf.long.parser.mq5"
#include "./USDCHF/x-saherelm.xch.alpari.usdchf.short.parser.mq5"
#include "./GBPUSD/x-saherelm.xch.alpari.gbpusd.long.parser.mq5"
#include "./GBPUSD/x-saherelm.xch.alpari.gbpusd.short.parser.mq5"
#include "./XAUUSD/x-saherelm.xch.alpari.xauusd.long.parser.mq5"
#include "./XAUUSD/x-saherelm.xch.alpari.xauusd.short.parser.mq5"
#include "./DowJones/x-saherelm.xch.ingot.us30.long.parser.mq5"
#include "./DowJones/x-saherelm.xch.ingot.us30.short.parser.mq5"
#include "./EURGBP/x-saherelm.xch.ingot.eurgbp.long.parser.mq5"
#include "./EURGBP/x-saherelm.xch.ingot.eurgbp.short.parser.mq5"
#include "./EURJPY/x-saherelm.xch.ingot.eurjpy.long.parser.mq5"
#include "./EURJPY/x-saherelm.xch.ingot.eurjpy.short.parser.mq5"
#include "./EURCHF/x-saherelm.xch.ingot.eurchf.long.parser.mq5"
#include "./EURCHF/x-saherelm.xch.ingot.eurchf.short.parser.mq5"
#include "./AUDUSD/x-saherelm.xch.ingot.audusd.long.parser.mq5"
#include "./AUDUSD/x-saherelm.xch.ingot.audusd.short.parser.mq5"
#include "./NZDUSD/x-saherelm.xch.ingot.nzdusd.long.parser.mq5"
#include "./NZDUSD/x-saherelm.xch.ingot.nzdusd.short.parser.mq5"
#include "./USDCAD/x-saherelm.xch.ingot.usdcad.long.parser.mq5"
#include "./USDCAD/x-saherelm.xch.ingot.usdcad.short.parser.mq5"
#include "./EURCAD/x-saherelm.xch.ingot.eurcad.long.parser.mq5"
#include "./EURCAD/x-saherelm.xch.ingot.eurcad.short.parser.mq5"
#include "./EURUSD/x-saherelm.xch.ingot.eurusd.long.parser.mq5"
#include "./EURUSD/x-saherelm.xch.ingot.eurusd.short.parser.mq5"
#include "./USDJPY/x-saherelm.xch.ingot.usdjpy.long.parser.mq5"
#include "./USDJPY/x-saherelm.xch.ingot.usdjpy.short.parser.mq5"
#include "./USDCHF/x-saherelm.xch.ingot.usdchf.long.parser.mq5"
#include "./USDCHF/x-saherelm.xch.ingot.usdchf.short.parser.mq5"
#include "./GBPUSD/x-saherelm.xch.ingot.gbpusd.long.parser.mq5"
#include "./GBPUSD/x-saherelm.xch.ingot.gbpusd.short.parser.mq5"
#include "./XAUUSD/x-saherelm.xch.ingot.xauusd.long.parser.mq5"
#include "./XAUUSD/x-saherelm.xch.ingot.xauusd.short.parser.mq5"
//
// Conditions Parser ...
struct XCHStartegyAlpariConditionsParser
struct XCHStartegyIngotConditionsParser
{
//
string _version;
@@ -65,68 +65,68 @@ struct XCHStartegyAlpariConditionsParser
//
// EURUSD ...
XCHStartegyAlpariEURUSDLongConditionsParser _eurusdLongParser;
XCHStartegyAlpariEURUSDShortConditionsParser _eurusdShortParser;
XCHStartegyIngotEURUSDLongConditionsParser _eurusdLongParser;
XCHStartegyIngotEURUSDShortConditionsParser _eurusdShortParser;
//
// GBPUSD ...
XCHStartegyAlpariGBPUSDLongConditionsParser _gbpusdLongParser;
XCHStartegyAlpariGBPUSDShortConditionsParser _gbpusdShortParser;
XCHStartegyIngotGBPUSDLongConditionsParser _gbpusdLongParser;
XCHStartegyIngotGBPUSDShortConditionsParser _gbpusdShortParser;
//
// EURGBP ...
XCHStartegyAlpariEURGBPLongConditionsParser _eurgbpLongParser;
XCHStartegyAlpariEURGBPShortConditionsParser _eurgbpShortParser;
XCHStartegyIngotEURGBPLongConditionsParser _eurgbpLongParser;
XCHStartegyIngotEURGBPShortConditionsParser _eurgbpShortParser;
//
// USDJPY ...
XCHStartegyAlpariUSDJPYLongConditionsParser _usdjpyLongParser;
XCHStartegyAlpariUSDJPYShortConditionsParser _usdjpyShortParser;
XCHStartegyIngotUSDJPYLongConditionsParser _usdjpyLongParser;
XCHStartegyIngotUSDJPYShortConditionsParser _usdjpyShortParser;
//
// EURJPY ...
XCHStartegyAlpariEURJPYLongConditionsParser _eurjpyLongParser;
XCHStartegyAlpariEURJPYShortConditionsParser _eurjpyShortParser;
XCHStartegyIngotEURJPYLongConditionsParser _eurjpyLongParser;
XCHStartegyIngotEURJPYShortConditionsParser _eurjpyShortParser;
//
// USDCHF ...
XCHStartegyAlpariUSDCHFLongConditionsParser _usdchfLongParser;
XCHStartegyAlpariUSDCHFShortConditionsParser _usdchfShortParser;
XCHStartegyIngotUSDCHFLongConditionsParser _usdchfLongParser;
XCHStartegyIngotUSDCHFShortConditionsParser _usdchfShortParser;
//
// EURCHF ...
XCHStartegyAlpariEURCHFLongConditionsParser _eurchfLongParser;
XCHStartegyAlpariEURCHFShortConditionsParser _eurchfShortParser;
XCHStartegyIngotEURCHFLongConditionsParser _eurchfLongParser;
XCHStartegyIngotEURCHFShortConditionsParser _eurchfShortParser;
//
// XAUUSD ...
XCHStartegyAlpariXAUUSDLongConditionsParser _xauusdLongParser;
XCHStartegyAlpariXAUUSDShortConditionsParser _xauusdShortParser;
XCHStartegyIngotXAUUSDLongConditionsParser _xauusdLongParser;
XCHStartegyIngotXAUUSDShortConditionsParser _xauusdShortParser;
//
// DOWJONES ...
XCHStartegyAlpariUS30LongConditionsParser _dowjonesLongParser;
XCHStartegyAlpariUS30ShortConditionsParser _dowjonesShortParser;
XCHStartegyIngotUS30LongConditionsParser _dowjonesLongParser;
XCHStartegyIngotUS30ShortConditionsParser _dowjonesShortParser;
//
// AUDUSD ...
XCHStartegyAlpariAUDUSDLongConditionsParser _audusdLongParser;
XCHStartegyAlpariAUDUSDShortConditionsParser _audusdShortParser;
XCHStartegyIngotAUDUSDLongConditionsParser _audusdLongParser;
XCHStartegyIngotAUDUSDShortConditionsParser _audusdShortParser;
//
// NZDUSD ...
XCHStartegyAlpariNZDUSDLongConditionsParser _nzdusdLongParser;
XCHStartegyAlpariNZDUSDShortConditionsParser _nzdusdShortParser;
XCHStartegyIngotNZDUSDLongConditionsParser _nzdusdLongParser;
XCHStartegyIngotNZDUSDShortConditionsParser _nzdusdShortParser;
//
// USDCAD ...
XCHStartegyAlpariUSDCADLongConditionsParser _usdcadLongParser;
XCHStartegyAlpariUSDCADShortConditionsParser _usdcadShortParser;
XCHStartegyIngotUSDCADLongConditionsParser _usdcadLongParser;
XCHStartegyIngotUSDCADShortConditionsParser _usdcadShortParser;
//
// EURCAD ...
XCHStartegyAlpariEURCADLongConditionsParser _eurcadLongParser;
XCHStartegyAlpariEURCADShortConditionsParser _eurcadShortParser;
XCHStartegyIngotEURCADLongConditionsParser _eurcadLongParser;
XCHStartegyIngotEURCADShortConditionsParser _eurcadShortParser;
//
bool IsFiltered(