Full Backup of X121 V0.1 Source Code ...
This commit is contained in:
+2060
File diff suppressed because it is too large
Load Diff
+1447
File diff suppressed because it is too large
Load Diff
+2822
File diff suppressed because it is too large
Load Diff
+2778
File diff suppressed because it is too large
Load Diff
+1903
File diff suppressed because it is too large
Load Diff
+2817
File diff suppressed because it is too large
Load Diff
+2594
File diff suppressed because it is too large
Load Diff
+1723
File diff suppressed because it is too large
Load Diff
+1867
File diff suppressed because it is too large
Load Diff
+1055
File diff suppressed because it is too large
Load Diff
+2907
File diff suppressed because it is too large
Load Diff
+3858
File diff suppressed because it is too large
Load Diff
+2460
File diff suppressed because it is too large
Load Diff
+1262
File diff suppressed because it is too large
Load Diff
+4542
File diff suppressed because it is too large
Load Diff
+3434
File diff suppressed because it is too large
Load Diff
+1584
File diff suppressed because it is too large
Load Diff
+3963
File diff suppressed because it is too large
Load Diff
+2784
File diff suppressed because it is too large
Load Diff
+4926
File diff suppressed because it is too large
Load Diff
+3965
File diff suppressed because it is too large
Load Diff
+1513
File diff suppressed because it is too large
Load Diff
+4790
File diff suppressed because it is too large
Load Diff
+3540
File diff suppressed because it is too large
Load Diff
+2065
File diff suppressed because it is too large
Load Diff
+1626
File diff suppressed because it is too large
Load Diff
+2669
File diff suppressed because it is too large
Load Diff
+2148
File diff suppressed because it is too large
Load Diff
+4012
File diff suppressed because it is too large
Load Diff
+7353
File diff suppressed because it is too large
Load Diff
+10554
File diff suppressed because it is too large
Load Diff
+8430
File diff suppressed because it is too large
Load Diff
+141
@@ -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.gbpusd.olds.long.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.amarkets.gbpusd.2018.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.gbpusd.2019.long.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.amarkets.gbpusd.2020.long.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.amarkets.gbpusd.2021.long.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.amarkets.gbpusd.2022.long.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.amarkets.gbpusd.2023.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.gbpusd.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHStartegyAMarketsGBPUSDLongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHStartegyAMarketsGBPUSDOldsLongConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsGBPUSD2018LongConditionsParser _2018Parser;
|
||||
XCHStartegyAMarketsGBPUSD2019LongConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsGBPUSD2020LongConditionsParser _2020Parser;
|
||||
XCHStartegyAMarketsGBPUSD2021LongConditionsParser _2021Parser;
|
||||
XCHStartegyAMarketsGBPUSD2022LongConditionsParser _2022Parser;
|
||||
XCHStartegyAMarketsGBPUSD2023LongConditionsParser _2023Parser;
|
||||
XCHStartegyAMarketsGBPUSD2024LongConditionsParser _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;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
+141
@@ -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.gbpusd.olds.short.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.amarkets.gbpusd.2018.short.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.gbpusd.2019.short.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.amarkets.gbpusd.2020.short.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.amarkets.gbpusd.2021.short.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.amarkets.gbpusd.2022.short.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.amarkets.gbpusd.2023.short.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.gbpusd.2024.short.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHStartegyAMarketsGBPUSDShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHStartegyAMarketsGBPUSDOldsShortConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsGBPUSD2018ShortConditionsParser _2018Parser;
|
||||
XCHStartegyAMarketsGBPUSD2019ShortConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsGBPUSD2020ShortConditionsParser _2020Parser;
|
||||
XCHStartegyAMarketsGBPUSD2021ShortConditionsParser _2021Parser;
|
||||
XCHStartegyAMarketsGBPUSD2022ShortConditionsParser _2022Parser;
|
||||
XCHStartegyAMarketsGBPUSD2023ShortConditionsParser _2023Parser;
|
||||
XCHStartegyAMarketsGBPUSD2024ShortConditionsParser _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;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
+141
@@ -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.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;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
+141
@@ -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.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;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
Reference in New Issue
Block a user