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 XCHStartegyAMarketsGBPUSD2018LongConditionsParser
struct X121StartegyAMarketsGBPUSD2018LongConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2018ShortConditionsParser
struct X121StartegyAMarketsGBPUSD2018ShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsGBPUSD2018LongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsGBPUSD2018ShortConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2019LongConditionsParser
struct X121StartegyAMarketsGBPUSD2019LongConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2019ShortConditionsParser
struct X121StartegyAMarketsGBPUSD2019ShortConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2020LongConditionsParser
struct X121StartegyAMarketsGBPUSD2020LongConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2020ShortConditionsParser
struct X121StartegyAMarketsGBPUSD2020ShortConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2021LongConditionsParser
struct X121StartegyAMarketsGBPUSD2021LongConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2021ShortConditionsParser
struct X121StartegyAMarketsGBPUSD2021ShortConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2022LongConditionsParser
struct X121StartegyAMarketsGBPUSD2022LongConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2022ShortConditionsParser
struct X121StartegyAMarketsGBPUSD2022ShortConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2023LongConditionsParser
struct X121StartegyAMarketsGBPUSD2023LongConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2023ShortConditionsParser
struct X121StartegyAMarketsGBPUSD2023ShortConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2024LongConditionsParser
struct X121StartegyAMarketsGBPUSD2024LongConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSD2024ShortConditionsParser
struct X121StartegyAMarketsGBPUSD2024ShortConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSDOldsLongConditionsParser
struct X121StartegyAMarketsGBPUSDOldsLongConditionsParser
{
//
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 XCHStartegyAMarketsGBPUSDOldsShortConditionsParser
struct X121StartegyAMarketsGBPUSDOldsShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsGBPUSDOldsLongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsGBPUSDOldsShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsGBPUSDLongConditionsParser
struct X121StartegyAMarketsGBPUSDLongConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsGBPUSDOldsLongConditionsParser _oldsParser;
XCHStartegyAMarketsGBPUSD2018LongConditionsParser _2018Parser;
XCHStartegyAMarketsGBPUSD2019LongConditionsParser _2019Parser;
XCHStartegyAMarketsGBPUSD2020LongConditionsParser _2020Parser;
XCHStartegyAMarketsGBPUSD2021LongConditionsParser _2021Parser;
XCHStartegyAMarketsGBPUSD2022LongConditionsParser _2022Parser;
XCHStartegyAMarketsGBPUSD2023LongConditionsParser _2023Parser;
XCHStartegyAMarketsGBPUSD2024LongConditionsParser _2024Parser;
X121StartegyAMarketsGBPUSDOldsLongConditionsParser _oldsParser;
X121StartegyAMarketsGBPUSD2018LongConditionsParser _2018Parser;
X121StartegyAMarketsGBPUSD2019LongConditionsParser _2019Parser;
X121StartegyAMarketsGBPUSD2020LongConditionsParser _2020Parser;
X121StartegyAMarketsGBPUSD2021LongConditionsParser _2021Parser;
X121StartegyAMarketsGBPUSD2022LongConditionsParser _2022Parser;
X121StartegyAMarketsGBPUSD2023LongConditionsParser _2023Parser;
X121StartegyAMarketsGBPUSD2024LongConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
X121StrategyConditions &conditions,
bool force = true //
)
{
@@ -36,25 +36,25 @@
//
// Conditions Parser ...
struct XCHStartegyAMarketsGBPUSDShortConditionsParser
struct X121StartegyAMarketsGBPUSDShortConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsGBPUSDOldsShortConditionsParser _oldsParser;
XCHStartegyAMarketsGBPUSD2018ShortConditionsParser _2018Parser;
XCHStartegyAMarketsGBPUSD2019ShortConditionsParser _2019Parser;
XCHStartegyAMarketsGBPUSD2020ShortConditionsParser _2020Parser;
XCHStartegyAMarketsGBPUSD2021ShortConditionsParser _2021Parser;
XCHStartegyAMarketsGBPUSD2022ShortConditionsParser _2022Parser;
XCHStartegyAMarketsGBPUSD2023ShortConditionsParser _2023Parser;
XCHStartegyAMarketsGBPUSD2024ShortConditionsParser _2024Parser;
X121StartegyAMarketsGBPUSDOldsShortConditionsParser _oldsParser;
X121StartegyAMarketsGBPUSD2018ShortConditionsParser _2018Parser;
X121StartegyAMarketsGBPUSD2019ShortConditionsParser _2019Parser;
X121StartegyAMarketsGBPUSD2020ShortConditionsParser _2020Parser;
X121StartegyAMarketsGBPUSD2021ShortConditionsParser _2021Parser;
X121StartegyAMarketsGBPUSD2022ShortConditionsParser _2022Parser;
X121StartegyAMarketsGBPUSD2023ShortConditionsParser _2023Parser;
X121StartegyAMarketsGBPUSD2024ShortConditionsParser _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.gbpusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.gbpusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.gbpusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.gbpusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.gbpusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.gbpusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.gbpusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.gbpusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsGBPUSDLongConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsGBPUSDOldsLongConditionsParser _oldsParser;
XCHCHEStartegyAMarketsGBPUSD2018LongConditionsParser _2018Parser;
XCHCHEStartegyAMarketsGBPUSD2019LongConditionsParser _2019Parser;
XCHCHEStartegyAMarketsGBPUSD2020LongConditionsParser _2020Parser;
XCHCHEStartegyAMarketsGBPUSD2021LongConditionsParser _2021Parser;
XCHCHEStartegyAMarketsGBPUSD2022LongConditionsParser _2022Parser;
XCHCHEStartegyAMarketsGBPUSD2023LongConditionsParser _2023Parser;
XCHCHEStartegyAMarketsGBPUSD2024LongConditionsParser _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.gbpusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.gbpusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.gbpusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.gbpusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.gbpusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.gbpusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.gbpusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.gbpusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsGBPUSDShortConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsGBPUSDOldsShortConditionsParser _oldsParser;
XCHCHEStartegyAMarketsGBPUSD2018ShortConditionsParser _2018Parser;
XCHCHEStartegyAMarketsGBPUSD2019ShortConditionsParser _2019Parser;
XCHCHEStartegyAMarketsGBPUSD2020ShortConditionsParser _2020Parser;
XCHCHEStartegyAMarketsGBPUSD2021ShortConditionsParser _2021Parser;
XCHCHEStartegyAMarketsGBPUSD2022ShortConditionsParser _2022Parser;
XCHCHEStartegyAMarketsGBPUSD2023ShortConditionsParser _2023Parser;
XCHCHEStartegyAMarketsGBPUSD2024ShortConditionsParser _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.gbpusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.gbpusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.gbpusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.gbpusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.gbpusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.gbpusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.gbpusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.gbpusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsGBPUSDLongConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsGBPUSDOldsLongConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsGBPUSD2018LongConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsGBPUSD2019LongConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsGBPUSD2020LongConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsGBPUSD2021LongConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsGBPUSD2022LongConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsGBPUSD2023LongConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsGBPUSD2024LongConditionsParser _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.gbpusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.gbpusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.gbpusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.gbpusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.gbpusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.gbpusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.gbpusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.gbpusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsGBPUSDShortConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsGBPUSDOldsShortConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsGBPUSD2018ShortConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsGBPUSD2019ShortConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsGBPUSD2020ShortConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsGBPUSD2021ShortConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsGBPUSD2022ShortConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsGBPUSD2023ShortConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsGBPUSD2024ShortConditionsParser _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;
}
};
//