add new node js files to manage publishing processes and also backup other Markets Parsers and Delete them for improve Speed of Compilation ...
This commit is contained in:
+2426
File diff suppressed because it is too large
Load Diff
+1032
File diff suppressed because it is too large
Load Diff
+1648
File diff suppressed because it is too large
Load Diff
+1169
File diff suppressed because it is too large
Load Diff
+2059
File diff suppressed because it is too large
Load Diff
+2917
File diff suppressed because it is too large
Load Diff
+2681
File diff suppressed because it is too large
Load Diff
+1827
File diff suppressed because it is too large
Load Diff
+1795
File diff suppressed because it is too large
Load Diff
+2200
File diff suppressed because it is too large
Load Diff
+2978
File diff suppressed because it is too large
Load Diff
+1975
File diff suppressed because it is too large
Load Diff
+1794
File diff suppressed because it is too large
Load Diff
+2243
File diff suppressed because it is too large
Load Diff
+4682
File diff suppressed because it is too large
Load Diff
+3639
File diff suppressed because it is too large
Load Diff
+1966
File diff suppressed because it is too large
Load Diff
+2288
File diff suppressed because it is too large
Load Diff
+2970
File diff suppressed because it is too large
Load Diff
+3665
File diff suppressed because it is too large
Load Diff
+2269
File diff suppressed because it is too large
Load Diff
+3297
File diff suppressed because it is too large
Load Diff
+5667
File diff suppressed because it is too large
Load Diff
+2401
File diff suppressed because it is too large
Load Diff
+2553
File diff suppressed because it is too large
Load Diff
+2286
File diff suppressed because it is too large
Load Diff
+3078
File diff suppressed because it is too large
Load Diff
+2271
File diff suppressed because it is too large
Load Diff
+4831
File diff suppressed because it is too large
Load Diff
+5906
File diff suppressed because it is too large
Load Diff
+5871
File diff suppressed because it is too large
Load Diff
+4437
File diff suppressed because it is too large
Load Diff
@@ -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.xagusd.olds.long.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.amarkets.xagusd.2018.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.xagusd.2019.long.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.amarkets.xagusd.2020.long.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.amarkets.xagusd.2021.long.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.amarkets.xagusd.2022.long.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.amarkets.xagusd.2023.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.xagusd.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHStartegyAMarketsXAGUSDLongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHStartegyAMarketsXAGUSDOldsLongConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsXAGUSD2018LongConditionsParser _2018Parser;
|
||||
XCHStartegyAMarketsXAGUSD2019LongConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsXAGUSD2020LongConditionsParser _2020Parser;
|
||||
XCHStartegyAMarketsXAGUSD2021LongConditionsParser _2021Parser;
|
||||
XCHStartegyAMarketsXAGUSD2022LongConditionsParser _2022Parser;
|
||||
XCHStartegyAMarketsXAGUSD2023LongConditionsParser _2023Parser;
|
||||
XCHStartegyAMarketsXAGUSD2024LongConditionsParser _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.xagusd.olds.short.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.amarkets.xagusd.2018.short.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.amarkets.xagusd.2019.short.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.amarkets.xagusd.2020.short.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.amarkets.xagusd.2021.short.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.amarkets.xagusd.2022.short.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.amarkets.xagusd.2023.short.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.amarkets.xagusd.2024.short.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHStartegyAMarketsXAGUSDShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHStartegyAMarketsXAGUSDOldsShortConditionsParser _oldsParser;
|
||||
XCHStartegyAMarketsXAGUSD2018ShortConditionsParser _2018Parser;
|
||||
XCHStartegyAMarketsXAGUSD2019ShortConditionsParser _2019Parser;
|
||||
XCHStartegyAMarketsXAGUSD2020ShortConditionsParser _2020Parser;
|
||||
XCHStartegyAMarketsXAGUSD2021ShortConditionsParser _2021Parser;
|
||||
XCHStartegyAMarketsXAGUSD2022ShortConditionsParser _2022Parser;
|
||||
XCHStartegyAMarketsXAGUSD2023ShortConditionsParser _2023Parser;
|
||||
XCHStartegyAMarketsXAGUSD2024ShortConditionsParser _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.xagusd.olds.long.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.che.amarkets.xagusd.2018.long.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.che.amarkets.xagusd.2019.long.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.che.amarkets.xagusd.2020.long.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.che.amarkets.xagusd.2021.long.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.che.amarkets.xagusd.2022.long.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.che.amarkets.xagusd.2023.long.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.che.amarkets.xagusd.2024.long.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsXAGUSDLongConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHCHEStartegyAMarketsXAGUSDOldsLongConditionsParser _oldsParser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2018LongConditionsParser _2018Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2019LongConditionsParser _2019Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2020LongConditionsParser _2020Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2021LongConditionsParser _2021Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2022LongConditionsParser _2022Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2023LongConditionsParser _2023Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2024LongConditionsParser _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.xagusd.olds.short.parser.mq5"
|
||||
#include "./2018/x-saherelm.xch.che.amarkets.xagusd.2018.short.parser.mq5"
|
||||
#include "./2019/x-saherelm.xch.che.amarkets.xagusd.2019.short.parser.mq5"
|
||||
#include "./2020/x-saherelm.xch.che.amarkets.xagusd.2020.short.parser.mq5"
|
||||
#include "./2021/x-saherelm.xch.che.amarkets.xagusd.2021.short.parser.mq5"
|
||||
#include "./2022/x-saherelm.xch.che.amarkets.xagusd.2022.short.parser.mq5"
|
||||
#include "./2023/x-saherelm.xch.che.amarkets.xagusd.2023.short.parser.mq5"
|
||||
#include "./2024/x-saherelm.xch.che.amarkets.xagusd.2024.short.parser.mq5"
|
||||
|
||||
//
|
||||
// Conditions Parser ...
|
||||
struct XCHCHEStartegyAMarketsXAGUSDShortConditionsParser
|
||||
{
|
||||
//
|
||||
string _version;
|
||||
|
||||
//
|
||||
XCHCHEStartegyAMarketsXAGUSDOldsShortConditionsParser _oldsParser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2018ShortConditionsParser _2018Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2019ShortConditionsParser _2019Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2020ShortConditionsParser _2020Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2021ShortConditionsParser _2021Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2022ShortConditionsParser _2022Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2023ShortConditionsParser _2023Parser;
|
||||
XCHCHEStartegyAMarketsXAGUSD2024ShortConditionsParser _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