Cleanup Workspace ...
This commit is contained in:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
Reference in New Issue
Block a user