try to prepare X121 Materials ...

This commit is contained in:
2024-10-07 03:35:06 +03:30
parent fbe6e4ec00
commit aa1da78648
930 changed files with 4337 additions and 3077176 deletions
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2018LongConditionsParser
struct X121StartegyAMarketsUSDCAD2018LongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2018ShortConditionsParser
struct X121StartegyAMarketsUSDCAD2018ShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -1,54 +0,0 @@
///////////////////////////////////////////////////////
//
// SaherElm IT Center MQL5 Strategy Parser Library
// ------------------------------------------------
// Name: XCHICHWapStartegyConditionsParser
// Description: provide all conditions parsing
// for XCH Strategy ...
//
//
// Maintainer:
// ------------
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
//
//////////////////////////////////////////////////////
//
// Global Properties ...
#property library
#property copyright "Copyright 2023, SaherElm IT Center"
#property link "https://www.saherelm.ir"
#property version "1.00"
#property strict
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.ichwap.strategy.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsUSDCAD2018LongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -1,54 +0,0 @@
///////////////////////////////////////////////////////
//
// SaherElm IT Center MQL5 Strategy Parser Library
// ------------------------------------------------
// Name: XCHICHWapStartegyConditionsParser
// Description: provide all conditions parsing
// for XCH Strategy ...
//
//
// Maintainer:
// ------------
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
//
//////////////////////////////////////////////////////
//
// Global Properties ...
#property library
#property copyright "Copyright 2023, SaherElm IT Center"
#property link "https://www.saherelm.ir"
#property version "1.00"
#property strict
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.ichwap.strategy.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsUSDCAD2018ShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2019LongConditionsParser
struct X121StartegyAMarketsUSDCAD2019LongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2019ShortConditionsParser
struct X121StartegyAMarketsUSDCAD2019ShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2020LongConditionsParser
struct X121StartegyAMarketsUSDCAD2020LongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2020ShortConditionsParser
struct X121StartegyAMarketsUSDCAD2020ShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2021LongConditionsParser
struct X121StartegyAMarketsUSDCAD2021LongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2021ShortConditionsParser
struct X121StartegyAMarketsUSDCAD2021ShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2022LongConditionsParser
struct X121StartegyAMarketsUSDCAD2022LongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2022ShortConditionsParser
struct X121StartegyAMarketsUSDCAD2022ShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2023LongConditionsParser
struct X121StartegyAMarketsUSDCAD2023LongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2023ShortConditionsParser
struct X121StartegyAMarketsUSDCAD2023ShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2024LongConditionsParser
struct X121StartegyAMarketsUSDCAD2024LongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCAD2024ShortConditionsParser
struct X121StartegyAMarketsUSDCAD2024ShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCADOldsLongConditionsParser
struct X121StartegyAMarketsUSDCADOldsLongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -22,18 +22,18 @@
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../../Strategies/x-saherelm.x121.strategy.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCADOldsShortConditionsParser
struct X121StartegyAMarketsUSDCADOldsShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
X121StrategyConditions &conditions //
)
{
//
@@ -1,54 +0,0 @@
///////////////////////////////////////////////////////
//
// SaherElm IT Center MQL5 Strategy Parser Library
// ------------------------------------------------
// Name: XCHICHWapStartegyConditionsParser
// Description: provide all conditions parsing
// for XCH Strategy ...
//
//
// Maintainer:
// ------------
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
//
//////////////////////////////////////////////////////
//
// Global Properties ...
#property library
#property copyright "Copyright 2023, SaherElm IT Center"
#property link "https://www.saherelm.ir"
#property version "1.00"
#property strict
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.ichwap.strategy.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsUSDCADOldsLongConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -1,54 +0,0 @@
///////////////////////////////////////////////////////
//
// SaherElm IT Center MQL5 Strategy Parser Library
// ------------------------------------------------
// Name: XCHICHWapStartegyConditionsParser
// Description: provide all conditions parsing
// for XCH Strategy ...
//
//
// Maintainer:
// ------------
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
//
//////////////////////////////////////////////////////
//
// Global Properties ...
#property library
#property copyright "Copyright 2023, SaherElm IT Center"
#property link "https://www.saherelm.ir"
#property version "1.00"
#property strict
//
// Imports ...
#include "../../../../Strategies/x-saherelm.xch.ichwap.strategy.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsUSDCADOldsShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCADLongConditionsParser
struct X121StartegyAMarketsUSDCADLongConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsUSDCADOldsLongConditionsParser _oldsParser;
XCHStartegyAMarketsUSDCAD2018LongConditionsParser _2018Parser;
XCHStartegyAMarketsUSDCAD2019LongConditionsParser _2019Parser;
XCHStartegyAMarketsUSDCAD2020LongConditionsParser _2020Parser;
XCHStartegyAMarketsUSDCAD2021LongConditionsParser _2021Parser;
XCHStartegyAMarketsUSDCAD2022LongConditionsParser _2022Parser;
XCHStartegyAMarketsUSDCAD2023LongConditionsParser _2023Parser;
XCHStartegyAMarketsUSDCAD2024LongConditionsParser _2024Parser;
X121StartegyAMarketsUSDCADOldsLongConditionsParser _oldsParser;
X121StartegyAMarketsUSDCAD2018LongConditionsParser _2018Parser;
X121StartegyAMarketsUSDCAD2019LongConditionsParser _2019Parser;
X121StartegyAMarketsUSDCAD2020LongConditionsParser _2020Parser;
X121StartegyAMarketsUSDCAD2021LongConditionsParser _2021Parser;
X121StartegyAMarketsUSDCAD2022LongConditionsParser _2022Parser;
X121StartegyAMarketsUSDCAD2023LongConditionsParser _2023Parser;
X121StartegyAMarketsUSDCAD2024LongConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
X121StrategyConditions &conditions,
bool force = true //
)
{
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsUSDCADShortConditionsParser
struct X121StartegyAMarketsUSDCADShortConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsUSDCADOldsShortConditionsParser _oldsParser;
XCHStartegyAMarketsUSDCAD2018ShortConditionsParser _2018Parser;
XCHStartegyAMarketsUSDCAD2019ShortConditionsParser _2019Parser;
XCHStartegyAMarketsUSDCAD2020ShortConditionsParser _2020Parser;
XCHStartegyAMarketsUSDCAD2021ShortConditionsParser _2021Parser;
XCHStartegyAMarketsUSDCAD2022ShortConditionsParser _2022Parser;
XCHStartegyAMarketsUSDCAD2023ShortConditionsParser _2023Parser;
XCHStartegyAMarketsUSDCAD2024ShortConditionsParser _2024Parser;
X121StartegyAMarketsUSDCADOldsShortConditionsParser _oldsParser;
X121StartegyAMarketsUSDCAD2018ShortConditionsParser _2018Parser;
X121StartegyAMarketsUSDCAD2019ShortConditionsParser _2019Parser;
X121StartegyAMarketsUSDCAD2020ShortConditionsParser _2020Parser;
X121StartegyAMarketsUSDCAD2021ShortConditionsParser _2021Parser;
X121StartegyAMarketsUSDCAD2022ShortConditionsParser _2022Parser;
X121StartegyAMarketsUSDCAD2023ShortConditionsParser _2023Parser;
X121StartegyAMarketsUSDCAD2024ShortConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
X121StrategyConditions &conditions,
bool force = true //
)
{
@@ -1,141 +0,0 @@
///////////////////////////////////////////////////////
//
// SaherElm IT Center MQL5 Strategy Parser Library
// ------------------------------------------------
// Name: XCHStartegyConditionsParser
// Description: provide all conditions parsing
// for XCH Strategy ...
//
//
// Maintainer:
// ------------
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
//
//////////////////////////////////////////////////////
//
// Global Properties ...
#property library
#property copyright "Copyright 2023, SaherElm IT Center"
#property link "https://www.saherelm.ir"
#property version "1.00"
#property strict
//
// Imports ...
#include "../../../Strategies/x-saherelm.xch.che.strategy.mq5"
//
#include "./Olds/x-saherelm.xch.che.amarkets.usdcad.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.usdcad.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.usdcad.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.usdcad.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.usdcad.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.usdcad.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.usdcad.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.usdcad.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsUSDCADLongConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsUSDCADOldsLongConditionsParser _oldsParser;
XCHCHEStartegyAMarketsUSDCAD2018LongConditionsParser _2018Parser;
XCHCHEStartegyAMarketsUSDCAD2019LongConditionsParser _2019Parser;
XCHCHEStartegyAMarketsUSDCAD2020LongConditionsParser _2020Parser;
XCHCHEStartegyAMarketsUSDCAD2021LongConditionsParser _2021Parser;
XCHCHEStartegyAMarketsUSDCAD2022LongConditionsParser _2022Parser;
XCHCHEStartegyAMarketsUSDCAD2023LongConditionsParser _2023Parser;
XCHCHEStartegyAMarketsUSDCAD2024LongConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
bool force = true //
)
{
//
bool result = false;
//
if (!force)
{
//
result =
//
_2024Parser.IsFiltered(conditions)
//
||
//
_2023Parser.IsFiltered(conditions)
//
||
//
_2022Parser.IsFiltered(conditions)
//
||
//
_2021Parser.IsFiltered(conditions)
//
||
//
_2020Parser.IsFiltered(conditions)
//
||
//
_2019Parser.IsFiltered(conditions)
//
||
//
_2018Parser.IsFiltered(conditions)
//
;
}
else
{
//
result =
//
_2024Parser.IsFiltered(conditions)
//
||
//
_2023Parser.IsFiltered(conditions)
//
||
//
_2022Parser.IsFiltered(conditions)
//
||
//
_2021Parser.IsFiltered(conditions)
//
||
//
_2020Parser.IsFiltered(conditions)
//
||
//
_2019Parser.IsFiltered(conditions)
//
||
//
_2018Parser.IsFiltered(conditions)
//
||
//
_oldsParser.IsFiltered(conditions)
//
;
}
//
return result;
}
};
//
@@ -1,141 +0,0 @@
///////////////////////////////////////////////////////
//
// SaherElm IT Center MQL5 Strategy Parser Library
// ------------------------------------------------
// Name: XCHStartegyConditionsParser
// Description: provide all conditions parsing
// for XCH Strategy ...
//
//
// Maintainer:
// ------------
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
//
//////////////////////////////////////////////////////
//
// Global Properties ...
#property library
#property copyright "Copyright 2023, SaherElm IT Center"
#property link "https://www.saherelm.ir"
#property version "1.00"
#property strict
//
// Imports ...
#include "../../../Strategies/x-saherelm.xch.che.strategy.mq5"
//
#include "./Olds/x-saherelm.xch.che.amarkets.usdcad.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.usdcad.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.usdcad.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.usdcad.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.usdcad.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.usdcad.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.usdcad.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.usdcad.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsUSDCADShortConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsUSDCADOldsShortConditionsParser _oldsParser;
XCHCHEStartegyAMarketsUSDCAD2018ShortConditionsParser _2018Parser;
XCHCHEStartegyAMarketsUSDCAD2019ShortConditionsParser _2019Parser;
XCHCHEStartegyAMarketsUSDCAD2020ShortConditionsParser _2020Parser;
XCHCHEStartegyAMarketsUSDCAD2021ShortConditionsParser _2021Parser;
XCHCHEStartegyAMarketsUSDCAD2022ShortConditionsParser _2022Parser;
XCHCHEStartegyAMarketsUSDCAD2023ShortConditionsParser _2023Parser;
XCHCHEStartegyAMarketsUSDCAD2024ShortConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
bool force = true //
)
{
//
bool result = false;
//
if (!force)
{
//
result =
//
_2024Parser.IsFiltered(conditions)
//
||
//
_2023Parser.IsFiltered(conditions)
//
||
//
_2022Parser.IsFiltered(conditions)
//
||
//
_2021Parser.IsFiltered(conditions)
//
||
//
_2020Parser.IsFiltered(conditions)
//
||
//
_2019Parser.IsFiltered(conditions)
//
||
//
_2018Parser.IsFiltered(conditions)
//
;
}
else
{
//
result =
//
_2024Parser.IsFiltered(conditions)
//
||
//
_2023Parser.IsFiltered(conditions)
//
||
//
_2022Parser.IsFiltered(conditions)
//
||
//
_2021Parser.IsFiltered(conditions)
//
||
//
_2020Parser.IsFiltered(conditions)
//
||
//
_2019Parser.IsFiltered(conditions)
//
||
//
_2018Parser.IsFiltered(conditions)
//
||
//
_oldsParser.IsFiltered(conditions)
//
;
}
//
return result;
}
};
//
@@ -1,141 +0,0 @@
///////////////////////////////////////////////////////
//
// SaherElm IT Center MQL5 Strategy Parser Library
// ------------------------------------------------
// Name: XCHICHWapStartegyConditionsParser
// Description: provide all conditions parsing
// for XCH Strategy ...
//
//
// Maintainer:
// ------------
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
//
//////////////////////////////////////////////////////
//
// Global Properties ...
#property library
#property copyright "Copyright 2023, SaherElm IT Center"
#property link "https://www.saherelm.ir"
#property version "1.00"
#property strict
//
// Imports ...
#include "../../../Strategies/x-saherelm.xch.ichwap.strategy.mq5"
//
#include "./Olds/x-saherelm.xch.ichwap.amarkets.usdcad.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.usdcad.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.usdcad.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.usdcad.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.usdcad.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.usdcad.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.usdcad.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.usdcad.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsUSDCADLongConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsUSDCADOldsLongConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsUSDCAD2018LongConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsUSDCAD2019LongConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsUSDCAD2020LongConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsUSDCAD2021LongConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsUSDCAD2022LongConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsUSDCAD2023LongConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsUSDCAD2024LongConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
bool force = true //
)
{
//
bool result = false;
//
if (!force)
{
//
result =
//
_2024Parser.IsFiltered(conditions)
//
||
//
_2023Parser.IsFiltered(conditions)
//
||
//
_2022Parser.IsFiltered(conditions)
//
||
//
_2021Parser.IsFiltered(conditions)
//
||
//
_2020Parser.IsFiltered(conditions)
//
||
//
_2019Parser.IsFiltered(conditions)
//
||
//
_2018Parser.IsFiltered(conditions)
//
;
}
else
{
//
result =
//
_2024Parser.IsFiltered(conditions)
//
||
//
_2023Parser.IsFiltered(conditions)
//
||
//
_2022Parser.IsFiltered(conditions)
//
||
//
_2021Parser.IsFiltered(conditions)
//
||
//
_2020Parser.IsFiltered(conditions)
//
||
//
_2019Parser.IsFiltered(conditions)
//
||
//
_2018Parser.IsFiltered(conditions)
//
||
//
_oldsParser.IsFiltered(conditions)
//
;
}
//
return result;
}
};
//
@@ -1,141 +0,0 @@
///////////////////////////////////////////////////////
//
// SaherElm IT Center MQL5 Strategy Parser Library
// ------------------------------------------------
// Name: XCHICHWapStartegyConditionsParser
// Description: provide all conditions parsing
// for XCH Strategy ...
//
//
// Maintainer:
// ------------
// Hadi Khazaee Asl (hadi_khazaee_asl@yahoo.com)
//
//////////////////////////////////////////////////////
//
// Global Properties ...
#property library
#property copyright "Copyright 2023, SaherElm IT Center"
#property link "https://www.saherelm.ir"
#property version "1.00"
#property strict
//
// Imports ...
#include "../../../Strategies/x-saherelm.xch.ichwap.strategy.mq5"
//
#include "./Olds/x-saherelm.xch.ichwap.amarkets.usdcad.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.usdcad.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.usdcad.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.usdcad.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.usdcad.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.usdcad.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.usdcad.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.usdcad.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsUSDCADShortConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsUSDCADOldsShortConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsUSDCAD2018ShortConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsUSDCAD2019ShortConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsUSDCAD2020ShortConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsUSDCAD2021ShortConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsUSDCAD2022ShortConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsUSDCAD2023ShortConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsUSDCAD2024ShortConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
bool force = true //
)
{
//
bool result = false;
//
if (!force)
{
//
result =
//
_2024Parser.IsFiltered(conditions)
//
||
//
_2023Parser.IsFiltered(conditions)
//
||
//
_2022Parser.IsFiltered(conditions)
//
||
//
_2021Parser.IsFiltered(conditions)
//
||
//
_2020Parser.IsFiltered(conditions)
//
||
//
_2019Parser.IsFiltered(conditions)
//
||
//
_2018Parser.IsFiltered(conditions)
//
;
}
else
{
//
result =
//
_2024Parser.IsFiltered(conditions)
//
||
//
_2023Parser.IsFiltered(conditions)
//
||
//
_2022Parser.IsFiltered(conditions)
//
||
//
_2021Parser.IsFiltered(conditions)
//
||
//
_2020Parser.IsFiltered(conditions)
//
||
//
_2019Parser.IsFiltered(conditions)
//
||
//
_2018Parser.IsFiltered(conditions)
//
||
//
_oldsParser.IsFiltered(conditions)
//
;
}
//
return result;
}
};
//