From 53dd66c8ed2376d24f6d5f133bbf156798539f2b Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Fri, 16 Feb 2024 18:34:29 -0800 Subject: [PATCH] Resolve XUSCHF5 XCHMACC Longs All Stopouts in OANDA ... --- ...herelm.xuschf5.provider.indicators.lib.mq5 | 66 ++++++++++++++++++- Documents/Templates/Brokers List.txt | 2 +- ...herelm.xuschf5.provider.indicators.lib.mq5 | 66 ++++++++++++++++++- ...herelm.xuschf5.provider.indicators.lib.mq5 | 66 ++++++++++++++++++- 4 files changed, 196 insertions(+), 4 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 9e14bb3c..59ef156d 100644 --- a/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -5940,7 +5940,36 @@ bool XUSCHF5XOBDLHHasLongSignal() mConditions.isXLHHHSameInLength) && // ( - false) + // + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXCHMAMCTrendsUp && + mConditions.isXCHMAMCFastUnderSlow) + // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHLHSameLLs && + mConditions.isXCHMASCTrendsUp && + mConditions.isXTDSignalUnderBear) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -6665,6 +6694,19 @@ bool XUSCHF5XCHMACCHasLongSignal() mConditions.isXCHLHMCLCHHSame && mConditions.isXTDSignalUnderBear) // + || + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXTSCurrentUnderNearest && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // ) // ) @@ -6682,6 +6724,22 @@ bool XUSCHF5XCHMACCHasLongSignal() !mConditions.isXLHHHSameInLength) && // ( + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentMax && + mConditions.isXCHMASCOverMax && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) + // + ) + // + ) + // + || // ((mConditions.isXCHMAMCTrendsDown && mConditions.isXCHMAMCFastOverSlow) && @@ -6712,6 +6770,12 @@ bool XUSCHF5XCHMACCHasLongSignal() ((mConditions.isXTMBullish && mConditions.isXAMABullish) && ( + // + (mConditions.isXTSCurrentMax && + mConditions.isXTDSignalUnderBear && + mConditions.isXRSICrossedOverLongExit) + // + || // (mConditions.isXCHLHSameHHs && mConditions.isXTSCurrentMax && diff --git a/Documents/Templates/Brokers List.txt b/Documents/Templates/Brokers List.txt index 7d3dd77a..5adabef4 100644 --- a/Documents/Templates/Brokers List.txt +++ b/Documents/Templates/Brokers List.txt @@ -11,4 +11,4 @@ Alpari Resolve XUSCHF5 XTD Longs All Stopouts in MetaQuotes, HFMarkets ... Resolve XUSCHF5 XTAM Longs All Stopouts in MetaQuotes ... Resolve XUSCHF5 XTSFI Longs All Stopouts in Alpari ... -Resolve XUSCHF5 XCHMACC Longs All Stopouts in OANDA ... +Resolve XUSCHF5 XCHMACC Longs All Stopouts in MetaQuotes ... 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 9e14bb3c..59ef156d 100644 --- a/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -5940,7 +5940,36 @@ bool XUSCHF5XOBDLHHasLongSignal() mConditions.isXLHHHSameInLength) && // ( - false) + // + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXCHMAMCTrendsUp && + mConditions.isXCHMAMCFastUnderSlow) + // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHLHSameLLs && + mConditions.isXCHMASCTrendsUp && + mConditions.isXTDSignalUnderBear) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -6665,6 +6694,19 @@ bool XUSCHF5XCHMACCHasLongSignal() mConditions.isXCHLHMCLCHHSame && mConditions.isXTDSignalUnderBear) // + || + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXTSCurrentUnderNearest && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // ) // ) @@ -6682,6 +6724,22 @@ bool XUSCHF5XCHMACCHasLongSignal() !mConditions.isXLHHHSameInLength) && // ( + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentMax && + mConditions.isXCHMASCOverMax && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) + // + ) + // + ) + // + || // ((mConditions.isXCHMAMCTrendsDown && mConditions.isXCHMAMCFastOverSlow) && @@ -6712,6 +6770,12 @@ bool XUSCHF5XCHMACCHasLongSignal() ((mConditions.isXTMBullish && mConditions.isXAMABullish) && ( + // + (mConditions.isXTSCurrentMax && + mConditions.isXTDSignalUnderBear && + mConditions.isXRSICrossedOverLongExit) + // + || // (mConditions.isXCHLHSameHHs && mConditions.isXTSCurrentMax && diff --git a/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 b/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 index 9e14bb3c..59ef156d 100644 --- a/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -5940,7 +5940,36 @@ bool XUSCHF5XOBDLHHasLongSignal() mConditions.isXLHHHSameInLength) && // ( - false) + // + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + (mConditions.isXCHMAMCVale && + mConditions.isXCHMAMCTrendsUp && + mConditions.isXCHMAMCFastUnderSlow) + // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHLHSameLLs && + mConditions.isXCHMASCTrendsUp && + mConditions.isXTDSignalUnderBear) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // @@ -6665,6 +6694,19 @@ bool XUSCHF5XCHMACCHasLongSignal() mConditions.isXCHLHMCLCHHSame && mConditions.isXTDSignalUnderBear) // + || + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXTSCurrentUnderNearest && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // ) // ) @@ -6682,6 +6724,22 @@ bool XUSCHF5XCHMACCHasLongSignal() !mConditions.isXLHHHSameInLength) && // ( + // + ((mConditions.isXTMBullish && + mConditions.isXAMABullish) && + ( + // + (mConditions.isXCHLHSameHHs && + mConditions.isXTSCurrentMax && + mConditions.isXCHMASCOverMax && + mConditions.isXTDBullUnderBear && + mConditions.isXTDSignalUnderBear) + // + ) + // + ) + // + || // ((mConditions.isXCHMAMCTrendsDown && mConditions.isXCHMAMCFastOverSlow) && @@ -6712,6 +6770,12 @@ bool XUSCHF5XCHMACCHasLongSignal() ((mConditions.isXTMBullish && mConditions.isXAMABullish) && ( + // + (mConditions.isXTSCurrentMax && + mConditions.isXTDSignalUnderBear && + mConditions.isXRSICrossedOverLongExit) + // + || // (mConditions.isXCHLHSameHHs && mConditions.isXTSCurrentMax &&