Full Backup of X121 V0.1 Source Code ...

This commit is contained in:
2024-09-16 04:20:52 +03:30
parent 3800004035
commit f2923ce6c0
3277 changed files with 3316029 additions and 0 deletions
@@ -0,0 +1,141 @@
///////////////////////////////////////////////////////
//
// 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.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"
//
// Conditions Parser ...
struct XCHStartegyAMarketsAUDUSDLongConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsAUDUSDOldsLongConditionsParser _oldsParser;
XCHStartegyAMarketsAUDUSD2018LongConditionsParser _2018Parser;
XCHStartegyAMarketsAUDUSD2019LongConditionsParser _2019Parser;
XCHStartegyAMarketsAUDUSD2020LongConditionsParser _2020Parser;
XCHStartegyAMarketsAUDUSD2021LongConditionsParser _2021Parser;
XCHStartegyAMarketsAUDUSD2022LongConditionsParser _2022Parser;
XCHStartegyAMarketsAUDUSD2023LongConditionsParser _2023Parser;
XCHStartegyAMarketsAUDUSD2024LongConditionsParser _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;
}
};
//
@@ -0,0 +1,141 @@
///////////////////////////////////////////////////////
//
// 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.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"
//
// Conditions Parser ...
struct XCHStartegyAMarketsAUDUSDShortConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsAUDUSDOldsShortConditionsParser _oldsParser;
XCHStartegyAMarketsAUDUSD2018ShortConditionsParser _2018Parser;
XCHStartegyAMarketsAUDUSD2019ShortConditionsParser _2019Parser;
XCHStartegyAMarketsAUDUSD2020ShortConditionsParser _2020Parser;
XCHStartegyAMarketsAUDUSD2021ShortConditionsParser _2021Parser;
XCHStartegyAMarketsAUDUSD2022ShortConditionsParser _2022Parser;
XCHStartegyAMarketsAUDUSD2023ShortConditionsParser _2023Parser;
XCHStartegyAMarketsAUDUSD2024ShortConditionsParser _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;
}
};
//
@@ -0,0 +1,141 @@
///////////////////////////////////////////////////////
//
// 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;
}
};
//
@@ -0,0 +1,139 @@
///////////////////////////////////////////////////////
//
// 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;
}
};
//