From 840d60c05644cb9a7c401025e006a326657c7d93 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Thu, 7 Mar 2024 14:29:55 +0330 Subject: [PATCH] Resolve XUSPY5 XTAM All Guard Attacks in GrowthNext ... --- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 526 ++- Documents/Templates/Brokers List.txt | 2 +- Documents/Templates/Long-Template.mq5 | 3828 ++++++++++++++++ Documents/Templates/Short-Template.mq5 | 3828 ++++++++++++++++ ...erelm.template.provider.indicators.lib.mq5 | 3829 +---------------- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 526 ++- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 526 ++- 7 files changed, 9032 insertions(+), 4033 deletions(-) create mode 100644 Documents/Templates/Long-Template.mq5 create mode 100644 Documents/Templates/Short-Template.mq5 diff --git a/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 b/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 index b32c4837..3475b9be 100644 --- a/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -7890,23 +7890,13 @@ bool XUSPY5XTAMHasLongSignal() ( // ((mConditions.isXTDBullUnderBear && - mConditions.isXTDSignalUnderBear && - mConditions.isXTSCurrentUnderMediest) && + mConditions.isXTDSignalUnderBear) && ( // - (mConditions.isXTDSignalVale && - mConditions.isXTDBullishVale) - // - || - // - ((mConditions.isXCHMALCPeak && - mConditions.isXLHLLIncreased) && + ((mConditions.isXTSAllSame && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHMCLCHHSame) && ( - // - (mConditions.isXTMVale && - mConditions.isXAMAVale) - // - || // (mConditions.isXTMBearish && mConditions.isXAMABearish) @@ -7915,6 +7905,36 @@ bool XUSPY5XTAMHasLongSignal() // ) // + || + // + (mConditions.isXTSCurrentUnderMediest && + ( + // + (mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale) + // + || + // + ((mConditions.isXCHMALCPeak && + mConditions.isXLHLLIncreased) && + ( + // + (mConditions.isXTMVale && + mConditions.isXAMAVale) + // + || + // + (mConditions.isXTMBearish && + mConditions.isXAMABearish) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -8032,7 +8052,14 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMASCFastCrossedUnderSlow) && ( // - false + (mConditions.isXTMBearish && + mConditions.isXAMABearish && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest && + mConditions.isXCHMALCPeak && + mConditions.isXCHMASCOverMax && + mConditions.isXLHPriceCrossedOverSignal) // ) // @@ -8066,7 +8093,10 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMALCFastCrossedUnderSlow) && ( // - false + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMax && + mConditions.isXCHLHMCLCHHSame) // ) // @@ -8557,6 +8587,13 @@ bool XUSPY5XTAMHasLongSignal() ((mConditions.isXCHMAMCFastUnderSlow || mConditions.isXCHMAMCFastCrossedUnderSlow) && ( + // + (mConditions.isXCHMALCPeak && + mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentMax && + mConditions.isXCHMASCOverMax) + // + || // (mConditions.isXTDSignalUnderBear && ( @@ -8586,10 +8623,39 @@ bool XUSPY5XTAMHasLongSignal() ( // (mConditions.isXCHMAMCPeak && - mConditions.isXTSCurrentMax && - mConditions.isXCHMASCOverMax && - mConditions.isXCHLHSCMCHHSame && - mConditions.isXRSICrossedOverLongExit) + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentUnderNearest) + // + || + // + ((mConditions.isXTSCurrentMax && + mConditions.isXCHLHSCMCHHSame) && + ( + // + (mConditions.isXCHMASCOverMax && + mConditions.isXRSICrossedOverLongExit) + // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXLHLLIncreased && + mConditions.isXTSCurrentCrossedOverNearest) + // + || + // + (mConditions.isXCHMASCOverMin && + mConditions.isXCHMASCUnderMax && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) + // + ) + // + ) // ) // @@ -8658,24 +8724,45 @@ bool XUSPY5XTAMHasLongSignal() ( // ((mConditions.isXTSCurrentMax && - mConditions.isXCHMASCOverMax && - mConditions.isXLHHighAttachedHH && - mConditions.isXCHMAMCFastCrossedOverSlow) && + mConditions.isXCHMASCOverMax) && ( - // - (mConditions.isXCHMASCPeak && - mConditions.isXCHLHSCMCHHSame) - // - || // ((mConditions.isXTMStartBullish && mConditions.isXAMAStartBullish) && ( // - (mConditions.isXCHLHSameHHs && - mConditions.isXCHMASCCrossedOverMax && - mConditions.isXLHPriceCrossedOverSignal && - mConditions.isXTSCurrentCrossedOverNearest) + (mConditions.isXCHMALCPeak && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXTDSignalUnderBear && + mConditions.isXLHPriceCrossedOverSignal) + // + ) + // + ) + // + || + // + ((mConditions.isXLHHighAttachedHH && + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + (mConditions.isXCHMASCPeak && + mConditions.isXCHLHSCMCHHSame) + // + || + // + ((mConditions.isXTMStartBullish && + mConditions.isXAMAStartBullish) && + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXCHMASCCrossedOverMax && + mConditions.isXLHPriceCrossedOverSignal && + mConditions.isXTSCurrentCrossedOverNearest) + // + ) + // + ) // ) // @@ -8979,7 +9066,20 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMAMCFastCrossedUnderSlow) && ( // - false + ((mConditions.isXTMBearish && + mConditions.isXAMABearish && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXTSAllSame && + mConditions.isXCHMAMCVale && + mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) // ) // @@ -9077,7 +9177,25 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMASCFastCrossedUnderSlow) && ( // - false + (mConditions.isXTDSignalUnderBear && + ( + // + ((mConditions.isXCHMALCPeak && + mConditions.isXTSCurrentMax && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + (mConditions.isXTMBearish && + mConditions.isXAMABearish) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10525,14 +10643,24 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXTDSignalUnderBear) && ( // - (mConditions.isXTDSignalVale && - mConditions.isXTDBullishVale && - mConditions.isXCHMALCVale && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHMCLCLLSame && - mConditions.isXCHMASCUnderMin && - mConditions.isXCHMASCCrossedUnderMin && - mConditions.isXTSCurrentCrossedUnderNearest) + ((mConditions.isXCHMALCVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHMASCCrossedUnderMin) && + ( + // + mConditions.isXTSCurrentOverFarest + // + || + // + (mConditions.isXTSCurrentMin && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) // ) // @@ -10639,7 +10767,36 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMALCFastCrossedOverSlow) && ( // - false + (mConditions.isXTSCurrentOverMediest && + ( + // + (mConditions.isXTSCurrentOverNearest && + ( + // + (mConditions.isXTSCurrentCrossedOverNearest && + mConditions.isXTSCurrentCrossedOverMediest) + // + ) + // + ) + // + || + // + (mConditions.isXTSCurrentOverFarest && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXLHLLIncreased) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10720,13 +10877,60 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMASCFastCrossedOverSlow) && ( // - (mConditions.isXTMBullish && - mConditions.isXAMABullish && - mConditions.isXCHMASCPeak && - mConditions.isXTDBullOverBear && - mConditions.isXTDSignalOverBear && - mConditions.isXTSCurrentOverFarest && - mConditions.isXTSCurrentOverMediest) + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXTDBullCrossedOverBear && + ( + // + (mConditions.isXTSCurrentOverMediest && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) + // + ) + // + ) + // + || + // + (mConditions.isXTDBullOverBear && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin) + // + || + // + ((mConditions.isXCHMASCPeak && + mConditions.isXTDSignalOverBear) && + ( + // + mConditions.isXCHMASCTrendsUp + // + || + // + (mConditions.isXTSCurrentOverFarest && + mConditions.isXTSCurrentOverMediest) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10743,7 +10947,42 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - false + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHMASCUnderMin && + mConditions.isXTSCurrentOverMediest && + mConditions.isXTDBullCrossedOverBear) + // + ) + // + ) + // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCOverMax && + mConditions.isXLHHHIncreased && + mConditions.isXTDBullOverBear && + mConditions.isXCHLHMCLCHHSame) + // + ) + // + ) + // + ) + // + ) // ) // @@ -11233,9 +11472,22 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXAMABullish) && ( // - (mConditions.isXTDSignalOverBear && - mConditions.isXTSCurrentOverFarest && - mConditions.isXTSCurrentOverMediest) + (mConditions.isXTSCurrentOverFarest && + ( + // + (mConditions.isXTDSignalOverBear && + mConditions.isXTSCurrentOverMediest) + // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) // ) // @@ -11272,13 +11524,55 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastUnderSlow) && ( // - (mConditions.isXCHMALCVale && - mConditions.isXTMNeutural && - mConditions.isXAMANeutural && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCHHSame && - mConditions.isXCHLHMCLCLLSame && - mConditions.isXTSCurrentCrossedUnderFarest) + ((mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXCHLHMCLCLLSame) && + ( + // + (mConditions.isXTMNeutural && + ( + // + ((mConditions.isXAMANeutural && + mConditions.isXTSCurrentMin) && + ( + // + mConditions.isXTSCurrentCrossedUnderFarest + // + || + // + (mConditions.isXTMEndBullish && + mConditions.isXAMAEndBullish) + // + ) + // + ) + // + || + // + ((mConditions.isXAMABullish && + mConditions.isXTDBullOverBear && + mConditions.isXTSCurrentOverFarest) && + ( + // + mConditions.isXTDSignalOverBear + // + || + // + (mConditions.isXTMBullish && + mConditions.isXTSCurrentMax && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -11528,7 +11822,11 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMASCFastCrossedOverSlow) && ( // - false + (mConditions.isXTMBullish && + mConditions.isXAMABullish && + mConditions.isXTDBullOverBear && + mConditions.isXTSCurrentOverMediest && + mConditions.isXTDSignalCrossedOverBear) // ) // @@ -11660,11 +11958,27 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - (mConditions.isXCHMALCVale && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCLLSame && - mConditions.isXCHMASCUnderMin && - mConditions.isXLHLowAttachedLL) + ((mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin) && + ( + // + (mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL) + // + || + // + (mConditions.isXTMVale && + mConditions.isXAMAVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXCHMASCCrossedUnderMin) + // + ) + // + ) // ) // @@ -11680,6 +11994,24 @@ bool XUSPY5XTAMHasShortSignal() ((mConditions.isXCHMALCFastOverSlow || mConditions.isXCHMALCFastCrossedOverSlow) && ( + // + ((mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHMASCCrossedUnderMin) + // + ) + // + ) + // + || // (mConditions.isXCHMALCPeak && ( @@ -11821,6 +12153,37 @@ bool XUSPY5XTAMHasShortSignal() // ) // + || + // + (mConditions.isXTDBullUnderBear && + ( + // + ((mConditions.isXCHMALCVale && + mConditions.isXCHMASCUnderMin && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXCHMASCCrossedUnderMin && + mConditions.isXTSCurrentCrossedOverNearest && + mConditions.isXTSCurrentCrossedOverMediest) + // + || + // + (mConditions.isXTSCurrentMin && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -11866,7 +12229,34 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - false + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXCHMAMCTrendsUp && + ( + // + ((mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCPeak && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCOverMax && + mConditions.isXCHLHMCLCHHSame) && + ( + // + (mConditions.isXTMStartBearish && + mConditions.isXAMAStartBearish) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // diff --git a/Documents/Templates/Brokers List.txt b/Documents/Templates/Brokers List.txt index 654c3731..65d7f674 100644 --- a/Documents/Templates/Brokers List.txt +++ b/Documents/Templates/Brokers List.txt @@ -23,7 +23,7 @@ XTAM ----- Resolve XUSPY5 XTAM All Stopouts in All Markets ... Resolve XUSPY5 XTAM All Critical Guard Attacks in All Markets ... -Resolve XUSPY5 XTAM All Guard Attacks in AMarkets-Real ... +Resolve XUSPY5 XTAM All Guard Attacks in OANDA ... XSI diff --git a/Documents/Templates/Long-Template.mq5 b/Documents/Templates/Long-Template.mq5 new file mode 100644 index 00000000..4129f764 --- /dev/null +++ b/Documents/Templates/Long-Template.mq5 @@ -0,0 +1,3828 @@ + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XTD Long ... + // Resolve Stop Outs ... + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XTD Long ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) \ No newline at end of file diff --git a/Documents/Templates/Short-Template.mq5 b/Documents/Templates/Short-Template.mq5 new file mode 100644 index 00000000..613fa365 --- /dev/null +++ b/Documents/Templates/Short-Template.mq5 @@ -0,0 +1,3828 @@ + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XTD Short... + // Resolve Stop Outs ... + ( + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XTD Short... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow ... + ((mConditions.isXCHMALCFastOverSlow || + mConditions.isXCHMALCFastCrossedOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) \ No newline at end of file diff --git a/Documents/Templates/x-saherelm.template.provider.indicators.lib.mq5 b/Documents/Templates/x-saherelm.template.provider.indicators.lib.mq5 index 475c7296..3bf49ee9 100644 --- a/Documents/Templates/x-saherelm.template.provider.indicators.lib.mq5 +++ b/Documents/Templates/x-saherelm.template.provider.indicators.lib.mq5 @@ -28,3834 +28,7 @@ bool XUSPY5XTDHasLongSignal() // // Base Condition: xUSPY5Provider.XTDHasLongConditions() - // - && - // - // Exceptions: - // there some commonly Exceptions which makes our choice incorrect, - // here we are combined knownly Exceptions ... - !( - // - // XTD Long ... - // Resolve Stop Outs ... - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - ((mConditions.isXLHLLSameInLength && - mConditions.isXLHHHSameInLength) && - ( - // - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - (mConditions.isXLHPriceInSignalRange && - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - ((mConditions.isXLHPriceUnderSignal || - mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - ((mConditions.isXLHPriceOverSignal || - mConditions.isXLHPriceCrossedOverSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Free ... - ((!mConditions.isXLHPriceOverSignal && - !mConditions.isXLHPriceUnderSignal && - !mConditions.isXLHPriceInSignalRange && - !mConditions.isXLHPriceCrossedOverSignal && - !mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - ((mConditions.isXLHLLSameInLength && - !mConditions.isXLHHHSameInLength) && - ( - // - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price In Signal Range ... - (mConditions.isXLHPriceInSignalRange && - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Under Signal ... - ((mConditions.isXLHPriceUnderSignal || - mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Under Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Under Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Under Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Under Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Under Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Under Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Over Signal ... - ((mConditions.isXLHPriceOverSignal || - mConditions.isXLHPriceCrossedOverSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Over Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Over Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Over Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Over Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Over Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Over Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Free ... - ((!mConditions.isXLHPriceOverSignal && - !mConditions.isXLHPriceUnderSignal && - !mConditions.isXLHPriceInSignalRange && - !mConditions.isXLHPriceCrossedOverSignal && - !mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Free ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Free ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Free ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Free ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Free ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // LL Same In Length ... - // Price Free ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - ((!mConditions.isXLHLLSameInLength && - mConditions.isXLHHHSameInLength) && - ( - // - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price In Signal Range ... - (mConditions.isXLHPriceInSignalRange && - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Under Signal ... - ((mConditions.isXLHPriceUnderSignal || - mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Under Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Under Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Under Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Under Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Under Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Under Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Over Signal ... - ((mConditions.isXLHPriceOverSignal || - mConditions.isXLHPriceCrossedOverSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Over Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Over Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Over Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Over Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Over Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Over Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Free ... - ((!mConditions.isXLHPriceOverSignal && - !mConditions.isXLHPriceUnderSignal && - !mConditions.isXLHPriceInSignalRange && - !mConditions.isXLHPriceCrossedOverSignal && - !mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Free ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Free ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Free ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Free ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Free ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // HH Same In Length ... - // Price Free ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - ((mConditions.isXLHLLSameInLength && - mConditions.isXLHHHSameInLength) && - ( - // - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - (mConditions.isXLHPriceInSignalRange && - ( - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Under Signal ... - ((mConditions.isXLHPriceUnderSignal || - mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Over Signal ... - ((mConditions.isXLHPriceOverSignal || - mConditions.isXLHPriceCrossedOverSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Free ... - ((!mConditions.isXLHPriceOverSignal && - !mConditions.isXLHPriceUnderSignal && - !mConditions.isXLHPriceInSignalRange && - !mConditions.isXLHPriceCrossedOverSignal && - !mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Stop Outs ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - // XTD Long ... - // Resolve Guard Attacks ... - || - // - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - ((mConditions.isXLHLLSameInLength && - mConditions.isXLHHHSameInLength) && - ( - // - ( - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - (mConditions.isXLHPriceInSignalRange && - ( - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - ((mConditions.isXLHPriceUnderSignal || - mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Under Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - ((mConditions.isXLHPriceOverSignal || - mConditions.isXLHPriceCrossedOverSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Over Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Free ... - ((!mConditions.isXLHPriceOverSignal && - !mConditions.isXLHPriceUnderSignal && - !mConditions.isXLHPriceInSignalRange && - !mConditions.isXLHPriceCrossedOverSignal && - !mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // Both HH and LL Same In Length ... - // Price Free ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - ((mConditions.isXLHLLSameInLength && - !mConditions.isXLHHHSameInLength) && - ( - // - ( - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price In Signal Range ... - (mConditions.isXLHPriceInSignalRange && - ( - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Under Signal ... - ((mConditions.isXLHPriceUnderSignal || - mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Under Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Under Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Under Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Under Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Under Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Under Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Over Signal ... - ((mConditions.isXLHPriceOverSignal || - mConditions.isXLHPriceCrossedOverSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Over Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Over Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Over Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Over Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Over Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Over Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Free ... - ((!mConditions.isXLHPriceOverSignal && - !mConditions.isXLHPriceUnderSignal && - !mConditions.isXLHPriceInSignalRange && - !mConditions.isXLHPriceCrossedOverSignal && - !mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Free ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Free ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Free ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Free ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Free ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // LL Same In Length ... - // Price Free ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - ((!mConditions.isXLHLLSameInLength && - mConditions.isXLHHHSameInLength) && - ( - // - ( - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price In Signal Range ... - (mConditions.isXLHPriceInSignalRange && - ( - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Under Signal ... - ((mConditions.isXLHPriceUnderSignal || - mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Under Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Under Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Under Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Under Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Under Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Under Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Over Signal ... - ((mConditions.isXLHPriceOverSignal || - mConditions.isXLHPriceCrossedOverSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Over Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Over Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Over Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Over Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Over Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Over Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Free ... - ((!mConditions.isXLHPriceOverSignal && - !mConditions.isXLHPriceUnderSignal && - !mConditions.isXLHPriceInSignalRange && - !mConditions.isXLHPriceCrossedOverSignal && - !mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Free ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Free ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Free ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Free ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Free ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // HH Same In Length ... - // Price Free ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - ((mConditions.isXLHLLSameInLength && - mConditions.isXLHHHSameInLength) && - ( - // - ( - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - (mConditions.isXLHPriceInSignalRange && - ( - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price In Signal Range ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Under Signal ... - ((mConditions.isXLHPriceUnderSignal || - mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Under Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Over Signal ... - ((mConditions.isXLHPriceOverSignal || - mConditions.isXLHPriceCrossedOverSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Over Signal ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Free ... - ((!mConditions.isXLHPriceOverSignal && - !mConditions.isXLHPriceUnderSignal && - !mConditions.isXLHPriceInSignalRange && - !mConditions.isXLHPriceCrossedOverSignal && - !mConditions.isXLHPriceCrossedUnderSignal) && - ( - // - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if SC Fast Under Slow ... - ((mConditions.isXCHMASCFastUnderSlow || - mConditions.isXCHMASCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if MC Fast Under Slow ... - ((mConditions.isXCHMAMCFastUnderSlow || - mConditions.isXCHMAMCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if LC Fast Under Slow ... - ((mConditions.isXCHMALCFastUnderSlow || - mConditions.isXCHMALCFastCrossedUnderSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if SC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMASCTrendsDown && - mConditions.isXCHMASCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if MC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMAMCTrendsDown && - mConditions.isXCHMAMCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - || - // - // XTD Long ... - // Resolve Guard Attacks ... - // not LL and HH Same In Length ... - // Price Free ... - // Check if LC Fast Over Slow But Trends Down ... - ((mConditions.isXCHMALCTrendsDown && - mConditions.isXCHMALCFastOverSlow) && - ( - // - false - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) - // - ) + // ; diff --git a/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 b/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 index b32c4837..3475b9be 100644 --- a/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -7890,23 +7890,13 @@ bool XUSPY5XTAMHasLongSignal() ( // ((mConditions.isXTDBullUnderBear && - mConditions.isXTDSignalUnderBear && - mConditions.isXTSCurrentUnderMediest) && + mConditions.isXTDSignalUnderBear) && ( // - (mConditions.isXTDSignalVale && - mConditions.isXTDBullishVale) - // - || - // - ((mConditions.isXCHMALCPeak && - mConditions.isXLHLLIncreased) && + ((mConditions.isXTSAllSame && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHMCLCHHSame) && ( - // - (mConditions.isXTMVale && - mConditions.isXAMAVale) - // - || // (mConditions.isXTMBearish && mConditions.isXAMABearish) @@ -7915,6 +7905,36 @@ bool XUSPY5XTAMHasLongSignal() // ) // + || + // + (mConditions.isXTSCurrentUnderMediest && + ( + // + (mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale) + // + || + // + ((mConditions.isXCHMALCPeak && + mConditions.isXLHLLIncreased) && + ( + // + (mConditions.isXTMVale && + mConditions.isXAMAVale) + // + || + // + (mConditions.isXTMBearish && + mConditions.isXAMABearish) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -8032,7 +8052,14 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMASCFastCrossedUnderSlow) && ( // - false + (mConditions.isXTMBearish && + mConditions.isXAMABearish && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest && + mConditions.isXCHMALCPeak && + mConditions.isXCHMASCOverMax && + mConditions.isXLHPriceCrossedOverSignal) // ) // @@ -8066,7 +8093,10 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMALCFastCrossedUnderSlow) && ( // - false + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMax && + mConditions.isXCHLHMCLCHHSame) // ) // @@ -8557,6 +8587,13 @@ bool XUSPY5XTAMHasLongSignal() ((mConditions.isXCHMAMCFastUnderSlow || mConditions.isXCHMAMCFastCrossedUnderSlow) && ( + // + (mConditions.isXCHMALCPeak && + mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentMax && + mConditions.isXCHMASCOverMax) + // + || // (mConditions.isXTDSignalUnderBear && ( @@ -8586,10 +8623,39 @@ bool XUSPY5XTAMHasLongSignal() ( // (mConditions.isXCHMAMCPeak && - mConditions.isXTSCurrentMax && - mConditions.isXCHMASCOverMax && - mConditions.isXCHLHSCMCHHSame && - mConditions.isXRSICrossedOverLongExit) + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentUnderNearest) + // + || + // + ((mConditions.isXTSCurrentMax && + mConditions.isXCHLHSCMCHHSame) && + ( + // + (mConditions.isXCHMASCOverMax && + mConditions.isXRSICrossedOverLongExit) + // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXLHLLIncreased && + mConditions.isXTSCurrentCrossedOverNearest) + // + || + // + (mConditions.isXCHMASCOverMin && + mConditions.isXCHMASCUnderMax && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) + // + ) + // + ) // ) // @@ -8658,24 +8724,45 @@ bool XUSPY5XTAMHasLongSignal() ( // ((mConditions.isXTSCurrentMax && - mConditions.isXCHMASCOverMax && - mConditions.isXLHHighAttachedHH && - mConditions.isXCHMAMCFastCrossedOverSlow) && + mConditions.isXCHMASCOverMax) && ( - // - (mConditions.isXCHMASCPeak && - mConditions.isXCHLHSCMCHHSame) - // - || // ((mConditions.isXTMStartBullish && mConditions.isXAMAStartBullish) && ( // - (mConditions.isXCHLHSameHHs && - mConditions.isXCHMASCCrossedOverMax && - mConditions.isXLHPriceCrossedOverSignal && - mConditions.isXTSCurrentCrossedOverNearest) + (mConditions.isXCHMALCPeak && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXTDSignalUnderBear && + mConditions.isXLHPriceCrossedOverSignal) + // + ) + // + ) + // + || + // + ((mConditions.isXLHHighAttachedHH && + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + (mConditions.isXCHMASCPeak && + mConditions.isXCHLHSCMCHHSame) + // + || + // + ((mConditions.isXTMStartBullish && + mConditions.isXAMAStartBullish) && + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXCHMASCCrossedOverMax && + mConditions.isXLHPriceCrossedOverSignal && + mConditions.isXTSCurrentCrossedOverNearest) + // + ) + // + ) // ) // @@ -8979,7 +9066,20 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMAMCFastCrossedUnderSlow) && ( // - false + ((mConditions.isXTMBearish && + mConditions.isXAMABearish && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXTSAllSame && + mConditions.isXCHMAMCVale && + mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) // ) // @@ -9077,7 +9177,25 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMASCFastCrossedUnderSlow) && ( // - false + (mConditions.isXTDSignalUnderBear && + ( + // + ((mConditions.isXCHMALCPeak && + mConditions.isXTSCurrentMax && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + (mConditions.isXTMBearish && + mConditions.isXAMABearish) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10525,14 +10643,24 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXTDSignalUnderBear) && ( // - (mConditions.isXTDSignalVale && - mConditions.isXTDBullishVale && - mConditions.isXCHMALCVale && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHMCLCLLSame && - mConditions.isXCHMASCUnderMin && - mConditions.isXCHMASCCrossedUnderMin && - mConditions.isXTSCurrentCrossedUnderNearest) + ((mConditions.isXCHMALCVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHMASCCrossedUnderMin) && + ( + // + mConditions.isXTSCurrentOverFarest + // + || + // + (mConditions.isXTSCurrentMin && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) // ) // @@ -10639,7 +10767,36 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMALCFastCrossedOverSlow) && ( // - false + (mConditions.isXTSCurrentOverMediest && + ( + // + (mConditions.isXTSCurrentOverNearest && + ( + // + (mConditions.isXTSCurrentCrossedOverNearest && + mConditions.isXTSCurrentCrossedOverMediest) + // + ) + // + ) + // + || + // + (mConditions.isXTSCurrentOverFarest && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXLHLLIncreased) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10720,13 +10877,60 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMASCFastCrossedOverSlow) && ( // - (mConditions.isXTMBullish && - mConditions.isXAMABullish && - mConditions.isXCHMASCPeak && - mConditions.isXTDBullOverBear && - mConditions.isXTDSignalOverBear && - mConditions.isXTSCurrentOverFarest && - mConditions.isXTSCurrentOverMediest) + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXTDBullCrossedOverBear && + ( + // + (mConditions.isXTSCurrentOverMediest && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) + // + ) + // + ) + // + || + // + (mConditions.isXTDBullOverBear && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin) + // + || + // + ((mConditions.isXCHMASCPeak && + mConditions.isXTDSignalOverBear) && + ( + // + mConditions.isXCHMASCTrendsUp + // + || + // + (mConditions.isXTSCurrentOverFarest && + mConditions.isXTSCurrentOverMediest) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10743,7 +10947,42 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - false + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHMASCUnderMin && + mConditions.isXTSCurrentOverMediest && + mConditions.isXTDBullCrossedOverBear) + // + ) + // + ) + // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCOverMax && + mConditions.isXLHHHIncreased && + mConditions.isXTDBullOverBear && + mConditions.isXCHLHMCLCHHSame) + // + ) + // + ) + // + ) + // + ) // ) // @@ -11233,9 +11472,22 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXAMABullish) && ( // - (mConditions.isXTDSignalOverBear && - mConditions.isXTSCurrentOverFarest && - mConditions.isXTSCurrentOverMediest) + (mConditions.isXTSCurrentOverFarest && + ( + // + (mConditions.isXTDSignalOverBear && + mConditions.isXTSCurrentOverMediest) + // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) // ) // @@ -11272,13 +11524,55 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastUnderSlow) && ( // - (mConditions.isXCHMALCVale && - mConditions.isXTMNeutural && - mConditions.isXAMANeutural && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCHHSame && - mConditions.isXCHLHMCLCLLSame && - mConditions.isXTSCurrentCrossedUnderFarest) + ((mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXCHLHMCLCLLSame) && + ( + // + (mConditions.isXTMNeutural && + ( + // + ((mConditions.isXAMANeutural && + mConditions.isXTSCurrentMin) && + ( + // + mConditions.isXTSCurrentCrossedUnderFarest + // + || + // + (mConditions.isXTMEndBullish && + mConditions.isXAMAEndBullish) + // + ) + // + ) + // + || + // + ((mConditions.isXAMABullish && + mConditions.isXTDBullOverBear && + mConditions.isXTSCurrentOverFarest) && + ( + // + mConditions.isXTDSignalOverBear + // + || + // + (mConditions.isXTMBullish && + mConditions.isXTSCurrentMax && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -11528,7 +11822,11 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMASCFastCrossedOverSlow) && ( // - false + (mConditions.isXTMBullish && + mConditions.isXAMABullish && + mConditions.isXTDBullOverBear && + mConditions.isXTSCurrentOverMediest && + mConditions.isXTDSignalCrossedOverBear) // ) // @@ -11660,11 +11958,27 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - (mConditions.isXCHMALCVale && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCLLSame && - mConditions.isXCHMASCUnderMin && - mConditions.isXLHLowAttachedLL) + ((mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin) && + ( + // + (mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL) + // + || + // + (mConditions.isXTMVale && + mConditions.isXAMAVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXCHMASCCrossedUnderMin) + // + ) + // + ) // ) // @@ -11680,6 +11994,24 @@ bool XUSPY5XTAMHasShortSignal() ((mConditions.isXCHMALCFastOverSlow || mConditions.isXCHMALCFastCrossedOverSlow) && ( + // + ((mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHMASCCrossedUnderMin) + // + ) + // + ) + // + || // (mConditions.isXCHMALCPeak && ( @@ -11821,6 +12153,37 @@ bool XUSPY5XTAMHasShortSignal() // ) // + || + // + (mConditions.isXTDBullUnderBear && + ( + // + ((mConditions.isXCHMALCVale && + mConditions.isXCHMASCUnderMin && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXCHMASCCrossedUnderMin && + mConditions.isXTSCurrentCrossedOverNearest && + mConditions.isXTSCurrentCrossedOverMediest) + // + || + // + (mConditions.isXTSCurrentMin && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -11866,7 +12229,34 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - false + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXCHMAMCTrendsUp && + ( + // + ((mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCPeak && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCOverMax && + mConditions.isXCHLHMCLCHHSame) && + ( + // + (mConditions.isXTMStartBearish && + mConditions.isXAMAStartBearish) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // diff --git a/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 b/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 index b32c4837..3475b9be 100644 --- a/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -7890,23 +7890,13 @@ bool XUSPY5XTAMHasLongSignal() ( // ((mConditions.isXTDBullUnderBear && - mConditions.isXTDSignalUnderBear && - mConditions.isXTSCurrentUnderMediest) && + mConditions.isXTDSignalUnderBear) && ( // - (mConditions.isXTDSignalVale && - mConditions.isXTDBullishVale) - // - || - // - ((mConditions.isXCHMALCPeak && - mConditions.isXLHLLIncreased) && + ((mConditions.isXTSAllSame && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHMCLCHHSame) && ( - // - (mConditions.isXTMVale && - mConditions.isXAMAVale) - // - || // (mConditions.isXTMBearish && mConditions.isXAMABearish) @@ -7915,6 +7905,36 @@ bool XUSPY5XTAMHasLongSignal() // ) // + || + // + (mConditions.isXTSCurrentUnderMediest && + ( + // + (mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale) + // + || + // + ((mConditions.isXCHMALCPeak && + mConditions.isXLHLLIncreased) && + ( + // + (mConditions.isXTMVale && + mConditions.isXAMAVale) + // + || + // + (mConditions.isXTMBearish && + mConditions.isXAMABearish) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -8032,7 +8052,14 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMASCFastCrossedUnderSlow) && ( // - false + (mConditions.isXTMBearish && + mConditions.isXAMABearish && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest && + mConditions.isXCHMALCPeak && + mConditions.isXCHMASCOverMax && + mConditions.isXLHPriceCrossedOverSignal) // ) // @@ -8066,7 +8093,10 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMALCFastCrossedUnderSlow) && ( // - false + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMax && + mConditions.isXCHLHMCLCHHSame) // ) // @@ -8557,6 +8587,13 @@ bool XUSPY5XTAMHasLongSignal() ((mConditions.isXCHMAMCFastUnderSlow || mConditions.isXCHMAMCFastCrossedUnderSlow) && ( + // + (mConditions.isXCHMALCPeak && + mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentMax && + mConditions.isXCHMASCOverMax) + // + || // (mConditions.isXTDSignalUnderBear && ( @@ -8586,10 +8623,39 @@ bool XUSPY5XTAMHasLongSignal() ( // (mConditions.isXCHMAMCPeak && - mConditions.isXTSCurrentMax && - mConditions.isXCHMASCOverMax && - mConditions.isXCHLHSCMCHHSame && - mConditions.isXRSICrossedOverLongExit) + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentUnderNearest) + // + || + // + ((mConditions.isXTSCurrentMax && + mConditions.isXCHLHSCMCHHSame) && + ( + // + (mConditions.isXCHMASCOverMax && + mConditions.isXRSICrossedOverLongExit) + // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXLHLLIncreased && + mConditions.isXTSCurrentCrossedOverNearest) + // + || + // + (mConditions.isXCHMASCOverMin && + mConditions.isXCHMASCUnderMax && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) + // + ) + // + ) // ) // @@ -8658,24 +8724,45 @@ bool XUSPY5XTAMHasLongSignal() ( // ((mConditions.isXTSCurrentMax && - mConditions.isXCHMASCOverMax && - mConditions.isXLHHighAttachedHH && - mConditions.isXCHMAMCFastCrossedOverSlow) && + mConditions.isXCHMASCOverMax) && ( - // - (mConditions.isXCHMASCPeak && - mConditions.isXCHLHSCMCHHSame) - // - || // ((mConditions.isXTMStartBullish && mConditions.isXAMAStartBullish) && ( // - (mConditions.isXCHLHSameHHs && - mConditions.isXCHMASCCrossedOverMax && - mConditions.isXLHPriceCrossedOverSignal && - mConditions.isXTSCurrentCrossedOverNearest) + (mConditions.isXCHMALCPeak && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXTDSignalUnderBear && + mConditions.isXLHPriceCrossedOverSignal) + // + ) + // + ) + // + || + // + ((mConditions.isXLHHighAttachedHH && + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + (mConditions.isXCHMASCPeak && + mConditions.isXCHLHSCMCHHSame) + // + || + // + ((mConditions.isXTMStartBullish && + mConditions.isXAMAStartBullish) && + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXCHMASCCrossedOverMax && + mConditions.isXLHPriceCrossedOverSignal && + mConditions.isXTSCurrentCrossedOverNearest) + // + ) + // + ) // ) // @@ -8979,7 +9066,20 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMAMCFastCrossedUnderSlow) && ( // - false + ((mConditions.isXTMBearish && + mConditions.isXAMABearish && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXTSAllSame && + mConditions.isXCHMAMCVale && + mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) // ) // @@ -9077,7 +9177,25 @@ bool XUSPY5XTAMHasLongSignal() mConditions.isXCHMASCFastCrossedUnderSlow) && ( // - false + (mConditions.isXTDSignalUnderBear && + ( + // + ((mConditions.isXCHMALCPeak && + mConditions.isXTSCurrentMax && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + (mConditions.isXTMBearish && + mConditions.isXAMABearish) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10525,14 +10643,24 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXTDSignalUnderBear) && ( // - (mConditions.isXTDSignalVale && - mConditions.isXTDBullishVale && - mConditions.isXCHMALCVale && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHMCLCLLSame && - mConditions.isXCHMASCUnderMin && - mConditions.isXCHMASCCrossedUnderMin && - mConditions.isXTSCurrentCrossedUnderNearest) + ((mConditions.isXCHMALCVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHMASCCrossedUnderMin) && + ( + // + mConditions.isXTSCurrentOverFarest + // + || + // + (mConditions.isXTSCurrentMin && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) // ) // @@ -10639,7 +10767,36 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMALCFastCrossedOverSlow) && ( // - false + (mConditions.isXTSCurrentOverMediest && + ( + // + (mConditions.isXTSCurrentOverNearest && + ( + // + (mConditions.isXTSCurrentCrossedOverNearest && + mConditions.isXTSCurrentCrossedOverMediest) + // + ) + // + ) + // + || + // + (mConditions.isXTSCurrentOverFarest && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXLHLLIncreased) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10720,13 +10877,60 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMASCFastCrossedOverSlow) && ( // - (mConditions.isXTMBullish && - mConditions.isXAMABullish && - mConditions.isXCHMASCPeak && - mConditions.isXTDBullOverBear && - mConditions.isXTDSignalOverBear && - mConditions.isXTSCurrentOverFarest && - mConditions.isXTSCurrentOverMediest) + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXTDBullCrossedOverBear && + ( + // + (mConditions.isXTSCurrentOverMediest && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) + // + ) + // + ) + // + || + // + (mConditions.isXTDBullOverBear && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin) + // + || + // + ((mConditions.isXCHMASCPeak && + mConditions.isXTDSignalOverBear) && + ( + // + mConditions.isXCHMASCTrendsUp + // + || + // + (mConditions.isXTSCurrentOverFarest && + mConditions.isXTSCurrentOverMediest) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -10743,7 +10947,42 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - false + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHMASCUnderMin && + mConditions.isXTSCurrentOverMediest && + mConditions.isXTDBullCrossedOverBear) + // + ) + // + ) + // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCOverMax && + mConditions.isXLHHHIncreased && + mConditions.isXTDBullOverBear && + mConditions.isXCHLHMCLCHHSame) + // + ) + // + ) + // + ) + // + ) // ) // @@ -11233,9 +11472,22 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXAMABullish) && ( // - (mConditions.isXTDSignalOverBear && - mConditions.isXTSCurrentOverFarest && - mConditions.isXTSCurrentOverMediest) + (mConditions.isXTSCurrentOverFarest && + ( + // + (mConditions.isXTDSignalOverBear && + mConditions.isXTSCurrentOverMediest) + // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) // ) // @@ -11272,13 +11524,55 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastUnderSlow) && ( // - (mConditions.isXCHMALCVale && - mConditions.isXTMNeutural && - mConditions.isXAMANeutural && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCHHSame && - mConditions.isXCHLHMCLCLLSame && - mConditions.isXTSCurrentCrossedUnderFarest) + ((mConditions.isXCHMALCVale && + mConditions.isXCHLHSCMCHHSame && + mConditions.isXCHLHMCLCLLSame) && + ( + // + (mConditions.isXTMNeutural && + ( + // + ((mConditions.isXAMANeutural && + mConditions.isXTSCurrentMin) && + ( + // + mConditions.isXTSCurrentCrossedUnderFarest + // + || + // + (mConditions.isXTMEndBullish && + mConditions.isXAMAEndBullish) + // + ) + // + ) + // + || + // + ((mConditions.isXAMABullish && + mConditions.isXTDBullOverBear && + mConditions.isXTSCurrentOverFarest) && + ( + // + mConditions.isXTDSignalOverBear + // + || + // + (mConditions.isXTMBullish && + mConditions.isXTSCurrentMax && + mConditions.isXLHHighAttachedHH) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -11528,7 +11822,11 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMASCFastCrossedOverSlow) && ( // - false + (mConditions.isXTMBullish && + mConditions.isXAMABullish && + mConditions.isXTDBullOverBear && + mConditions.isXTSCurrentOverMediest && + mConditions.isXTDSignalCrossedOverBear) // ) // @@ -11660,11 +11958,27 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - (mConditions.isXCHMALCVale && - mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCLLSame && - mConditions.isXCHMASCUnderMin && - mConditions.isXLHLowAttachedLL) + ((mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin) && + ( + // + (mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL) + // + || + // + (mConditions.isXTMVale && + mConditions.isXAMAVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXCHMASCCrossedUnderMin) + // + ) + // + ) // ) // @@ -11680,6 +11994,24 @@ bool XUSPY5XTAMHasShortSignal() ((mConditions.isXCHMALCFastOverSlow || mConditions.isXCHMALCFastCrossedOverSlow) && ( + // + ((mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHMASCCrossedUnderMin) + // + ) + // + ) + // + || // (mConditions.isXCHMALCPeak && ( @@ -11821,6 +12153,37 @@ bool XUSPY5XTAMHasShortSignal() // ) // + || + // + (mConditions.isXTDBullUnderBear && + ( + // + ((mConditions.isXCHMALCVale && + mConditions.isXCHMASCUnderMin && + mConditions.isXTDSignalUnderBear) && + ( + // + (mConditions.isXCHMASCCrossedUnderMin && + mConditions.isXTSCurrentCrossedOverNearest && + mConditions.isXTSCurrentCrossedOverMediest) + // + || + // + (mConditions.isXTSCurrentMin && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -11866,7 +12229,34 @@ bool XUSPY5XTAMHasShortSignal() mConditions.isXCHMAMCFastCrossedOverSlow) && ( // - false + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXCHMAMCTrendsUp && + ( + // + ((mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCPeak && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCOverMax && + mConditions.isXCHLHMCLCHHSame) && + ( + // + (mConditions.isXTMStartBearish && + mConditions.isXAMAStartBearish) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) // ) //