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 XCHStartegyAMarketsNZDUSD2018LongConditionsParser
struct X121StartegyAMarketsNZDUSD2018LongConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2018ShortConditionsParser
struct X121StartegyAMarketsNZDUSD2018ShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsNZDUSD2018LongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsNZDUSD2018ShortConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2019LongConditionsParser
struct X121StartegyAMarketsNZDUSD2019LongConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2019ShortConditionsParser
struct X121StartegyAMarketsNZDUSD2019ShortConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2020LongConditionsParser
struct X121StartegyAMarketsNZDUSD2020LongConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2020ShortConditionsParser
struct X121StartegyAMarketsNZDUSD2020ShortConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2021LongConditionsParser
struct X121StartegyAMarketsNZDUSD2021LongConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2021ShortConditionsParser
struct X121StartegyAMarketsNZDUSD2021ShortConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2022LongConditionsParser
struct X121StartegyAMarketsNZDUSD2022LongConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2022ShortConditionsParser
struct X121StartegyAMarketsNZDUSD2022ShortConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2023LongConditionsParser
struct X121StartegyAMarketsNZDUSD2023LongConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2023ShortConditionsParser
struct X121StartegyAMarketsNZDUSD2023ShortConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2024LongConditionsParser
struct X121StartegyAMarketsNZDUSD2024LongConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSD2024ShortConditionsParser
struct X121StartegyAMarketsNZDUSD2024ShortConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSDOldsLongConditionsParser
struct X121StartegyAMarketsNZDUSDOldsLongConditionsParser
{
//
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 XCHStartegyAMarketsNZDUSDOldsShortConditionsParser
struct X121StartegyAMarketsNZDUSDOldsShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsNZDUSDOldsLongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsNZDUSDOldsShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsNZDUSDLongConditionsParser
struct X121StartegyAMarketsNZDUSDLongConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsNZDUSDOldsLongConditionsParser _oldsParser;
XCHStartegyAMarketsNZDUSD2018LongConditionsParser _2018Parser;
XCHStartegyAMarketsNZDUSD2019LongConditionsParser _2019Parser;
XCHStartegyAMarketsNZDUSD2020LongConditionsParser _2020Parser;
XCHStartegyAMarketsNZDUSD2021LongConditionsParser _2021Parser;
XCHStartegyAMarketsNZDUSD2022LongConditionsParser _2022Parser;
XCHStartegyAMarketsNZDUSD2023LongConditionsParser _2023Parser;
XCHStartegyAMarketsNZDUSD2024LongConditionsParser _2024Parser;
X121StartegyAMarketsNZDUSDOldsLongConditionsParser _oldsParser;
X121StartegyAMarketsNZDUSD2018LongConditionsParser _2018Parser;
X121StartegyAMarketsNZDUSD2019LongConditionsParser _2019Parser;
X121StartegyAMarketsNZDUSD2020LongConditionsParser _2020Parser;
X121StartegyAMarketsNZDUSD2021LongConditionsParser _2021Parser;
X121StartegyAMarketsNZDUSD2022LongConditionsParser _2022Parser;
X121StartegyAMarketsNZDUSD2023LongConditionsParser _2023Parser;
X121StartegyAMarketsNZDUSD2024LongConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
X121StrategyConditions &conditions,
bool force = true //
)
{
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsNZDUSDShortConditionsParser
struct X121StartegyAMarketsNZDUSDShortConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsNZDUSDOldsShortConditionsParser _oldsParser;
XCHStartegyAMarketsNZDUSD2018ShortConditionsParser _2018Parser;
XCHStartegyAMarketsNZDUSD2019ShortConditionsParser _2019Parser;
XCHStartegyAMarketsNZDUSD2020ShortConditionsParser _2020Parser;
XCHStartegyAMarketsNZDUSD2021ShortConditionsParser _2021Parser;
XCHStartegyAMarketsNZDUSD2022ShortConditionsParser _2022Parser;
XCHStartegyAMarketsNZDUSD2023ShortConditionsParser _2023Parser;
XCHStartegyAMarketsNZDUSD2024ShortConditionsParser _2024Parser;
X121StartegyAMarketsNZDUSDOldsShortConditionsParser _oldsParser;
X121StartegyAMarketsNZDUSD2018ShortConditionsParser _2018Parser;
X121StartegyAMarketsNZDUSD2019ShortConditionsParser _2019Parser;
X121StartegyAMarketsNZDUSD2020ShortConditionsParser _2020Parser;
X121StartegyAMarketsNZDUSD2021ShortConditionsParser _2021Parser;
X121StartegyAMarketsNZDUSD2022ShortConditionsParser _2022Parser;
X121StartegyAMarketsNZDUSD2023ShortConditionsParser _2023Parser;
X121StartegyAMarketsNZDUSD2024ShortConditionsParser _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.nzdusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.nzdusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.nzdusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.nzdusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.nzdusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.nzdusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.nzdusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.nzdusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsNZDUSDLongConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsNZDUSDOldsLongConditionsParser _oldsParser;
XCHCHEStartegyAMarketsNZDUSD2018LongConditionsParser _2018Parser;
XCHCHEStartegyAMarketsNZDUSD2019LongConditionsParser _2019Parser;
XCHCHEStartegyAMarketsNZDUSD2020LongConditionsParser _2020Parser;
XCHCHEStartegyAMarketsNZDUSD2021LongConditionsParser _2021Parser;
XCHCHEStartegyAMarketsNZDUSD2022LongConditionsParser _2022Parser;
XCHCHEStartegyAMarketsNZDUSD2023LongConditionsParser _2023Parser;
XCHCHEStartegyAMarketsNZDUSD2024LongConditionsParser _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.nzdusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.nzdusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.nzdusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.nzdusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.nzdusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.nzdusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.nzdusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.nzdusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsNZDUSDShortConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsNZDUSDOldsShortConditionsParser _oldsParser;
XCHCHEStartegyAMarketsNZDUSD2018ShortConditionsParser _2018Parser;
XCHCHEStartegyAMarketsNZDUSD2019ShortConditionsParser _2019Parser;
XCHCHEStartegyAMarketsNZDUSD2020ShortConditionsParser _2020Parser;
XCHCHEStartegyAMarketsNZDUSD2021ShortConditionsParser _2021Parser;
XCHCHEStartegyAMarketsNZDUSD2022ShortConditionsParser _2022Parser;
XCHCHEStartegyAMarketsNZDUSD2023ShortConditionsParser _2023Parser;
XCHCHEStartegyAMarketsNZDUSD2024ShortConditionsParser _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.nzdusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.nzdusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.nzdusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.nzdusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.nzdusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.nzdusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.nzdusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.nzdusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsNZDUSDLongConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsNZDUSDOldsLongConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsNZDUSD2018LongConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsNZDUSD2019LongConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsNZDUSD2020LongConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsNZDUSD2021LongConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsNZDUSD2022LongConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsNZDUSD2023LongConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsNZDUSD2024LongConditionsParser _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.nzdusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.nzdusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.nzdusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.nzdusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.nzdusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.nzdusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.nzdusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.nzdusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsNZDUSDShortConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsNZDUSDOldsShortConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsNZDUSD2018ShortConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsNZDUSD2019ShortConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsNZDUSD2020ShortConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsNZDUSD2021ShortConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsNZDUSD2022ShortConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsNZDUSD2023ShortConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsNZDUSD2024ShortConditionsParser _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;
}
};
//