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 XCHStartegyAMarketsEURGBP2018LongConditionsParser
struct X121StartegyAMarketsEURGBP2018LongConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2018ShortConditionsParser
struct X121StartegyAMarketsEURGBP2018ShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsEURGBP2018LongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsEURGBP2018ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2019LongConditionsParser
struct X121StartegyAMarketsEURGBP2019LongConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2019ShortConditionsParser
struct X121StartegyAMarketsEURGBP2019ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2020LongConditionsParser
struct X121StartegyAMarketsEURGBP2020LongConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2020ShortConditionsParser
struct X121StartegyAMarketsEURGBP2020ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2021LongConditionsParser
struct X121StartegyAMarketsEURGBP2021LongConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2021ShortConditionsParser
struct X121StartegyAMarketsEURGBP2021ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2022LongConditionsParser
struct X121StartegyAMarketsEURGBP2022LongConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2022ShortConditionsParser
struct X121StartegyAMarketsEURGBP2022ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2023LongConditionsParser
struct X121StartegyAMarketsEURGBP2023LongConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2023ShortConditionsParser
struct X121StartegyAMarketsEURGBP2023ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2024LongConditionsParser
struct X121StartegyAMarketsEURGBP2024LongConditionsParser
{
//
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 XCHStartegyAMarketsEURGBP2024ShortConditionsParser
struct X121StartegyAMarketsEURGBP2024ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURGBPOldsLongConditionsParser
struct X121StartegyAMarketsEURGBPOldsLongConditionsParser
{
//
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 XCHStartegyAMarketsEURGBPOldsShortConditionsParser
struct X121StartegyAMarketsEURGBPOldsShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsEURGBPOldsLongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsEURGBPOldsShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsEURGBPLongConditionsParser
struct X121StartegyAMarketsEURGBPLongConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsEURGBPOldsLongConditionsParser _oldsParser;
XCHStartegyAMarketsEURGBP2018LongConditionsParser _2018Parser;
XCHStartegyAMarketsEURGBP2019LongConditionsParser _2019Parser;
XCHStartegyAMarketsEURGBP2020LongConditionsParser _2020Parser;
XCHStartegyAMarketsEURGBP2021LongConditionsParser _2021Parser;
XCHStartegyAMarketsEURGBP2022LongConditionsParser _2022Parser;
XCHStartegyAMarketsEURGBP2023LongConditionsParser _2023Parser;
XCHStartegyAMarketsEURGBP2024LongConditionsParser _2024Parser;
X121StartegyAMarketsEURGBPOldsLongConditionsParser _oldsParser;
X121StartegyAMarketsEURGBP2018LongConditionsParser _2018Parser;
X121StartegyAMarketsEURGBP2019LongConditionsParser _2019Parser;
X121StartegyAMarketsEURGBP2020LongConditionsParser _2020Parser;
X121StartegyAMarketsEURGBP2021LongConditionsParser _2021Parser;
X121StartegyAMarketsEURGBP2022LongConditionsParser _2022Parser;
X121StartegyAMarketsEURGBP2023LongConditionsParser _2023Parser;
X121StartegyAMarketsEURGBP2024LongConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
X121StrategyConditions &conditions,
bool force = true //
)
{
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsEURGBPShortConditionsParser
struct X121StartegyAMarketsEURGBPShortConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsEURGBPOldsShortConditionsParser _oldsParser;
XCHStartegyAMarketsEURGBP2018ShortConditionsParser _2018Parser;
XCHStartegyAMarketsEURGBP2019ShortConditionsParser _2019Parser;
XCHStartegyAMarketsEURGBP2020ShortConditionsParser _2020Parser;
XCHStartegyAMarketsEURGBP2021ShortConditionsParser _2021Parser;
XCHStartegyAMarketsEURGBP2022ShortConditionsParser _2022Parser;
XCHStartegyAMarketsEURGBP2023ShortConditionsParser _2023Parser;
XCHStartegyAMarketsEURGBP2024ShortConditionsParser _2024Parser;
X121StartegyAMarketsEURGBPOldsShortConditionsParser _oldsParser;
X121StartegyAMarketsEURGBP2018ShortConditionsParser _2018Parser;
X121StartegyAMarketsEURGBP2019ShortConditionsParser _2019Parser;
X121StartegyAMarketsEURGBP2020ShortConditionsParser _2020Parser;
X121StartegyAMarketsEURGBP2021ShortConditionsParser _2021Parser;
X121StartegyAMarketsEURGBP2022ShortConditionsParser _2022Parser;
X121StartegyAMarketsEURGBP2023ShortConditionsParser _2023Parser;
X121StartegyAMarketsEURGBP2024ShortConditionsParser _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.eurgbp.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.eurgbp.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.eurgbp.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.eurgbp.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.eurgbp.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.eurgbp.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.eurgbp.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.eurgbp.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsEURGBPLongConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsEURGBPOldsLongConditionsParser _oldsParser;
XCHCHEStartegyAMarketsEURGBP2018LongConditionsParser _2018Parser;
XCHCHEStartegyAMarketsEURGBP2019LongConditionsParser _2019Parser;
XCHCHEStartegyAMarketsEURGBP2020LongConditionsParser _2020Parser;
XCHCHEStartegyAMarketsEURGBP2021LongConditionsParser _2021Parser;
XCHCHEStartegyAMarketsEURGBP2022LongConditionsParser _2022Parser;
XCHCHEStartegyAMarketsEURGBP2023LongConditionsParser _2023Parser;
XCHCHEStartegyAMarketsEURGBP2024LongConditionsParser _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.eurgbp.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.eurgbp.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.eurgbp.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.eurgbp.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.eurgbp.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.eurgbp.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.eurgbp.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.eurgbp.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsEURGBPShortConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsEURGBPOldsShortConditionsParser _oldsParser;
XCHCHEStartegyAMarketsEURGBP2018ShortConditionsParser _2018Parser;
XCHCHEStartegyAMarketsEURGBP2019ShortConditionsParser _2019Parser;
XCHCHEStartegyAMarketsEURGBP2020ShortConditionsParser _2020Parser;
XCHCHEStartegyAMarketsEURGBP2021ShortConditionsParser _2021Parser;
XCHCHEStartegyAMarketsEURGBP2022ShortConditionsParser _2022Parser;
XCHCHEStartegyAMarketsEURGBP2023ShortConditionsParser _2023Parser;
XCHCHEStartegyAMarketsEURGBP2024ShortConditionsParser _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.eurgbp.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.eurgbp.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.eurgbp.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.eurgbp.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.eurgbp.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.eurgbp.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.eurgbp.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.eurgbp.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsEURGBPLongConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsEURGBPOldsLongConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsEURGBP2018LongConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsEURGBP2019LongConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsEURGBP2020LongConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsEURGBP2021LongConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsEURGBP2022LongConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsEURGBP2023LongConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsEURGBP2024LongConditionsParser _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.eurgbp.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.eurgbp.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.eurgbp.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.eurgbp.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.eurgbp.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.eurgbp.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.eurgbp.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.eurgbp.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsEURGBPShortConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsEURGBPOldsShortConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsEURGBP2018ShortConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsEURGBP2019ShortConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsEURGBP2020ShortConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsEURGBP2021ShortConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsEURGBP2022ShortConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsEURGBP2023ShortConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsEURGBP2024ShortConditionsParser _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;
}
};
//