From 37fef503c01bc53f8c041a624365aea84e46d95e Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Thu, 15 Feb 2024 15:19:14 +0330 Subject: [PATCH] Resolve XUSCHF5 XTSFI Longs All Stopouts in OANDA ... --- ...herelm.xuschf5.provider.indicators.lib.mq5 | 55 ++++++++++++++++++- ...herelm.xuschf5.provider.indicators.lib.mq5 | 55 ++++++++++++++++++- ...herelm.xuschf5.provider.indicators.lib.mq5 | 55 ++++++++++++++++++- 3 files changed, 162 insertions(+), 3 deletions(-) diff --git a/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 b/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 index 80d0fd5a..dae81adb 100644 --- a/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -4611,6 +4611,29 @@ bool XUSCHF5XTSFIHasLongSignal() // ) // + || + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + ((mConditions.isXTMBearish && + mConditions.isXAMABearish) && + ( + // + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -4873,7 +4896,32 @@ bool XUSCHF5XTSFIHasLongSignal() !mConditions.isXLHLLSameInLength) && // ( - false) + // + // Check LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXCHLHMCLCHHSame && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -4938,6 +4986,11 @@ bool XUSCHF5XTSFIHasLongSignal() ((mConditions.isXTMBullish && mConditions.isXAMABullish) && ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentUnderMediest) + // + || // ((!mConditions.isXCHMASCTrendsUp && !mConditions.isXCHMASCTrendsDown) && diff --git a/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 b/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 index 80d0fd5a..dae81adb 100644 --- a/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -4611,6 +4611,29 @@ bool XUSCHF5XTSFIHasLongSignal() // ) // + || + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + ((mConditions.isXTMBearish && + mConditions.isXAMABearish) && + ( + // + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -4873,7 +4896,32 @@ bool XUSCHF5XTSFIHasLongSignal() !mConditions.isXLHLLSameInLength) && // ( - false) + // + // Check LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXCHLHMCLCHHSame && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -4938,6 +4986,11 @@ bool XUSCHF5XTSFIHasLongSignal() ((mConditions.isXTMBullish && mConditions.isXAMABullish) && ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentUnderMediest) + // + || // ((!mConditions.isXCHMASCTrendsUp && !mConditions.isXCHMASCTrendsDown) && diff --git a/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 b/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 index 80d0fd5a..dae81adb 100644 --- a/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -4611,6 +4611,29 @@ bool XUSCHF5XTSFIHasLongSignal() // ) // + || + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + ((mConditions.isXTMBearish && + mConditions.isXAMABearish) && + ( + // + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest + // + ) + // + ) + // + ) + // + ) + // ) // ) @@ -4873,7 +4896,32 @@ bool XUSCHF5XTSFIHasLongSignal() !mConditions.isXLHLLSameInLength) && // ( - false) + // + // Check LC Fast Under Slow ... + ((mConditions.isXCHMALCFastUnderSlow || + mConditions.isXCHMALCFastCrossedUnderSlow) && + ( + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMAMCPeak && + mConditions.isXCHMALCVale && + mConditions.isXCHLHMCLCHHSame && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear && + mConditions.isXTSCurrentUnderMediest) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -4938,6 +4986,11 @@ bool XUSCHF5XTSFIHasLongSignal() ((mConditions.isXTMBullish && mConditions.isXAMABullish) && ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentUnderMediest) + // + || // ((!mConditions.isXCHMASCTrendsUp && !mConditions.isXCHMASCTrendsDown) &&