Cleanup Workspace ...
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2018LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2018ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2019LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2019ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2020LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2020ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2021LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2021ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2022LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2022ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2023LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2023ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,472 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2024LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: AUDUSDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 45.0
|
|
||||||
// Bearish: 21.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.02.05 09:40:07
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib1 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isMCHHBullish &&
|
|
||||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isLCLLBullish &&
|
|
||||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isLCLLSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBearishPower &&
|
|
||||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderLFast &&
|
|
||||||
conditions.chmConditions.isHFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerUp &&
|
|
||||||
conditions.chhkConditions.isCBullish &&
|
|
||||||
conditions.chhkConditions.isCSwitchedToBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderLLow &&
|
|
||||||
conditions.chhkConditions.isHBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderHLow &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBearishPower &&
|
|
||||||
conditions.chtdConditions.isCBearish &&
|
|
||||||
conditions.chtdConditions.isSBullish &&
|
|
||||||
conditions.chtdConditions.isMBullish &&
|
|
||||||
conditions.chtdConditions.isLBearish &&
|
|
||||||
conditions.chtdConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBullishPower &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSBullish &&
|
|
||||||
conditions.chcheConditions.isSStrongBullish &&
|
|
||||||
conditions.chcheConditions.isMBullish &&
|
|
||||||
conditions.chcheConditions.isMStrongBullish &&
|
|
||||||
conditions.chcheConditions.isLBullish &&
|
|
||||||
conditions.chcheConditions.isLStrongBullish &&
|
|
||||||
conditions.chcheConditions.isHBullish &&
|
|
||||||
conditions.chcheConditions.isHStrongBullish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBearishPower &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBullish &&
|
|
||||||
conditions.chvlmConditions.isMBearish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: AUDUSDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 51.0
|
|
||||||
// Bearish: 11.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.03.29 15:00:00
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedUnderFib1 &&
|
|
||||||
conditions.pvConditions.isSCLLBullish &&
|
|
||||||
conditions.pvConditions.isSCHHBearish &&
|
|
||||||
conditions.pvConditions.isSCHHSwitchedToBearish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBearishPower &&
|
|
||||||
conditions.chmConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverLFast &&
|
|
||||||
conditions.chmConditions.isHFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isCBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverLHigh &&
|
|
||||||
conditions.chhkConditions.isHBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverHHigh &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isCBullish &&
|
|
||||||
conditions.chtdConditions.isSBullish &&
|
|
||||||
conditions.chtdConditions.isMBullish &&
|
|
||||||
conditions.chtdConditions.isLBullish &&
|
|
||||||
conditions.chtdConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBullishPower &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSBearish &&
|
|
||||||
conditions.chcheConditions.isSStrongBearish &&
|
|
||||||
conditions.chcheConditions.isMBullish &&
|
|
||||||
conditions.chcheConditions.isMStrongBullish &&
|
|
||||||
conditions.chcheConditions.isLBullish &&
|
|
||||||
conditions.chcheConditions.isLStrongBullish &&
|
|
||||||
conditions.chcheConditions.isHBullish &&
|
|
||||||
conditions.chcheConditions.isHStrongBullish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBearishPower &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBullish &&
|
|
||||||
conditions.chvlmConditions.isMBearish &&
|
|
||||||
conditions.chvlmConditions.isLBullish &&
|
|
||||||
conditions.chvlmConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.hasBullishPower &&
|
|
||||||
conditions.chvwapConditions.isMBullish &&
|
|
||||||
conditions.chvwapConditions.isLBullish &&
|
|
||||||
conditions.chvwapConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanACrossedUnderLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanACrossedUnderLast &&
|
|
||||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: AUDUSDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 70.0
|
|
||||||
// Bearish: 7.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.04.24 15:10:08
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isNewPeak &&
|
|
||||||
conditions.pvConditions.isNewPeakUnderLast &&
|
|
||||||
conditions.pvConditions.isFiboDecreased &&
|
|
||||||
conditions.pvConditions.isFiboSectionChanged &&
|
|
||||||
conditions.pvConditions.isCloseOverFib1 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedOverFib1 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedOverFib4 &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isMCBullish &&
|
|
||||||
conditions.pvConditions.isMCHHBullish &&
|
|
||||||
conditions.pvConditions.isMCLLBullish &&
|
|
||||||
conditions.pvConditions.isLCHHBullish &&
|
|
||||||
conditions.pvConditions.isHCHHBullish &&
|
|
||||||
conditions.pvConditions.isHCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isHCHHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBullishPower &&
|
|
||||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverLFast &&
|
|
||||||
conditions.chmConditions.isHFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isCBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverLHigh &&
|
|
||||||
conditions.chhkConditions.isHBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverHHigh &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chtdConditions.isCBullish &&
|
|
||||||
conditions.chtdConditions.isSBullish &&
|
|
||||||
conditions.chtdConditions.isMBullish &&
|
|
||||||
conditions.chtdConditions.isLBullish &&
|
|
||||||
conditions.chtdConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBullishPower &&
|
|
||||||
conditions.chcheConditions.isBullishPowerUp &&
|
|
||||||
conditions.chcheConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isCSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isSBullish &&
|
|
||||||
conditions.chcheConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isMBearish &&
|
|
||||||
conditions.chcheConditions.isMStrongBearish &&
|
|
||||||
conditions.chcheConditions.isLBearish &&
|
|
||||||
conditions.chcheConditions.isLStrongBearish &&
|
|
||||||
conditions.chcheConditions.isHBearish &&
|
|
||||||
conditions.chcheConditions.isHStrongBearish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isBullishPowerUp &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isMSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
conditions.chstrConditions.isHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBullishPower &&
|
|
||||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBullish &&
|
|
||||||
conditions.chvlmConditions.isMBullish &&
|
|
||||||
conditions.chvlmConditions.isMSwitchedToBullish &&
|
|
||||||
conditions.chvlmConditions.isLBullish &&
|
|
||||||
conditions.chvlmConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.hasBullishPower &&
|
|
||||||
conditions.chvwapConditions.isMBullish &&
|
|
||||||
conditions.chvwapConditions.isLBullish &&
|
|
||||||
conditions.chvwapConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,353 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSD2024ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: AUDUSDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 1.0
|
|
||||||
// Bearish: 71.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.03.20 10:15:02
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isNewVale &&
|
|
||||||
conditions.pvConditions.isNewValeUnderLast &&
|
|
||||||
conditions.pvConditions.isFiboDecreased &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib2 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib3 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib4 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib5 &&
|
|
||||||
conditions.pvConditions.isSCBearish &&
|
|
||||||
conditions.pvConditions.isSCHHBearish &&
|
|
||||||
conditions.pvConditions.isSCLLBearish &&
|
|
||||||
conditions.pvConditions.isMCBearish &&
|
|
||||||
conditions.pvConditions.isMCHHBearish &&
|
|
||||||
conditions.pvConditions.isMCLLBearish &&
|
|
||||||
conditions.pvConditions.isMCSwitchedToBearish &&
|
|
||||||
conditions.pvConditions.isMCHHSwitchedToBearish &&
|
|
||||||
conditions.pvConditions.isLCLLBearish &&
|
|
||||||
conditions.pvConditions.isHCLLBearish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBearishPower &&
|
|
||||||
conditions.chmConditions.isBearishPowerIncreasing &&
|
|
||||||
conditions.chmConditions.isFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderFast &&
|
|
||||||
conditions.chmConditions.isCFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderCFast &&
|
|
||||||
conditions.chmConditions.isSFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderSFast &&
|
|
||||||
conditions.chmConditions.isMFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderMFast &&
|
|
||||||
conditions.chmConditions.isLFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderLFast &&
|
|
||||||
conditions.chmConditions.isHFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBearishPower &&
|
|
||||||
conditions.chhkConditions.isBearishPowerIncreasing &&
|
|
||||||
conditions.chhkConditions.isCBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderCLow &&
|
|
||||||
conditions.chhkConditions.isSBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderSLow &&
|
|
||||||
conditions.chhkConditions.isMBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderMLow &&
|
|
||||||
conditions.chhkConditions.isLBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderLLow &&
|
|
||||||
conditions.chhkConditions.isHBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderHLow &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBearishPower &&
|
|
||||||
conditions.chtdConditions.isBearishPowerIncreasing &&
|
|
||||||
conditions.chtdConditions.isCBearish &&
|
|
||||||
conditions.chtdConditions.isSBearish &&
|
|
||||||
conditions.chtdConditions.isMBearish &&
|
|
||||||
conditions.chtdConditions.isLBearish &&
|
|
||||||
conditions.chtdConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBearishPower &&
|
|
||||||
conditions.chcheConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chcheConditions.isCBearish &&
|
|
||||||
conditions.chcheConditions.isCStrongBearish &&
|
|
||||||
conditions.chcheConditions.isSBearish &&
|
|
||||||
conditions.chcheConditions.isSStrongBearish &&
|
|
||||||
conditions.chcheConditions.isMBearish &&
|
|
||||||
conditions.chcheConditions.isMStrongBearish &&
|
|
||||||
conditions.chcheConditions.isLBearish &&
|
|
||||||
conditions.chcheConditions.isLStrongBearish &&
|
|
||||||
conditions.chcheConditions.isHBearish &&
|
|
||||||
conditions.chcheConditions.isHStrongBearish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBearishPower &&
|
|
||||||
conditions.chstrConditions.isCBearish &&
|
|
||||||
conditions.chstrConditions.isSBearish &&
|
|
||||||
conditions.chstrConditions.isMBearish &&
|
|
||||||
conditions.chstrConditions.isLBearish &&
|
|
||||||
conditions.chstrConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBearishPower &&
|
|
||||||
conditions.chvlmConditions.isBearishPowerIncreasing &&
|
|
||||||
conditions.chvlmConditions.isCBearish &&
|
|
||||||
conditions.chvlmConditions.isSBearish &&
|
|
||||||
conditions.chvlmConditions.isMBearish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.hasBearishPower &&
|
|
||||||
conditions.chvwapConditions.isMBearish &&
|
|
||||||
conditions.chvwapConditions.isLBearish &&
|
|
||||||
conditions.chvwapConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: AUDUSDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 8.0
|
|
||||||
// Bearish: 81.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.05.14 15:35:00
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isNewVale &&
|
|
||||||
conditions.pvConditions.isNewValeUnderLast &&
|
|
||||||
conditions.pvConditions.isFiboDecreased &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib2 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedUnderFib2 &&
|
|
||||||
conditions.pvConditions.isSCLLBearish &&
|
|
||||||
conditions.pvConditions.isMCLLBearish &&
|
|
||||||
conditions.pvConditions.isLCLLBearish &&
|
|
||||||
conditions.pvConditions.isLCSwitchedToBearish &&
|
|
||||||
conditions.pvConditions.isLCLLSwitchedToBeraish &&
|
|
||||||
conditions.pvConditions.isHCLLBearish &&
|
|
||||||
conditions.pvConditions.isHCSwitchedToBearish &&
|
|
||||||
conditions.pvConditions.isHCLLSwitchedToBeraish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBullishPower &&
|
|
||||||
conditions.chmConditions.isFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderFast &&
|
|
||||||
conditions.chmConditions.isCFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isCFastCrossedUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderCFast &&
|
|
||||||
conditions.chmConditions.isSFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderSFast &&
|
|
||||||
conditions.chmConditions.isMFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderMFast &&
|
|
||||||
conditions.chmConditions.isLFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderLFast &&
|
|
||||||
conditions.chmConditions.isHFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBearishPower &&
|
|
||||||
conditions.chhkConditions.isBearishPowerUp &&
|
|
||||||
conditions.chhkConditions.isCBearish &&
|
|
||||||
conditions.chhkConditions.isCSwitchedToBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderCLow &&
|
|
||||||
conditions.chhkConditions.isSBearish &&
|
|
||||||
conditions.chhkConditions.isSSwitchedToBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderSLow &&
|
|
||||||
conditions.chhkConditions.isMBearish &&
|
|
||||||
conditions.chhkConditions.isMSwitchedToBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderMLow &&
|
|
||||||
conditions.chhkConditions.isLBearish &&
|
|
||||||
conditions.chhkConditions.isLSwitchedToBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderLLow &&
|
|
||||||
conditions.chhkConditions.isHBullish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderHLow &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBearishPower &&
|
|
||||||
conditions.chtdConditions.isBearishPowerUp &&
|
|
||||||
conditions.chtdConditions.isCBearish &&
|
|
||||||
conditions.chtdConditions.isSBearish &&
|
|
||||||
conditions.chtdConditions.isSSwitchedToBearish &&
|
|
||||||
conditions.chtdConditions.isMBearish &&
|
|
||||||
conditions.chtdConditions.isMSwitchedToBearish &&
|
|
||||||
conditions.chtdConditions.isLBullish &&
|
|
||||||
conditions.chtdConditions.isHBearish &&
|
|
||||||
conditions.chtdConditions.isHSwitchedToBearish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBearishPower &&
|
|
||||||
conditions.chcheConditions.isBearishPowerUp &&
|
|
||||||
conditions.chcheConditions.isCBearish &&
|
|
||||||
conditions.chcheConditions.isCStrongBearish &&
|
|
||||||
conditions.chcheConditions.isCSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isCStrongSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isSBearish &&
|
|
||||||
conditions.chcheConditions.isSStrongBearish &&
|
|
||||||
conditions.chcheConditions.isSSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isSStrongSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isMBearish &&
|
|
||||||
conditions.chcheConditions.isMStrongBearish &&
|
|
||||||
conditions.chcheConditions.isMSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isMStrongSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isLBearish &&
|
|
||||||
conditions.chcheConditions.isLStrongBearish &&
|
|
||||||
conditions.chcheConditions.isLSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isLStrongSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isHBearish &&
|
|
||||||
conditions.chcheConditions.isHStrongBearish &&
|
|
||||||
conditions.chcheConditions.isHSwitchedToBearish &&
|
|
||||||
conditions.chcheConditions.isHStrongSwitchedToBearish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBearishPower &&
|
|
||||||
conditions.chstrConditions.isBearishPowerUp &&
|
|
||||||
conditions.chstrConditions.isCBearish &&
|
|
||||||
conditions.chstrConditions.isCSwitchedToBearish &&
|
|
||||||
conditions.chstrConditions.isSBearish &&
|
|
||||||
conditions.chstrConditions.isSSwitchedToBearish &&
|
|
||||||
conditions.chstrConditions.isMBearish &&
|
|
||||||
conditions.chstrConditions.isMSwitchedToBearish &&
|
|
||||||
conditions.chstrConditions.isLBearish &&
|
|
||||||
conditions.chstrConditions.isLSwitchedToBearish &&
|
|
||||||
conditions.chstrConditions.isHBearish &&
|
|
||||||
conditions.chstrConditions.isHSwitchedToBearish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBearishPower &&
|
|
||||||
conditions.chvlmConditions.isCBearish &&
|
|
||||||
conditions.chvlmConditions.isSBearish &&
|
|
||||||
conditions.chvlmConditions.isSSwitchedToBearish &&
|
|
||||||
conditions.chvlmConditions.isMBearish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCTenkanSenCrossedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isMTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverLast
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSDOldsLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsAUDUSDOldsShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -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.x121.strategy.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 X121StartegyAMarketsAUDUSDLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsAUDUSDOldsLongConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsAUDUSD2018LongConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2019LongConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2020LongConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2021LongConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2022LongConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2023LongConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2024LongConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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: 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.x121.strategy.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 X121StartegyAMarketsAUDUSDShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsAUDUSDOldsShortConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsAUDUSD2018ShortConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2019ShortConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2020ShortConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2021ShortConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2022ShortConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2023ShortConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsAUDUSD2024ShortConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2018LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2018ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2019LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2019ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2020LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2020ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2021LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2021ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2022LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2022ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2023LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2023ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2024LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENT2024ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENTOldsLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENTOldsShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
#include "./Olds/x-saherelm.x121.amarkets.brent.olds.long.parser.mq5"
|
|
||||||
#include "./2018/x-saherelm.x121.amarkets.brent.2018.long.parser.mq5"
|
|
||||||
#include "./2019/x-saherelm.x121.amarkets.brent.2019.long.parser.mq5"
|
|
||||||
#include "./2020/x-saherelm.x121.amarkets.brent.2020.long.parser.mq5"
|
|
||||||
#include "./2021/x-saherelm.x121.amarkets.brent.2021.long.parser.mq5"
|
|
||||||
#include "./2022/x-saherelm.x121.amarkets.brent.2022.long.parser.mq5"
|
|
||||||
#include "./2023/x-saherelm.x121.amarkets.brent.2023.long.parser.mq5"
|
|
||||||
#include "./2024/x-saherelm.x121.amarkets.brent.2024.long.parser.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENTLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsBRENTOldsLongConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsBRENT2018LongConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsBRENT2019LongConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsBRENT2020LongConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsBRENT2021LongConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsBRENT2022LongConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsBRENT2023LongConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsBRENT2024LongConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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: 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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
#include "./Olds/x-saherelm.x121.amarkets.brent.olds.short.parser.mq5"
|
|
||||||
#include "./2018/x-saherelm.x121.amarkets.brent.2018.short.parser.mq5"
|
|
||||||
#include "./2019/x-saherelm.x121.amarkets.brent.2019.short.parser.mq5"
|
|
||||||
#include "./2020/x-saherelm.x121.amarkets.brent.2020.short.parser.mq5"
|
|
||||||
#include "./2021/x-saherelm.x121.amarkets.brent.2021.short.parser.mq5"
|
|
||||||
#include "./2022/x-saherelm.x121.amarkets.brent.2022.short.parser.mq5"
|
|
||||||
#include "./2023/x-saherelm.x121.amarkets.brent.2023.short.parser.mq5"
|
|
||||||
#include "./2024/x-saherelm.x121.amarkets.brent.2024.short.parser.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsBRENTShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsBRENTOldsShortConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsBRENT2018ShortConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsBRENT2019ShortConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsBRENT2020ShortConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsBRENT2021ShortConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsBRENT2022ShortConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsBRENT2023ShortConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsBRENT2024ShortConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsUS302018LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsUS302018ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
-167309
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
-188272
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
-105229
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsUS30OldsLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsUS30OldsShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
#include "./Olds/x-saherelm.x121.amarkets.us30.olds.long.parser.mq5"
|
|
||||||
#include "./2018/x-saherelm.x121.amarkets.us30.2018.long.parser.mq5"
|
|
||||||
#include "./2019/x-saherelm.x121.amarkets.us30.2019.long.parser.mq5"
|
|
||||||
#include "./2020/x-saherelm.x121.amarkets.us30.2020.long.parser.mq5"
|
|
||||||
#include "./2021/x-saherelm.x121.amarkets.us30.2021.long.parser.mq5"
|
|
||||||
#include "./2022/x-saherelm.x121.amarkets.us30.2022.long.parser.mq5"
|
|
||||||
#include "./2023/x-saherelm.x121.amarkets.us30.2023.long.parser.mq5"
|
|
||||||
#include "./2024/x-saherelm.x121.amarkets.us30.2024.long.parser.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsUS30LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsUS30OldsLongConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsUS302018LongConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsUS302019LongConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsUS302020LongConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsUS302021LongConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsUS302022LongConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsUS302023LongConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsUS302024LongConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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: 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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
#include "./Olds/x-saherelm.x121.amarkets.us30.olds.short.parser.mq5"
|
|
||||||
#include "./2018/x-saherelm.x121.amarkets.us30.2018.short.parser.mq5"
|
|
||||||
#include "./2019/x-saherelm.x121.amarkets.us30.2019.short.parser.mq5"
|
|
||||||
#include "./2020/x-saherelm.x121.amarkets.us30.2020.short.parser.mq5"
|
|
||||||
#include "./2021/x-saherelm.x121.amarkets.us30.2021.short.parser.mq5"
|
|
||||||
#include "./2022/x-saherelm.x121.amarkets.us30.2022.short.parser.mq5"
|
|
||||||
#include "./2023/x-saherelm.x121.amarkets.us30.2023.short.parser.mq5"
|
|
||||||
#include "./2024/x-saherelm.x121.amarkets.us30.2024.short.parser.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsUS30ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsUS30OldsShortConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsUS302018ShortConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsUS302019ShortConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsUS302020ShortConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsUS302021ShortConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsUS302022ShortConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsUS302023ShortConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsUS302024ShortConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2018LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2018ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2019LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2019ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2020LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2020ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2021LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2021ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2022LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2022ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2023LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2023ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,907 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUD2024LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURAUDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 42.0
|
|
||||||
// Bearish: 22.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.01.12 23:30:00
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib1 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isSCHHBearish &&
|
|
||||||
conditions.pvConditions.isLCLLBullish &&
|
|
||||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isLCLLSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBullishPower &&
|
|
||||||
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverFast &&
|
|
||||||
conditions.chmConditions.isCFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderCFast &&
|
|
||||||
conditions.chmConditions.isSFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderSFast &&
|
|
||||||
conditions.chmConditions.isMFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverLFast &&
|
|
||||||
conditions.chmConditions.isHFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBearishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerDecreasing &&
|
|
||||||
conditions.chhkConditions.isCBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderCLow &&
|
|
||||||
conditions.chhkConditions.isSBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderSLow &&
|
|
||||||
conditions.chhkConditions.isMBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverLHigh &&
|
|
||||||
conditions.chhkConditions.isHBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverHHigh &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isBullishPowerUp &&
|
|
||||||
conditions.chtdConditions.isCBearish &&
|
|
||||||
conditions.chtdConditions.isSBullish &&
|
|
||||||
conditions.chtdConditions.isMBullish &&
|
|
||||||
conditions.chtdConditions.isLBearish &&
|
|
||||||
conditions.chtdConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBullishPower &&
|
|
||||||
conditions.chcheConditions.isBullishPowerDecreasing &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSBullish &&
|
|
||||||
conditions.chcheConditions.isSStrongBullish &&
|
|
||||||
conditions.chcheConditions.isMBullish &&
|
|
||||||
conditions.chcheConditions.isMStrongBullish &&
|
|
||||||
conditions.chcheConditions.isLBullish &&
|
|
||||||
conditions.chcheConditions.isLStrongBullish &&
|
|
||||||
conditions.chcheConditions.isHBullish &&
|
|
||||||
conditions.chcheConditions.isHStrongBullish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBearishPower &&
|
|
||||||
conditions.chvlmConditions.isCBearish &&
|
|
||||||
conditions.chvlmConditions.isSBearish &&
|
|
||||||
conditions.chvlmConditions.isMBearish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.hasBearishPower &&
|
|
||||||
conditions.chvwapConditions.isMBearish &&
|
|
||||||
conditions.chvwapConditions.isLBearish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURAUDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 60.0
|
|
||||||
// Bearish: 26.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.01.19 13:25:01
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib2 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib3 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib4 &&
|
|
||||||
conditions.pvConditions.isSCBullish &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCLLBullish &&
|
|
||||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isMCBullish &&
|
|
||||||
conditions.pvConditions.isMCHHBullish &&
|
|
||||||
conditions.pvConditions.isMCLLBullish &&
|
|
||||||
conditions.pvConditions.isLCHHBullish &&
|
|
||||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBearishPower &&
|
|
||||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderMFast &&
|
|
||||||
conditions.chmConditions.isLFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderLFast &&
|
|
||||||
conditions.chmConditions.isHFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerUp &&
|
|
||||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chhkConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chhkConditions.isCBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderMLow &&
|
|
||||||
conditions.chhkConditions.isLBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderLLow &&
|
|
||||||
conditions.chhkConditions.isHBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderHLow &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBearishPower &&
|
|
||||||
conditions.chtdConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chtdConditions.isCBullish &&
|
|
||||||
conditions.chtdConditions.isSBearish &&
|
|
||||||
conditions.chtdConditions.isMBearish &&
|
|
||||||
conditions.chtdConditions.isLBearish &&
|
|
||||||
conditions.chtdConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBullishPower &&
|
|
||||||
conditions.chcheConditions.isBullishPowerUp &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isCSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isSBullish &&
|
|
||||||
conditions.chcheConditions.isSStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isSStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isMBullish &&
|
|
||||||
conditions.chcheConditions.isMStrongBullish &&
|
|
||||||
conditions.chcheConditions.isMSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isMStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isLBullish &&
|
|
||||||
conditions.chcheConditions.isLStrongBullish &&
|
|
||||||
conditions.chcheConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isLStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isHBullish &&
|
|
||||||
conditions.chcheConditions.isHStrongBullish &&
|
|
||||||
conditions.chcheConditions.isHSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isHStrongSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBearishPower &&
|
|
||||||
conditions.chvlmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBearish &&
|
|
||||||
conditions.chvlmConditions.isMBearish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.hasBullishPower &&
|
|
||||||
conditions.chvwapConditions.isSBullish &&
|
|
||||||
conditions.chvwapConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chvwapConditions.isMBullish &&
|
|
||||||
conditions.chvwapConditions.isLBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isMClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isHClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURAUDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 38.0
|
|
||||||
// Bearish: 19.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.02.20 03:05:00
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib1 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedOverFib1 &&
|
|
||||||
conditions.pvConditions.isSCBullish &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCLLBullish &&
|
|
||||||
conditions.pvConditions.isLCLLBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBearishPower &&
|
|
||||||
conditions.chmConditions.isFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isCFastCrossedOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverLFast &&
|
|
||||||
conditions.chmConditions.isHFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerUp &&
|
|
||||||
conditions.chhkConditions.isCBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverLHigh &&
|
|
||||||
conditions.chhkConditions.isHBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverHHigh &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isBullishPowerUp &&
|
|
||||||
conditions.chtdConditions.isCBearish &&
|
|
||||||
conditions.chtdConditions.isSBullish &&
|
|
||||||
conditions.chtdConditions.isMBullish &&
|
|
||||||
conditions.chtdConditions.isLBearish &&
|
|
||||||
conditions.chtdConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBearishPower &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSBearish &&
|
|
||||||
conditions.chcheConditions.isMBearish &&
|
|
||||||
conditions.chcheConditions.isLBearish &&
|
|
||||||
conditions.chcheConditions.isHBullish &&
|
|
||||||
conditions.chcheConditions.isHStrongBullish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBearish &&
|
|
||||||
conditions.chstrConditions.isLBearish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBearishPower &&
|
|
||||||
conditions.chvlmConditions.isCBearish &&
|
|
||||||
conditions.chvlmConditions.isSBullish &&
|
|
||||||
conditions.chvlmConditions.isMBullish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanACrossedOverLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanACrossedOverLast &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURAUDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 47.0
|
|
||||||
// Bearish: 15.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.02.22 20:15:00
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib1 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isSCBullish &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCLLBullish &&
|
|
||||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBullishPower &&
|
|
||||||
conditions.chmConditions.isBullishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverFast &&
|
|
||||||
conditions.chmConditions.isCFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderSFast &&
|
|
||||||
conditions.chmConditions.isMFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverLFast &&
|
|
||||||
conditions.chmConditions.isHFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerUp &&
|
|
||||||
conditions.chhkConditions.isCBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderCLow &&
|
|
||||||
conditions.chhkConditions.isSBullish &&
|
|
||||||
conditions.chhkConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverLHigh &&
|
|
||||||
conditions.chhkConditions.isHBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverHHigh &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isCBearish &&
|
|
||||||
conditions.chtdConditions.isSBullish &&
|
|
||||||
conditions.chtdConditions.isMBullish &&
|
|
||||||
conditions.chtdConditions.isLBullish &&
|
|
||||||
conditions.chtdConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBearishPower &&
|
|
||||||
conditions.chcheConditions.isBullishPowerDecreasing &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSBullish &&
|
|
||||||
conditions.chcheConditions.isSStrongBullish &&
|
|
||||||
conditions.chcheConditions.isMBearish &&
|
|
||||||
conditions.chcheConditions.isLBearish &&
|
|
||||||
conditions.chcheConditions.isHBearish &&
|
|
||||||
conditions.chcheConditions.isHStrongBearish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBullishPower &&
|
|
||||||
conditions.chvlmConditions.isCBearish &&
|
|
||||||
conditions.chvlmConditions.isSBullish &&
|
|
||||||
conditions.chvlmConditions.isMBullish &&
|
|
||||||
conditions.chvlmConditions.isLBullish &&
|
|
||||||
conditions.chvlmConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.isLBearish &&
|
|
||||||
conditions.chvwapConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isSClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURAUDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 63.0
|
|
||||||
// Bearish: 17.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.02.23 16:25:00
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib2 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedOverFib3 &&
|
|
||||||
conditions.pvConditions.isSCBullish &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCLLBullish &&
|
|
||||||
conditions.pvConditions.isMCBullish &&
|
|
||||||
conditions.pvConditions.isMCHHBullish &&
|
|
||||||
conditions.pvConditions.isMCLLBullish &&
|
|
||||||
conditions.pvConditions.isLCHHBullish &&
|
|
||||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isHCHHBearish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBearishPower &&
|
|
||||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderLFast &&
|
|
||||||
conditions.chmConditions.isHFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chhkConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chhkConditions.isCBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderLLow &&
|
|
||||||
conditions.chhkConditions.isHBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderHLow &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isBullishPowerUp &&
|
|
||||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chtdConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chtdConditions.isCBullish &&
|
|
||||||
conditions.chtdConditions.isSBearish &&
|
|
||||||
conditions.chtdConditions.isMBearish &&
|
|
||||||
conditions.chtdConditions.isLBullish &&
|
|
||||||
conditions.chtdConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chtdConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBullishPower &&
|
|
||||||
conditions.chcheConditions.isBullishPowerUp &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isSBullish &&
|
|
||||||
conditions.chcheConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isMBullish &&
|
|
||||||
conditions.chcheConditions.isMSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isLBullish &&
|
|
||||||
conditions.chcheConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isHBullish &&
|
|
||||||
conditions.chcheConditions.isHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isBullishPowerUp &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isCSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
conditions.chstrConditions.isHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBullishPower &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBearish &&
|
|
||||||
conditions.chvlmConditions.isMBullish &&
|
|
||||||
conditions.chvlmConditions.isLBullish &&
|
|
||||||
conditions.chvlmConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.hasBullishPower &&
|
|
||||||
conditions.chvwapConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chvwapConditions.isMBullish &&
|
|
||||||
conditions.chvwapConditions.isLBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isMTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURAUDb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 51.0
|
|
||||||
// Bearish: 31.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.03.07 07:40:05
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib2 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib3 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedOverFib4 &&
|
|
||||||
conditions.pvConditions.isSCBullish &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCLLBullish &&
|
|
||||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isSCLLSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isMCHHBullish &&
|
|
||||||
conditions.pvConditions.isLCHHBearish &&
|
|
||||||
conditions.pvConditions.isLCSwitchedToBearish &&
|
|
||||||
conditions.pvConditions.isLCHHSwitchedToBearish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBearishPower &&
|
|
||||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderMFast &&
|
|
||||||
conditions.chmConditions.isLFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderLFast &&
|
|
||||||
conditions.chmConditions.isHFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerUp &&
|
|
||||||
conditions.chhkConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chhkConditions.isCBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderMLow &&
|
|
||||||
conditions.chhkConditions.isLBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderLLow &&
|
|
||||||
conditions.chhkConditions.isHBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderHLow &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBearishPower &&
|
|
||||||
conditions.chtdConditions.isCBullish &&
|
|
||||||
conditions.chtdConditions.isSBearish &&
|
|
||||||
conditions.chtdConditions.isMBearish &&
|
|
||||||
conditions.chtdConditions.isLBearish &&
|
|
||||||
conditions.chtdConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBullishPower &&
|
|
||||||
conditions.chcheConditions.isBullishPowerUp &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isCSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isSBullish &&
|
|
||||||
conditions.chcheConditions.isSStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isSStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isMBullish &&
|
|
||||||
conditions.chcheConditions.isMStrongBullish &&
|
|
||||||
conditions.chcheConditions.isMSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isMStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isLBullish &&
|
|
||||||
conditions.chcheConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isHBullish &&
|
|
||||||
conditions.chcheConditions.isHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isBullishPowerUp &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isCSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isSBearish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isMSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
conditions.chstrConditions.isHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBearishPower &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBearish &&
|
|
||||||
conditions.chvlmConditions.isMBearish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.hasBullishPower &&
|
|
||||||
conditions.chvwapConditions.isSBullish &&
|
|
||||||
conditions.chvwapConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chvwapConditions.isMBullish &&
|
|
||||||
conditions.chvwapConditions.isLBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isMClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanACrossedOverLast &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanACrossedOverLast
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUDOldsLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUDOldsShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
#include "./Olds/x-saherelm.x121.amarkets.euraud.olds.long.parser.mq5"
|
|
||||||
#include "./2018/x-saherelm.x121.amarkets.euraud.2018.long.parser.mq5"
|
|
||||||
#include "./2019/x-saherelm.x121.amarkets.euraud.2019.long.parser.mq5"
|
|
||||||
#include "./2020/x-saherelm.x121.amarkets.euraud.2020.long.parser.mq5"
|
|
||||||
#include "./2021/x-saherelm.x121.amarkets.euraud.2021.long.parser.mq5"
|
|
||||||
#include "./2022/x-saherelm.x121.amarkets.euraud.2022.long.parser.mq5"
|
|
||||||
#include "./2023/x-saherelm.x121.amarkets.euraud.2023.long.parser.mq5"
|
|
||||||
#include "./2024/x-saherelm.x121.amarkets.euraud.2024.long.parser.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUDLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsEURAUDOldsLongConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsEURAUD2018LongConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2019LongConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2020LongConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2021LongConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2022LongConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2023LongConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2024LongConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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: 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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
#include "./Olds/x-saherelm.x121.amarkets.euraud.olds.short.parser.mq5"
|
|
||||||
#include "./2018/x-saherelm.x121.amarkets.euraud.2018.short.parser.mq5"
|
|
||||||
#include "./2019/x-saherelm.x121.amarkets.euraud.2019.short.parser.mq5"
|
|
||||||
#include "./2020/x-saherelm.x121.amarkets.euraud.2020.short.parser.mq5"
|
|
||||||
#include "./2021/x-saherelm.x121.amarkets.euraud.2021.short.parser.mq5"
|
|
||||||
#include "./2022/x-saherelm.x121.amarkets.euraud.2022.short.parser.mq5"
|
|
||||||
#include "./2023/x-saherelm.x121.amarkets.euraud.2023.short.parser.mq5"
|
|
||||||
#include "./2024/x-saherelm.x121.amarkets.euraud.2024.short.parser.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURAUDShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsEURAUDOldsShortConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsEURAUD2018ShortConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2019ShortConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2020ShortConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2021ShortConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2022ShortConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2023ShortConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsEURAUD2024ShortConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2018LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2018ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2019LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2019ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2020LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2020ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2021LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2021ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2022LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2022ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2023LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2023ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,466 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCAD2024LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURCADb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 41.0
|
|
||||||
// Bearish: 19.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.01.05 18:45:01
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBullishPower &&
|
|
||||||
conditions.chmConditions.isFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverLFast &&
|
|
||||||
conditions.chmConditions.isHFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerUp &&
|
|
||||||
conditions.chhkConditions.isCBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverLHigh &&
|
|
||||||
conditions.chhkConditions.isHBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverHHigh &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isCBearish &&
|
|
||||||
conditions.chtdConditions.isCSwitchedToBearish &&
|
|
||||||
conditions.chtdConditions.isSBullish &&
|
|
||||||
conditions.chtdConditions.isMBearish &&
|
|
||||||
conditions.chtdConditions.isLBullish &&
|
|
||||||
conditions.chtdConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBearishPower &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSBearish &&
|
|
||||||
conditions.chcheConditions.isSStrongBearish &&
|
|
||||||
conditions.chcheConditions.isMBearish &&
|
|
||||||
conditions.chcheConditions.isMStrongBearish &&
|
|
||||||
conditions.chcheConditions.isLBearish &&
|
|
||||||
conditions.chcheConditions.isLStrongBearish &&
|
|
||||||
conditions.chcheConditions.isHBearish &&
|
|
||||||
conditions.chcheConditions.isHStrongBearish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBearishPower &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBearish &&
|
|
||||||
conditions.chstrConditions.isLBearish &&
|
|
||||||
conditions.chstrConditions.isHBearish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBullishPower &&
|
|
||||||
conditions.chvlmConditions.isBullishPowerUp &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBullish &&
|
|
||||||
conditions.chvlmConditions.isMBearish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAOverB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURCADb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 61.0
|
|
||||||
// Bearish: 18.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.02.02 16:50:00
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib2 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib3 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib4 &&
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isCloseCrossedOverFib2 &&
|
|
||||||
conditions.pvConditions.isSCBullish &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCLLBullish &&
|
|
||||||
conditions.pvConditions.isMCBullish &&
|
|
||||||
conditions.pvConditions.isMCHHBullish &&
|
|
||||||
conditions.pvConditions.isMCLLBullish &&
|
|
||||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isMCLLSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBearishPower &&
|
|
||||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isCFastCrossedOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverMFast &&
|
|
||||||
conditions.chmConditions.isLFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverLFast &&
|
|
||||||
conditions.chmConditions.isHFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerUp &&
|
|
||||||
conditions.chhkConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chhkConditions.isCBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverMHigh &&
|
|
||||||
conditions.chhkConditions.isLBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverLHigh &&
|
|
||||||
conditions.chhkConditions.isHBearish &&
|
|
||||||
conditions.chhkConditions.isCloseOverHHigh &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chtdConditions.isCBullish &&
|
|
||||||
conditions.chtdConditions.isSBearish &&
|
|
||||||
conditions.chtdConditions.isMBullish &&
|
|
||||||
conditions.chtdConditions.isMSwitchedToBullish &&
|
|
||||||
conditions.chtdConditions.isLBullish &&
|
|
||||||
conditions.chtdConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBearishPower &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isCSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongSwitchedToBullish &&
|
|
||||||
conditions.chcheConditions.isSBearish &&
|
|
||||||
conditions.chcheConditions.isMBearish &&
|
|
||||||
conditions.chcheConditions.isMStrongBearish &&
|
|
||||||
conditions.chcheConditions.isLBearish &&
|
|
||||||
conditions.chcheConditions.isLStrongBearish &&
|
|
||||||
conditions.chcheConditions.isHBearish &&
|
|
||||||
conditions.chcheConditions.isHStrongBearish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isCSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBullish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBullishPower &&
|
|
||||||
conditions.chvlmConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBullish &&
|
|
||||||
conditions.chvlmConditions.isMBullish &&
|
|
||||||
conditions.chvlmConditions.isLBullish &&
|
|
||||||
conditions.chvlmConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
conditions.chvwapConditions.hasBullishPower &&
|
|
||||||
conditions.chvwapConditions.isBullishPowerUp &&
|
|
||||||
conditions.chvwapConditions.isSBullish &&
|
|
||||||
conditions.chvwapConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chvwapConditions.isMBullish &&
|
|
||||||
conditions.chvwapConditions.isLBullish &&
|
|
||||||
conditions.chvwapConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chvwapConditions.isHBullish &&
|
|
||||||
conditions.chvwapConditions.isHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
||
|
|
||||||
//
|
|
||||||
(
|
|
||||||
// Symbol: EURCADb
|
|
||||||
// ---------------
|
|
||||||
// Scores:
|
|
||||||
// ---------------
|
|
||||||
// Bullish: 51.0
|
|
||||||
// Bearish: 22.0
|
|
||||||
// ---------------
|
|
||||||
// Time: 2024.04.10 02:00:41
|
|
||||||
// ---------------
|
|
||||||
//
|
|
||||||
// XPV ...
|
|
||||||
//
|
|
||||||
conditions.pvConditions.isCloseOverFib5 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib1 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib2 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib3 &&
|
|
||||||
conditions.pvConditions.isCloseUnderFib4 &&
|
|
||||||
conditions.pvConditions.isSCHHBullish &&
|
|
||||||
conditions.pvConditions.isSCHHSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isSCLLBearish &&
|
|
||||||
conditions.pvConditions.isMCHHBullish &&
|
|
||||||
conditions.pvConditions.isMCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isMCHHSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isLCHHBullish &&
|
|
||||||
conditions.pvConditions.isLCSwitchedToBullish &&
|
|
||||||
conditions.pvConditions.isLCHHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHM ...
|
|
||||||
//
|
|
||||||
conditions.chmConditions.hasBullishPower &&
|
|
||||||
conditions.chmConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chmConditions.isFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderFast &&
|
|
||||||
conditions.chmConditions.isCFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverCFast &&
|
|
||||||
conditions.chmConditions.isSFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedOverSFast &&
|
|
||||||
conditions.chmConditions.isMFastUnderSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderMFast &&
|
|
||||||
conditions.chmConditions.isLFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderLFast &&
|
|
||||||
conditions.chmConditions.isHFastOverSlow &&
|
|
||||||
conditions.chmConditions.isClosedUnderHFast &&
|
|
||||||
//
|
|
||||||
// XCHHK ...
|
|
||||||
//
|
|
||||||
conditions.chhkConditions.hasBullishPower &&
|
|
||||||
conditions.chhkConditions.isBullishPowerUp &&
|
|
||||||
conditions.chhkConditions.isCBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverCHigh &&
|
|
||||||
conditions.chhkConditions.isSBullish &&
|
|
||||||
conditions.chhkConditions.isSSwitchedToBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverSHigh &&
|
|
||||||
conditions.chhkConditions.isMBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderMLow &&
|
|
||||||
conditions.chhkConditions.isLBearish &&
|
|
||||||
conditions.chhkConditions.isCloseUnderLLow &&
|
|
||||||
conditions.chhkConditions.isHBullish &&
|
|
||||||
conditions.chhkConditions.isCloseOverHHigh &&
|
|
||||||
//
|
|
||||||
// XCHTD ...
|
|
||||||
//
|
|
||||||
conditions.chtdConditions.hasBullishPower &&
|
|
||||||
conditions.chtdConditions.isCBullish &&
|
|
||||||
conditions.chtdConditions.isSBullish &&
|
|
||||||
conditions.chtdConditions.isMBullish &&
|
|
||||||
conditions.chtdConditions.isLBullish &&
|
|
||||||
conditions.chtdConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chtdConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHICHWAP ...
|
|
||||||
//
|
|
||||||
conditions.chcheConditions.hasBearishPower &&
|
|
||||||
conditions.chcheConditions.isBearishPowerDecreasing &&
|
|
||||||
conditions.chcheConditions.isCBullish &&
|
|
||||||
conditions.chcheConditions.isCStrongBullish &&
|
|
||||||
conditions.chcheConditions.isSBearish &&
|
|
||||||
conditions.chcheConditions.isSStrongBearish &&
|
|
||||||
conditions.chcheConditions.isMBearish &&
|
|
||||||
conditions.chcheConditions.isMStrongBearish &&
|
|
||||||
conditions.chcheConditions.isLBearish &&
|
|
||||||
conditions.chcheConditions.isLStrongBearish &&
|
|
||||||
conditions.chcheConditions.isHBearish &&
|
|
||||||
conditions.chcheConditions.isHStrongBearish &&
|
|
||||||
//
|
|
||||||
// XCHSTR ...
|
|
||||||
//
|
|
||||||
conditions.chstrConditions.hasBullishPower &&
|
|
||||||
conditions.chstrConditions.isBullishPowerUp &&
|
|
||||||
conditions.chstrConditions.isBullishPowerIncreasing &&
|
|
||||||
conditions.chstrConditions.isCBullish &&
|
|
||||||
conditions.chstrConditions.isSBullish &&
|
|
||||||
conditions.chstrConditions.isMBearish &&
|
|
||||||
conditions.chstrConditions.isLBullish &&
|
|
||||||
conditions.chstrConditions.isLSwitchedToBullish &&
|
|
||||||
conditions.chstrConditions.isHBullish &&
|
|
||||||
conditions.chstrConditions.isHSwitchedToBullish &&
|
|
||||||
//
|
|
||||||
// XCHVLM ...
|
|
||||||
//
|
|
||||||
conditions.chvlmConditions.hasBullishPower &&
|
|
||||||
conditions.chvlmConditions.isBullishPowerUp &&
|
|
||||||
conditions.chvlmConditions.isCBullish &&
|
|
||||||
conditions.chvlmConditions.isSBullish &&
|
|
||||||
conditions.chvlmConditions.isMBullish &&
|
|
||||||
conditions.chvlmConditions.isMSwitchedToBullish &&
|
|
||||||
conditions.chvlmConditions.isLBearish &&
|
|
||||||
conditions.chvlmConditions.isHBullish &&
|
|
||||||
//
|
|
||||||
// XCHVWAP ...
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// XCHICH ...
|
|
||||||
//
|
|
||||||
conditions.chichConditions.isCTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isCFutureSenkouSpanAUnderLast &&
|
|
||||||
conditions.chichConditions.isSClosedOverKijunSen &&
|
|
||||||
conditions.chichConditions.isSTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isSSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isSFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMTenkanSenUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isMSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isMFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLClosedUnderKijunSen &&
|
|
||||||
conditions.chichConditions.isLTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAOverB &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanAOverLast &&
|
|
||||||
conditions.chichConditions.isLSenkouSpanACrossedOverLast &&
|
|
||||||
conditions.chichConditions.isLFutureSenkouSpanACrossedOverLast &&
|
|
||||||
conditions.chichConditions.isHTenkanSenOverKijunSen &&
|
|
||||||
conditions.chichConditions.isHSenkouSpanAUnderB &&
|
|
||||||
conditions.chichConditions.isHFutureSenkouSpanAUnderB
|
|
||||||
//
|
|
||||||
)
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCADOldsLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCADOldsShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
#include "./Olds/x-saherelm.x121.amarkets.eurcad.olds.long.parser.mq5"
|
|
||||||
#include "./2018/x-saherelm.x121.amarkets.eurcad.2018.long.parser.mq5"
|
|
||||||
#include "./2019/x-saherelm.x121.amarkets.eurcad.2019.long.parser.mq5"
|
|
||||||
#include "./2020/x-saherelm.x121.amarkets.eurcad.2020.long.parser.mq5"
|
|
||||||
#include "./2021/x-saherelm.x121.amarkets.eurcad.2021.long.parser.mq5"
|
|
||||||
#include "./2022/x-saherelm.x121.amarkets.eurcad.2022.long.parser.mq5"
|
|
||||||
#include "./2023/x-saherelm.x121.amarkets.eurcad.2023.long.parser.mq5"
|
|
||||||
#include "./2024/x-saherelm.x121.amarkets.eurcad.2024.long.parser.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCADLongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsEURCADOldsLongConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsEURCAD2018LongConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2019LongConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2020LongConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2021LongConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2022LongConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2023LongConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2024LongConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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: 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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
#include "./Olds/x-saherelm.x121.amarkets.eurcad.olds.short.parser.mq5"
|
|
||||||
#include "./2018/x-saherelm.x121.amarkets.eurcad.2018.short.parser.mq5"
|
|
||||||
#include "./2019/x-saherelm.x121.amarkets.eurcad.2019.short.parser.mq5"
|
|
||||||
#include "./2020/x-saherelm.x121.amarkets.eurcad.2020.short.parser.mq5"
|
|
||||||
#include "./2021/x-saherelm.x121.amarkets.eurcad.2021.short.parser.mq5"
|
|
||||||
#include "./2022/x-saherelm.x121.amarkets.eurcad.2022.short.parser.mq5"
|
|
||||||
#include "./2023/x-saherelm.x121.amarkets.eurcad.2023.short.parser.mq5"
|
|
||||||
#include "./2024/x-saherelm.x121.amarkets.eurcad.2024.short.parser.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCADShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
X121StartegyAMarketsEURCADOldsShortConditionsParser _oldsParser;
|
|
||||||
X121StartegyAMarketsEURCAD2018ShortConditionsParser _2018Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2019ShortConditionsParser _2019Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2020ShortConditionsParser _2020Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2021ShortConditionsParser _2021Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2022ShortConditionsParser _2022Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2023ShortConditionsParser _2023Parser;
|
|
||||||
X121StartegyAMarketsEURCAD2024ShortConditionsParser _2024Parser;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
XSignal &signal,
|
|
||||||
X121StrategyConditions &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,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2018LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2018ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2019LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2019ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2020LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2020ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2021LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2021ShortConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
@@ -1,54 +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.x121.strategy.mq5"
|
|
||||||
|
|
||||||
//
|
|
||||||
// Conditions Parser ...
|
|
||||||
struct X121StartegyAMarketsEURCHF2022LongConditionsParser
|
|
||||||
{
|
|
||||||
//
|
|
||||||
string _version;
|
|
||||||
|
|
||||||
//
|
|
||||||
bool IsFiltered(
|
|
||||||
X121StrategyConditions &conditions //
|
|
||||||
)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
bool result = false;
|
|
||||||
|
|
||||||
//
|
|
||||||
result =
|
|
||||||
//
|
|
||||||
false
|
|
||||||
//
|
|
||||||
;
|
|
||||||
|
|
||||||
//
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
//
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user