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 XCHStartegyAMarketsEURUSD2018LongConditionsParser
struct X121StartegyAMarketsEURUSD2018LongConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2018ShortConditionsParser
struct X121StartegyAMarketsEURUSD2018ShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsEURUSD2018LongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsEURUSD2018ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2019LongConditionsParser
struct X121StartegyAMarketsEURUSD2019LongConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2019ShortConditionsParser
struct X121StartegyAMarketsEURUSD2019ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2020LongConditionsParser
struct X121StartegyAMarketsEURUSD2020LongConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2020ShortConditionsParser
struct X121StartegyAMarketsEURUSD2020ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2021LongConditionsParser
struct X121StartegyAMarketsEURUSD2021LongConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2021ShortConditionsParser
struct X121StartegyAMarketsEURUSD2021ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2022LongConditionsParser
struct X121StartegyAMarketsEURUSD2022LongConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2022ShortConditionsParser
struct X121StartegyAMarketsEURUSD2022ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2023LongConditionsParser
struct X121StartegyAMarketsEURUSD2023LongConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2023ShortConditionsParser
struct X121StartegyAMarketsEURUSD2023ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2024LongConditionsParser
struct X121StartegyAMarketsEURUSD2024LongConditionsParser
{
//
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 XCHStartegyAMarketsEURUSD2024ShortConditionsParser
struct X121StartegyAMarketsEURUSD2024ShortConditionsParser
{
//
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 XCHStartegyAMarketsEURUSDOldsLongConditionsParser
struct X121StartegyAMarketsEURUSDOldsLongConditionsParser
{
//
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 XCHStartegyAMarketsEURUSDOldsShortConditionsParser
struct X121StartegyAMarketsEURUSDOldsShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsEURUSDOldsLongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsEURUSDOldsShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsEURUSDLongConditionsParser
struct X121StartegyAMarketsEURUSDLongConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsEURUSDOldsLongConditionsParser _oldsParser;
XCHStartegyAMarketsEURUSD2018LongConditionsParser _2018Parser;
XCHStartegyAMarketsEURUSD2019LongConditionsParser _2019Parser;
XCHStartegyAMarketsEURUSD2020LongConditionsParser _2020Parser;
XCHStartegyAMarketsEURUSD2021LongConditionsParser _2021Parser;
XCHStartegyAMarketsEURUSD2022LongConditionsParser _2022Parser;
XCHStartegyAMarketsEURUSD2023LongConditionsParser _2023Parser;
XCHStartegyAMarketsEURUSD2024LongConditionsParser _2024Parser;
X121StartegyAMarketsEURUSDOldsLongConditionsParser _oldsParser;
X121StartegyAMarketsEURUSD2018LongConditionsParser _2018Parser;
X121StartegyAMarketsEURUSD2019LongConditionsParser _2019Parser;
X121StartegyAMarketsEURUSD2020LongConditionsParser _2020Parser;
X121StartegyAMarketsEURUSD2021LongConditionsParser _2021Parser;
X121StartegyAMarketsEURUSD2022LongConditionsParser _2022Parser;
X121StartegyAMarketsEURUSD2023LongConditionsParser _2023Parser;
X121StartegyAMarketsEURUSD2024LongConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
X121StrategyConditions &conditions,
bool force = true //
)
{
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsEURUSDShortConditionsParser
struct X121StartegyAMarketsEURUSDShortConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsEURUSDOldsShortConditionsParser _oldsParser;
XCHStartegyAMarketsEURUSD2018ShortConditionsParser _2018Parser;
XCHStartegyAMarketsEURUSD2019ShortConditionsParser _2019Parser;
XCHStartegyAMarketsEURUSD2020ShortConditionsParser _2020Parser;
XCHStartegyAMarketsEURUSD2021ShortConditionsParser _2021Parser;
XCHStartegyAMarketsEURUSD2022ShortConditionsParser _2022Parser;
XCHStartegyAMarketsEURUSD2023ShortConditionsParser _2023Parser;
XCHStartegyAMarketsEURUSD2024ShortConditionsParser _2024Parser;
X121StartegyAMarketsEURUSDOldsShortConditionsParser _oldsParser;
X121StartegyAMarketsEURUSD2018ShortConditionsParser _2018Parser;
X121StartegyAMarketsEURUSD2019ShortConditionsParser _2019Parser;
X121StartegyAMarketsEURUSD2020ShortConditionsParser _2020Parser;
X121StartegyAMarketsEURUSD2021ShortConditionsParser _2021Parser;
X121StartegyAMarketsEURUSD2022ShortConditionsParser _2022Parser;
X121StartegyAMarketsEURUSD2023ShortConditionsParser _2023Parser;
X121StartegyAMarketsEURUSD2024ShortConditionsParser _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.eurusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.eurusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.eurusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.eurusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.eurusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.eurusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.eurusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.eurusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsEURUSDLongConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsEURUSDOldsLongConditionsParser _oldsParser;
XCHCHEStartegyAMarketsEURUSD2018LongConditionsParser _2018Parser;
XCHCHEStartegyAMarketsEURUSD2019LongConditionsParser _2019Parser;
XCHCHEStartegyAMarketsEURUSD2020LongConditionsParser _2020Parser;
XCHCHEStartegyAMarketsEURUSD2021LongConditionsParser _2021Parser;
XCHCHEStartegyAMarketsEURUSD2022LongConditionsParser _2022Parser;
XCHCHEStartegyAMarketsEURUSD2023LongConditionsParser _2023Parser;
XCHCHEStartegyAMarketsEURUSD2024LongConditionsParser _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.eurusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.eurusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.eurusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.eurusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.eurusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.eurusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.eurusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.eurusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsEURUSDShortConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsEURUSDOldsShortConditionsParser _oldsParser;
XCHCHEStartegyAMarketsEURUSD2018ShortConditionsParser _2018Parser;
XCHCHEStartegyAMarketsEURUSD2019ShortConditionsParser _2019Parser;
XCHCHEStartegyAMarketsEURUSD2020ShortConditionsParser _2020Parser;
XCHCHEStartegyAMarketsEURUSD2021ShortConditionsParser _2021Parser;
XCHCHEStartegyAMarketsEURUSD2022ShortConditionsParser _2022Parser;
XCHCHEStartegyAMarketsEURUSD2023ShortConditionsParser _2023Parser;
XCHCHEStartegyAMarketsEURUSD2024ShortConditionsParser _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.eurusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.eurusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.eurusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.eurusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.eurusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.eurusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.eurusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.eurusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsEURUSDLongConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsEURUSDOldsLongConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsEURUSD2018LongConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsEURUSD2019LongConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsEURUSD2020LongConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsEURUSD2021LongConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsEURUSD2022LongConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsEURUSD2023LongConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsEURUSD2024LongConditionsParser _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.eurusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.eurusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.eurusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.eurusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.eurusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.eurusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.eurusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.eurusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsEURUSDShortConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsEURUSDOldsShortConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsEURUSD2018ShortConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsEURUSD2019ShortConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsEURUSD2020ShortConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsEURUSD2021ShortConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsEURUSD2022ShortConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsEURUSD2023ShortConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsEURUSD2024ShortConditionsParser _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;
}
};
//