From 9648770c9a849e762779848777b5ba730d6ec2a8 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Wed, 6 Mar 2024 23:37:11 +0330 Subject: [PATCH] Resolve XUSPY5 XTD All Guard Attacks in Alpari ... --- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 98 +- ...erelm.template.provider.indicators.lib.mq5 | 61764 ++++++++++++++++ Documents/XAU5-Guards/Guards.yml | 112 + ...aherelm.xuspy5.provider.indicators.lib.mq5 | 98 +- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 98 +- 5 files changed, 62164 insertions(+), 6 deletions(-) create mode 100644 Documents/Templates/x-saherelm.template.provider.indicators.lib.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 a096f722..5d0adcaf 100644 --- a/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -4296,6 +4296,13 @@ bool XUSPY5XTDHasLongSignal() (mConditions.isXCHMALCPeak && mConditions.isXTDBearishVale) // + || + // + (mConditions.isXCHMALCPeak && + mConditions.isXLHLLDecreased && + mConditions.isXTMStartBullish && + mConditions.isXLHPriceCrossedOverSignal) + // ) // ) @@ -4849,6 +4856,11 @@ bool XUSPY5XTDHasLongSignal() // ) // + || + // + (mConditions.isXCHMASCOverMax && + mConditions.isXCHMASCCrossedOverMax) + // ) // ) @@ -5776,8 +5788,20 @@ bool XUSPY5XTDHasLongSignal() // || // - (mConditions.isXTDBearishVale && - mConditions.isXLHLLSameInLength) + (mConditions.isXLHLLSameInLength && + ( + // + mConditions.isXTDBearishVale + // + || + // + (mConditions.isXTSAllSame && + mConditions.isXLHLLIncreased && + mConditions.isXCHLHSCMCHHSame) + // + ) + // + ) // ) // @@ -6597,6 +6621,31 @@ bool XUSPY5XTDHasShortSignal() // isXTSCurrentOverFarest (mConditions.isXTSCurrentOverFarest && ( + // + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + (mConditions.isXCHMAMCTrendsUp && + ( + // + (mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHSameHHs && + mConditions.isXCHMASCOverMax) + // + ) + // + ) + // + ) + // + ) + // + || // // Check LC Fast Under Slow ... ((mConditions.isXCHMALCFastUnderSlow || @@ -6678,6 +6727,31 @@ bool XUSPY5XTDHasShortSignal() // isXTSCurrentOverMediest (mConditions.isXTSCurrentOverMediest && ( + // + (mConditions.isXTSCurrentOverFarest && + ( + // + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + (mConditions.isXTMBullish && + mConditions.isXAMABullish && + mConditions.isXCHMALCVale && + mConditions.isXLHHHIncreased && + mConditions.isXTDBullOverBear && + mConditions.isXCHLHSCMCHHSame) + // + ) + // + ) + // + ) + // + ) + // + || // ((mConditions.isXCHMALCTrendsDown && mConditions.isXCHMALCFastUnderSlow) && @@ -6882,6 +6956,26 @@ bool XUSPY5XTDHasShortSignal() // (mConditions.isXLHPriceUnderSignal && ( + // + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXTSAllSame && + ( + // + (mConditions.isXTMStartBearish && + mConditions.isXAMAStartBearish) + // + ) + // + ) + // + ) + // + ) + // + || // ((mConditions.isXTMNeutural && mConditions.isXCHMALCVale && diff --git a/Documents/Templates/x-saherelm.template.provider.indicators.lib.mq5 b/Documents/Templates/x-saherelm.template.provider.indicators.lib.mq5 new file mode 100644 index 00000000..475c7296 --- /dev/null +++ b/Documents/Templates/x-saherelm.template.provider.indicators.lib.mq5 @@ -0,0 +1,61764 @@ + +// +// +// + +// +// XTD Long Signal Checking ... +bool XUSPY5XTDHasLongSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXTDEnableSignaller || + !xUSPY5MXTDAllowLongSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XTD Short Signal Checking ... +bool XUSPY5XTDHasShortSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXTDEnableSignaller || + !xUSPY5MXTDAllowShortSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XTDHasShortConditions() + // + && + // + // 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 Short ... + // 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 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 Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTD Short ... + // 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 Short ... + // 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 Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XTAM Long Signal Checking ... +bool XUSPY5XTAMHasLongSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXTAMEnableSignaller || + !xUSPY5MXTAMAllowLongSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XTAMHasLongConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XTAM Long ... + // Resolve Stop Outs ... + ( + // + // XTAM Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XTAM Long ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + || + // + // XTAM 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XTAM Short Signal Checking ... +bool XUSPY5XTAMHasShortSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXTAMEnableSignaller || + !xUSPY5MXTAMAllowShortSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XTAMHasShortConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XTAM Short ... + // Resolve Stop Outs ... + ( + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XTAM Short ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + || + // + // XTAM Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XSI Long Signal Checking ... +bool XUSPY5XSIHasLongSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXSIEnableSignaller || + !xUSPY5MXSIAllowLongSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XSIHasLongConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XSI Long ... + // Resolve Stop Outs ... + ( + // + // XSI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XSI Long ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + || + // + // XSI 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XSI Short Signal Checking ... +bool XUSPY5XSIHasShortSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXSIEnableSignaller || + !xUSPY5MXSIAllowShortSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XSIHasShortConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XSI Short ... + // Resolve Stop Outs ... + ( + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XSI Short ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + || + // + // XSI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XTSFI Long Signal Checking ... +bool XUSPY5XTSFIHasLongSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXTSFIEnableSignaller || + !xUSPY5MXTSFIAllowLongSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XTSFIHasLongConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XTSFI Long ... + // Resolve Stop Outs ... + ( + // + // XTSFI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XTSFI Long ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + || + // + // XTSFI 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XTSFI Short Signal Checking ... +bool XUSPY5XTSFIHasShortSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXTSFIEnableSignaller || + !xUSPY5MXTSFIAllowShortSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XTSFIHasShortConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XTSFI Short ... + // Resolve Stop Outs ... + ( + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XTSFI Short ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + || + // + // XTSFI Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XOBDLH Long Signal Checking ... +bool XUSPY5XOBDLHHasLongSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXOBDLHEnableSignaller || + !xUSPY5MXOBDLHAllowLongSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XOBDLHHasLongConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XOBDLH Long ... + // Resolve Stop Outs ... + ( + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + || + // + // XOBDLH 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XOBDLH Short Signal Checking ... +bool XUSPY5XOBDLHHasShortSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXOBDLHEnableSignaller || + !xUSPY5MXOBDLHAllowShortSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XOBDLHHasShortConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XOBDLH Short ... + // Resolve Stop Outs ... + ( + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + || + // + // XOBDLH Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XCHMACC Long Signal Checking ... +bool XUSPY5XCHMACCHasLongSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXCHMACCEnableSignaller || + !xUSPY5MXCHMACCAllowLongSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XCHMACCHasLongConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XCHMACC Long ... + // Resolve Stop Outs ... + ( + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + || + // + // XCHMACC 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XCHMACC Short Signal Checking ... +bool XUSPY5XCHMACCHasShortSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXCHMACCEnableSignaller || + !xUSPY5MXCHMACCAllowShortSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XCHMACCHasShortConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XCHMACC Short ... + // Resolve Stop Outs ... + ( + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMACC Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XCHMAMN Long Signal Checking ... +bool XUSPY5XCHMAMNHasLongSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXCHMAMNEnableSignaller || + !xUSPY5MXCHMAMNAllowLongSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XCHMAMNHasLongConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + ( + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + || + // + // XCHMAMN 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XCHMAMN Short Signal Checking ... +bool XUSPY5XCHMAMNHasShortSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXCHMAMNEnableSignaller || + !xUSPY5MXCHMAMNAllowShortSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XCHMAMNHasShortConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + ( + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMN Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XCHMAMX Long Signal Checking ... +bool XUSPY5XCHMAMXHasLongSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXCHMAMXEnableSignaller || + !xUSPY5MXCHMAMXAllowLongSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XCHMAMXHasLongConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + ( + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Long ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + || + // + // XCHMAMX 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} + +// +// XCHMAMX Short Signal Checking ... +bool XUSPY5XCHMAMXHasShortSignal() +{ + // + bool result = false; + + // + // Validate Args ... + if (!xUSPY5MXCHMAMXEnableSignaller || + !xUSPY5MXCHMAMXAllowShortSignals) + { + return result; + } + + // + // Retrieve Market Condition ... + XMarketConditions mConditions = xUSPY5Provider.GetLastMarketCondition(); + + // + // Start Analysing Market based On Conditions ... + result = + // + // Base Condition: + xUSPY5Provider.XCHMAMXHasShortConditions() + // + && + // + // Exceptions: + // there some commonly Exceptions which makes our choice incorrect, + // here we are combined knownly Exceptions ... + !( + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + ( + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Stop Outs ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + || + // + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // Both HH and LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + ((mConditions.isXLHLLSameInLength && + !mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // LL Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + ((!mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price In Signal Range ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if SC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMASCTrendsDown && + mConditions.isXCHMASCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if MC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // HH Same In Length ... + // Price Free ... + // Check if LC Fast Over Slow But Trends Down ... + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastOverSlow) && + ( + // + false + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + ((mConditions.isXLHLLSameInLength && + mConditions.isXLHHHSameInLength) && + ( + // + ( + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price In Signal Range ... + (mConditions.isXLHPriceInSignalRange && + ( + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + ((mConditions.isXLHPriceUnderSignal || + mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Under Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + ((mConditions.isXLHPriceOverSignal || + mConditions.isXLHPriceCrossedOverSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Over Signal ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + ((!mConditions.isXLHPriceOverSignal && + !mConditions.isXLHPriceUnderSignal && + !mConditions.isXLHPriceInSignalRange && + !mConditions.isXLHPriceCrossedOverSignal && + !mConditions.isXLHPriceCrossedUnderSignal) && + ( + // + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if MC Fast Under Slow ... + ((mConditions.isXCHMAMCFastUnderSlow || + mConditions.isXCHMAMCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // Resolve Guard Attacks ... + // not LL and HH Same In Length ... + // Price Free ... + // Check if LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + false + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + || + // + // XCHMAMX Short ... + // 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 + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ) + // + ; + + // + return result; +} diff --git a/Documents/XAU5-Guards/Guards.yml b/Documents/XAU5-Guards/Guards.yml index e69de29b..0c94f918 100644 --- a/Documents/XAU5-Guards/Guards.yml +++ b/Documents/XAU5-Guards/Guards.yml @@ -0,0 +1,112 @@ +RO 0 22:21:55.637 Core 1 2023.03.27 14:50:00 XUSPY5EA > Short Signal Provided by: +DN 0 22:21:55.637 Core 1 2023.03.27 14:50:00 XTD +FL 0 22:21:55.637 Core 1 2023.03.27 14:50:00 Pusher: 1 +NF 0 22:21:55.637 Core 1 2023.03.27 14:50:00 Market Conditions: +OM 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XOBD | +RE 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +CS 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XTM | +IG 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXTMNeutural: true +LO 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +QH 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XAMA | +QP 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXAMANeutural: true +JJ 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +DO 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XTD | +MS 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXTDBullOverBear: true +MO 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXTDSignalCrossedUnderBear: true +PI 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +KN 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XFI | +GN 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXFIUnderZero: true +PL 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXFICrossedUnderZero: true +DJ 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +OI 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XTS | +ML 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXTSCurrentOverFarest: true +ES 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXTSCurrentUnderMediest: true +ND 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXTSCurrentCrossedUnderMediest: true +JO 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +HE 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XLH | +QP 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXLHPriceOverSignal: true +RH 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +DS 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XRSI | +FK 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +EH 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XCHLH | +DM 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHLHSameHHs: true +IK 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHLHSCMCHHSame: true +JR 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHLHSCLCHHSame: true +LL 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHLHMCLCHHSame: true +CJ 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHLHMCOnTopOfLC: true +HQ 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +KF 0 22:21:55.637 Core 1 2023.03.27 14:50:00 | XCHMA | +KQ 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMASCOverMax: true +GI 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMASCOverMin: true +DS 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMASCFastUnderSlow: true +LG 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMAMCPeak: true +DR 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMAMCTrendsUp: true +JH 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMAMCFastOverSlow: true +KR 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMALCPeak: true +JH 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMALCTrendsDown: true +GK 0 22:21:55.637 Core 1 2023.03.27 14:50:00 isXCHMALCFastUnderSlow: true +JR 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +LK 0 22:21:55.637 Core 1 2023.03.27 14:50:00 +FI 0 22:21:55.637 Core 1 2023.03.27 14:50:00 instant sell 3.79 USDJPY_i at 131.383 tp: 131.353 (131.383 / 131.405) +ID 0 22:21:55.637 Core 1 2023.03.27 14:50:00 deal #438 sell 3.79 USDJPY_i at 131.383 done (based on order #438) +LD 0 22:21:55.637 Core 1 2023.03.27 14:50:00 deal performed [#438 sell 3.79 USDJPY_i at 131.383] +IM 0 22:21:55.637 Core 1 2023.03.27 14:50:00 order performed sell 3.79 at 131.383 [#438 sell 3.79 USDJPY_i at 131.383] +LN 0 22:22:01.740 Core 1 2023.03.27 14:50:00 XUSPY5EA > T(438)_TY(Short)_TP(131.353)_SL(0.0)_RFS(0.0)_RFR(0.0), Providers: XTD + + + + + + +FG 0 22:21:12.911 Core 1 2021.09.06 00:55:03 XUSPY5EA > Short Signal Provided by: +HF 0 22:21:12.911 Core 1 2021.09.06 00:55:03 XTD +JD 0 22:21:12.911 Core 1 2021.09.06 00:55:03 Pusher: 1 +JO 0 22:21:12.911 Core 1 2021.09.06 00:55:03 Market Conditions: +CE 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XOBD | +FM 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +GK 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XTM | +JQ 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXTMBullish: true +NG 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +KP 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XAMA | +LF 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXAMABullish: true +JR 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +DG 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XTD | +MK 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXTDBullOverBear: true +MG 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXTDSignalCrossedUnderBear: true +PQ 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +KF 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XFI | +EH 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXFIOverZero: true +JL 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +IH 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XTS | +CO 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXTSCurrentOverFarest: true +MK 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXTSCurrentOverMediest: true +PJ 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXTSCurrentUnderNearest: true +CM 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXTSCurrentCrossedUnderNearest: true +LF 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +JM 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XLH | +DI 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXLHHHIncreased: true +EN 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXLHLLSameInLength: true +MF 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXLHPriceOverSignal: true +FN 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +HI 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XRSI | +JQ 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +QG 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XCHLH | +KM 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHLHSCMCHHSame: true +QJ 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHLHMCOnTopOfLC: true +RQ 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +QF 0 22:21:12.911 Core 1 2021.09.06 00:55:03 | XCHMA | +KG 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHMASCOverMin: true +IG 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHMASCUnderMax: true +FM 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHMASCFastOverSlow: true +GD 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHMAMCTrendsDown: true +JO 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHMAMCFastUnderSlow: true +DJ 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHMALCVale: true +KP 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHMALCTrendsUp: true +KD 0 22:21:12.911 Core 1 2021.09.06 00:55:03 isXCHMALCFastUnderSlow: true +NJ 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +PD 0 22:21:12.911 Core 1 2021.09.06 00:55:03 +OR 0 22:21:12.911 Core 1 2021.09.06 00:55:03 instant sell 1.92 USDJPY_i at 109.734 tp: 109.704 (109.734 / 109.784) +QL 0 22:21:12.911 Core 1 2021.09.06 00:55:03 deal #282 sell 1.92 USDJPY_i at 109.734 done (based on order #282) +IM 0 22:21:12.911 Core 1 2021.09.06 00:55:03 deal performed [#282 sell 1.92 USDJPY_i at 109.734] +PE 0 22:21:12.911 Core 1 2021.09.06 00:55:03 order performed sell 1.92 at 109.734 [#282 sell 1.92 USDJPY_i at 109.734] +GG 0 22:21:12.911 Core 1 2021.09.06 00:55:03 XUSPY5EA > T(282)_TY(Short)_TP(109.704)_SL(0.0)_RFS(0.0)_RFR(0.0), Providers: XTD \ No newline at end of file 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 a096f722..5d0adcaf 100644 --- a/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -4296,6 +4296,13 @@ bool XUSPY5XTDHasLongSignal() (mConditions.isXCHMALCPeak && mConditions.isXTDBearishVale) // + || + // + (mConditions.isXCHMALCPeak && + mConditions.isXLHLLDecreased && + mConditions.isXTMStartBullish && + mConditions.isXLHPriceCrossedOverSignal) + // ) // ) @@ -4849,6 +4856,11 @@ bool XUSPY5XTDHasLongSignal() // ) // + || + // + (mConditions.isXCHMASCOverMax && + mConditions.isXCHMASCCrossedOverMax) + // ) // ) @@ -5776,8 +5788,20 @@ bool XUSPY5XTDHasLongSignal() // || // - (mConditions.isXTDBearishVale && - mConditions.isXLHLLSameInLength) + (mConditions.isXLHLLSameInLength && + ( + // + mConditions.isXTDBearishVale + // + || + // + (mConditions.isXTSAllSame && + mConditions.isXLHLLIncreased && + mConditions.isXCHLHSCMCHHSame) + // + ) + // + ) // ) // @@ -6597,6 +6621,31 @@ bool XUSPY5XTDHasShortSignal() // isXTSCurrentOverFarest (mConditions.isXTSCurrentOverFarest && ( + // + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + (mConditions.isXCHMAMCTrendsUp && + ( + // + (mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHSameHHs && + mConditions.isXCHMASCOverMax) + // + ) + // + ) + // + ) + // + ) + // + || // // Check LC Fast Under Slow ... ((mConditions.isXCHMALCFastUnderSlow || @@ -6678,6 +6727,31 @@ bool XUSPY5XTDHasShortSignal() // isXTSCurrentOverMediest (mConditions.isXTSCurrentOverMediest && ( + // + (mConditions.isXTSCurrentOverFarest && + ( + // + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + (mConditions.isXTMBullish && + mConditions.isXAMABullish && + mConditions.isXCHMALCVale && + mConditions.isXLHHHIncreased && + mConditions.isXTDBullOverBear && + mConditions.isXCHLHSCMCHHSame) + // + ) + // + ) + // + ) + // + ) + // + || // ((mConditions.isXCHMALCTrendsDown && mConditions.isXCHMALCFastUnderSlow) && @@ -6882,6 +6956,26 @@ bool XUSPY5XTDHasShortSignal() // (mConditions.isXLHPriceUnderSignal && ( + // + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXTSAllSame && + ( + // + (mConditions.isXTMStartBearish && + mConditions.isXAMAStartBearish) + // + ) + // + ) + // + ) + // + ) + // + || // ((mConditions.isXTMNeutural && mConditions.isXCHMALCVale && diff --git a/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 b/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 index a096f722..5d0adcaf 100644 --- a/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -4296,6 +4296,13 @@ bool XUSPY5XTDHasLongSignal() (mConditions.isXCHMALCPeak && mConditions.isXTDBearishVale) // + || + // + (mConditions.isXCHMALCPeak && + mConditions.isXLHLLDecreased && + mConditions.isXTMStartBullish && + mConditions.isXLHPriceCrossedOverSignal) + // ) // ) @@ -4849,6 +4856,11 @@ bool XUSPY5XTDHasLongSignal() // ) // + || + // + (mConditions.isXCHMASCOverMax && + mConditions.isXCHMASCCrossedOverMax) + // ) // ) @@ -5776,8 +5788,20 @@ bool XUSPY5XTDHasLongSignal() // || // - (mConditions.isXTDBearishVale && - mConditions.isXLHLLSameInLength) + (mConditions.isXLHLLSameInLength && + ( + // + mConditions.isXTDBearishVale + // + || + // + (mConditions.isXTSAllSame && + mConditions.isXLHLLIncreased && + mConditions.isXCHLHSCMCHHSame) + // + ) + // + ) // ) // @@ -6597,6 +6621,31 @@ bool XUSPY5XTDHasShortSignal() // isXTSCurrentOverFarest (mConditions.isXTSCurrentOverFarest && ( + // + // Check if MC Fast Over Slow ... + ((mConditions.isXCHMAMCFastOverSlow || + mConditions.isXCHMAMCFastCrossedOverSlow) && + ( + // + (mConditions.isXCHMAMCTrendsUp && + ( + // + (mConditions.isXTMNeutural && + mConditions.isXAMANeutural && + mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCPeak && + mConditions.isXCHLHSameHHs && + mConditions.isXCHMASCOverMax) + // + ) + // + ) + // + ) + // + ) + // + || // // Check LC Fast Under Slow ... ((mConditions.isXCHMALCFastUnderSlow || @@ -6678,6 +6727,31 @@ bool XUSPY5XTDHasShortSignal() // isXTSCurrentOverMediest (mConditions.isXTSCurrentOverMediest && ( + // + (mConditions.isXTSCurrentOverFarest && + ( + // + // Check if SC Fast Over Slow ... + ((mConditions.isXCHMASCFastOverSlow || + mConditions.isXCHMASCFastCrossedOverSlow) && + ( + // + (mConditions.isXTMBullish && + mConditions.isXAMABullish && + mConditions.isXCHMALCVale && + mConditions.isXLHHHIncreased && + mConditions.isXTDBullOverBear && + mConditions.isXCHLHSCMCHHSame) + // + ) + // + ) + // + ) + // + ) + // + || // ((mConditions.isXCHMALCTrendsDown && mConditions.isXCHMALCFastUnderSlow) && @@ -6882,6 +6956,26 @@ bool XUSPY5XTDHasShortSignal() // (mConditions.isXLHPriceUnderSignal && ( + // + ((mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXTSAllSame && + ( + // + (mConditions.isXTMStartBearish && + mConditions.isXAMAStartBearish) + // + ) + // + ) + // + ) + // + ) + // + || // ((mConditions.isXTMNeutural && mConditions.isXCHMALCVale &&