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 XCHStartegyAMarketsAUDUSD2018LongConditionsParser
struct X121StartegyAMarketsAUDUSD2018LongConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2018ShortConditionsParser
struct X121StartegyAMarketsAUDUSD2018ShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsAUDUSD2018LongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsAUDUSD2018ShortConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2019LongConditionsParser
struct X121StartegyAMarketsAUDUSD2019LongConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2019ShortConditionsParser
struct X121StartegyAMarketsAUDUSD2019ShortConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2020LongConditionsParser
struct X121StartegyAMarketsAUDUSD2020LongConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2020ShortConditionsParser
struct X121StartegyAMarketsAUDUSD2020ShortConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2021LongConditionsParser
struct X121StartegyAMarketsAUDUSD2021LongConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2021ShortConditionsParser
struct X121StartegyAMarketsAUDUSD2021ShortConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2022LongConditionsParser
struct X121StartegyAMarketsAUDUSD2022LongConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2022ShortConditionsParser
struct X121StartegyAMarketsAUDUSD2022ShortConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2023LongConditionsParser
struct X121StartegyAMarketsAUDUSD2023LongConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2023ShortConditionsParser
struct X121StartegyAMarketsAUDUSD2023ShortConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2024LongConditionsParser
struct X121StartegyAMarketsAUDUSD2024LongConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSD2024ShortConditionsParser
struct X121StartegyAMarketsAUDUSD2024ShortConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSDOldsLongConditionsParser
struct X121StartegyAMarketsAUDUSDOldsLongConditionsParser
{
//
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 XCHStartegyAMarketsAUDUSDOldsShortConditionsParser
struct X121StartegyAMarketsAUDUSDOldsShortConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsAUDUSDOldsLongConditionsParser
{
//
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 XCHICHWAPStartegyAMarketsAUDUSDOldsShortConditionsParser
{
//
string _version;
//
bool IsFiltered(
XCHStrategyConditions &conditions //
)
{
//
bool result = false;
//
result =
//
false
//
;
//
return result;
}
};
//
@@ -22,39 +22,39 @@
//
// Imports ...
#include "../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../Strategies/x-saherelm.121.strategy.mq5"
//
#include "./Olds/x-saherelm.xch.amarkets.audusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.amarkets.audusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.amarkets.audusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.amarkets.audusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.amarkets.audusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.amarkets.audusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.amarkets.audusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.amarkets.audusd.2024.short.parser.mq5"
#include "./Olds/x-saherelm.x121.amarkets.audusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.x121.amarkets.audusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.x121.amarkets.audusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.x121.amarkets.audusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.x121.amarkets.audusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.x121.amarkets.audusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.x121.amarkets.audusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.x121.amarkets.audusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsAUDUSDShortConditionsParser
struct X121StartegyAMarketsAUDUSDLongConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsAUDUSDOldsShortConditionsParser _oldsParser;
XCHStartegyAMarketsAUDUSD2018ShortConditionsParser _2018Parser;
XCHStartegyAMarketsAUDUSD2019ShortConditionsParser _2019Parser;
XCHStartegyAMarketsAUDUSD2020ShortConditionsParser _2020Parser;
XCHStartegyAMarketsAUDUSD2021ShortConditionsParser _2021Parser;
XCHStartegyAMarketsAUDUSD2022ShortConditionsParser _2022Parser;
XCHStartegyAMarketsAUDUSD2023ShortConditionsParser _2023Parser;
XCHStartegyAMarketsAUDUSD2024ShortConditionsParser _2024Parser;
X121StartegyAMarketsAUDUSDOldsLongConditionsParser _oldsParser;
X121StartegyAMarketsAUDUSD2018LongConditionsParser _2018Parser;
X121StartegyAMarketsAUDUSD2019LongConditionsParser _2019Parser;
X121StartegyAMarketsAUDUSD2020LongConditionsParser _2020Parser;
X121StartegyAMarketsAUDUSD2021LongConditionsParser _2021Parser;
X121StartegyAMarketsAUDUSD2022LongConditionsParser _2022Parser;
X121StartegyAMarketsAUDUSD2023LongConditionsParser _2023Parser;
X121StartegyAMarketsAUDUSD2024LongConditionsParser _2024Parser;
//
bool IsFiltered(
XSignal &signal,
XCHStrategyConditions &conditions,
X121StrategyConditions &conditions,
bool force = true //
)
{
@@ -22,39 +22,39 @@
//
// Imports ...
#include "../../../Strategies/x-saherelm.xch.strategy.mq5"
#include "../../../Strategies/x-saherelm.x121.strategy.mq5"
//
#include "./Olds/x-saherelm.xch.amarkets.audusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.amarkets.audusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.amarkets.audusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.amarkets.audusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.amarkets.audusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.amarkets.audusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.amarkets.audusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.amarkets.audusd.2024.long.parser.mq5"
#include "./Olds/x-saherelm.x121.amarkets.audusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.x121.amarkets.audusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.x121.amarkets.audusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.x121.amarkets.audusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.x121.amarkets.audusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.x121.amarkets.audusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.x121.amarkets.audusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.x121.amarkets.audusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsAUDUSDLongConditionsParser
struct X121StartegyAMarketsAUDUSDShortConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsAUDUSDOldsLongConditionsParser _oldsParser;
XCHStartegyAMarketsAUDUSD2018LongConditionsParser _2018Parser;
XCHStartegyAMarketsAUDUSD2019LongConditionsParser _2019Parser;
XCHStartegyAMarketsAUDUSD2020LongConditionsParser _2020Parser;
XCHStartegyAMarketsAUDUSD2021LongConditionsParser _2021Parser;
XCHStartegyAMarketsAUDUSD2022LongConditionsParser _2022Parser;
XCHStartegyAMarketsAUDUSD2023LongConditionsParser _2023Parser;
XCHStartegyAMarketsAUDUSD2024LongConditionsParser _2024Parser;
X121StartegyAMarketsAUDUSDOldsShortConditionsParser _oldsParser;
X121StartegyAMarketsAUDUSD2018ShortConditionsParser _2018Parser;
X121StartegyAMarketsAUDUSD2019ShortConditionsParser _2019Parser;
X121StartegyAMarketsAUDUSD2020ShortConditionsParser _2020Parser;
X121StartegyAMarketsAUDUSD2021ShortConditionsParser _2021Parser;
X121StartegyAMarketsAUDUSD2022ShortConditionsParser _2022Parser;
X121StartegyAMarketsAUDUSD2023ShortConditionsParser _2023Parser;
X121StartegyAMarketsAUDUSD2024ShortConditionsParser _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.audusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.audusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.audusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.audusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.audusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.audusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.audusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.audusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsAUDUSDLongConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsAUDUSDOldsLongConditionsParser _oldsParser;
XCHCHEStartegyAMarketsAUDUSD2018LongConditionsParser _2018Parser;
XCHCHEStartegyAMarketsAUDUSD2019LongConditionsParser _2019Parser;
XCHCHEStartegyAMarketsAUDUSD2020LongConditionsParser _2020Parser;
XCHCHEStartegyAMarketsAUDUSD2021LongConditionsParser _2021Parser;
XCHCHEStartegyAMarketsAUDUSD2022LongConditionsParser _2022Parser;
XCHCHEStartegyAMarketsAUDUSD2023LongConditionsParser _2023Parser;
XCHCHEStartegyAMarketsAUDUSD2024LongConditionsParser _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,139 +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.audusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.audusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.audusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.audusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.audusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.audusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.audusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.audusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsAUDUSDShortConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsAUDUSDOldsShortConditionsParser _oldsParser;
XCHCHEStartegyAMarketsAUDUSD2018ShortConditionsParser _2018Parser;
XCHCHEStartegyAMarketsAUDUSD2019ShortConditionsParser _2019Parser;
XCHCHEStartegyAMarketsAUDUSD2020ShortConditionsParser _2020Parser;
XCHCHEStartegyAMarketsAUDUSD2021ShortConditionsParser _2021Parser;
XCHCHEStartegyAMarketsAUDUSD2022ShortConditionsParser _2022Parser;
XCHCHEStartegyAMarketsAUDUSD2023ShortConditionsParser _2023Parser;
XCHCHEStartegyAMarketsAUDUSD2024ShortConditionsParser _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.audusd.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.audusd.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.audusd.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.audusd.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.audusd.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.audusd.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.audusd.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.audusd.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsAUDUSDLongConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsAUDUSDOldsLongConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsAUDUSD2018LongConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsAUDUSD2019LongConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsAUDUSD2020LongConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsAUDUSD2021LongConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsAUDUSD2022LongConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsAUDUSD2023LongConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsAUDUSD2024LongConditionsParser _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,139 +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.audusd.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.ichwap.amarkets.audusd.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.ichwap.amarkets.audusd.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.ichwap.amarkets.audusd.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.ichwap.amarkets.audusd.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.ichwap.amarkets.audusd.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.ichwap.amarkets.audusd.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.ichwap.amarkets.audusd.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHICHWAPStartegyAMarketsAUDUSDShortConditionsParser
{
//
string _version;
//
XCHICHWAPStartegyAMarketsAUDUSDOldsShortConditionsParser _oldsParser;
XCHICHWAPStartegyAMarketsAUDUSD2018ShortConditionsParser _2018Parser;
XCHICHWAPStartegyAMarketsAUDUSD2019ShortConditionsParser _2019Parser;
XCHICHWAPStartegyAMarketsAUDUSD2020ShortConditionsParser _2020Parser;
XCHICHWAPStartegyAMarketsAUDUSD2021ShortConditionsParser _2021Parser;
XCHICHWAPStartegyAMarketsAUDUSD2022ShortConditionsParser _2022Parser;
XCHICHWAPStartegyAMarketsAUDUSD2023ShortConditionsParser _2023Parser;
XCHICHWAPStartegyAMarketsAUDUSD2024ShortConditionsParser _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;
}
};
//