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:
2024-09-19 06:59:53 +03:30
parent cf11a36053
commit f3398901ef
2977 changed files with 1747361 additions and 49368 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.euraud.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.amarkets.euraud.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.amarkets.euraud.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.amarkets.euraud.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.amarkets.euraud.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.amarkets.euraud.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.amarkets.euraud.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.amarkets.euraud.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsEURAUDLongConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsEURAUDOldsLongConditionsParser _oldsParser;
XCHStartegyAMarketsEURAUD2018LongConditionsParser _2018Parser;
XCHStartegyAMarketsEURAUD2019LongConditionsParser _2019Parser;
XCHStartegyAMarketsEURAUD2020LongConditionsParser _2020Parser;
XCHStartegyAMarketsEURAUD2021LongConditionsParser _2021Parser;
XCHStartegyAMarketsEURAUD2022LongConditionsParser _2022Parser;
XCHStartegyAMarketsEURAUD2023LongConditionsParser _2023Parser;
XCHStartegyAMarketsEURAUD2024LongConditionsParser _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.euraud.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.amarkets.euraud.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.amarkets.euraud.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.amarkets.euraud.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.amarkets.euraud.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.amarkets.euraud.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.amarkets.euraud.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.amarkets.euraud.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHStartegyAMarketsEURAUDShortConditionsParser
{
//
string _version;
//
XCHStartegyAMarketsEURAUDOldsShortConditionsParser _oldsParser;
XCHStartegyAMarketsEURAUD2018ShortConditionsParser _2018Parser;
XCHStartegyAMarketsEURAUD2019ShortConditionsParser _2019Parser;
XCHStartegyAMarketsEURAUD2020ShortConditionsParser _2020Parser;
XCHStartegyAMarketsEURAUD2021ShortConditionsParser _2021Parser;
XCHStartegyAMarketsEURAUD2022ShortConditionsParser _2022Parser;
XCHStartegyAMarketsEURAUD2023ShortConditionsParser _2023Parser;
XCHStartegyAMarketsEURAUD2024ShortConditionsParser _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.euraud.olds.long.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.euraud.2018.long.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.euraud.2019.long.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.euraud.2020.long.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.euraud.2021.long.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.euraud.2022.long.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.euraud.2023.long.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.euraud.2024.long.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsEURAUDLongConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsEURAUDOldsLongConditionsParser _oldsParser;
XCHCHEStartegyAMarketsEURAUD2018LongConditionsParser _2018Parser;
XCHCHEStartegyAMarketsEURAUD2019LongConditionsParser _2019Parser;
XCHCHEStartegyAMarketsEURAUD2020LongConditionsParser _2020Parser;
XCHCHEStartegyAMarketsEURAUD2021LongConditionsParser _2021Parser;
XCHCHEStartegyAMarketsEURAUD2022LongConditionsParser _2022Parser;
XCHCHEStartegyAMarketsEURAUD2023LongConditionsParser _2023Parser;
XCHCHEStartegyAMarketsEURAUD2024LongConditionsParser _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.euraud.olds.short.parser.mq5"
#include "./2018/x-saherelm.xch.che.amarkets.euraud.2018.short.parser.mq5"
#include "./2019/x-saherelm.xch.che.amarkets.euraud.2019.short.parser.mq5"
#include "./2020/x-saherelm.xch.che.amarkets.euraud.2020.short.parser.mq5"
#include "./2021/x-saherelm.xch.che.amarkets.euraud.2021.short.parser.mq5"
#include "./2022/x-saherelm.xch.che.amarkets.euraud.2022.short.parser.mq5"
#include "./2023/x-saherelm.xch.che.amarkets.euraud.2023.short.parser.mq5"
#include "./2024/x-saherelm.xch.che.amarkets.euraud.2024.short.parser.mq5"
//
// Conditions Parser ...
struct XCHCHEStartegyAMarketsEURAUDShortConditionsParser
{
//
string _version;
//
XCHCHEStartegyAMarketsEURAUDOldsShortConditionsParser _oldsParser;
XCHCHEStartegyAMarketsEURAUD2018ShortConditionsParser _2018Parser;
XCHCHEStartegyAMarketsEURAUD2019ShortConditionsParser _2019Parser;
XCHCHEStartegyAMarketsEURAUD2020ShortConditionsParser _2020Parser;
XCHCHEStartegyAMarketsEURAUD2021ShortConditionsParser _2021Parser;
XCHCHEStartegyAMarketsEURAUD2022ShortConditionsParser _2022Parser;
XCHCHEStartegyAMarketsEURAUD2023ShortConditionsParser _2023Parser;
XCHCHEStartegyAMarketsEURAUD2024ShortConditionsParser _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;
}
};
//