From d9ae010d27568cacec5db09cbf4008885605f36a Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Sat, 24 Feb 2024 12:46:41 +0330 Subject: [PATCH] Resolve XUSCHF5 XCHMACC Shorts All Critical Guard Attacks in MetaQuotes ... --- ...-saherelm.xuschf5.provider.indicators.lib.mq5 | 16 ++++++++++++++++ ...-saherelm.xuschf5.provider.indicators.lib.mq5 | 16 ++++++++++++++++ ...-saherelm.xuschf5.provider.indicators.lib.mq5 | 16 ++++++++++++++++ 3 files changed, 48 insertions(+) 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 57493855..1bcd24bc 100644 --- a/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -14241,10 +14241,26 @@ bool XUSCHF5XCHMACCHasShortSignal() mConditions.isXCHMALCVale && mConditions.isXAMAEndBullish) // + || + // + (mConditions.isXTMNeutural && + mConditions.isXCHMASCPeak && + mConditions.isXCHMALCVale && + (mConditions.isXAMABullish || + mConditions.isXAMAStartBullish)) + // ) // ) // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTMStartBearish && + mConditions.isXCHMASCUnderMin && + mConditions.isXLHLowAttachedLL) + // ) // ) 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 57493855..1bcd24bc 100644 --- a/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -14241,10 +14241,26 @@ bool XUSCHF5XCHMACCHasShortSignal() mConditions.isXCHMALCVale && mConditions.isXAMAEndBullish) // + || + // + (mConditions.isXTMNeutural && + mConditions.isXCHMASCPeak && + mConditions.isXCHMALCVale && + (mConditions.isXAMABullish || + mConditions.isXAMAStartBullish)) + // ) // ) // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTMStartBearish && + mConditions.isXCHMASCUnderMin && + mConditions.isXLHLowAttachedLL) + // ) // ) diff --git a/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 b/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 index 57493855..1bcd24bc 100644 --- a/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -14241,10 +14241,26 @@ bool XUSCHF5XCHMACCHasShortSignal() mConditions.isXCHMALCVale && mConditions.isXAMAEndBullish) // + || + // + (mConditions.isXTMNeutural && + mConditions.isXCHMASCPeak && + mConditions.isXCHMALCVale && + (mConditions.isXAMABullish || + mConditions.isXAMAStartBullish)) + // ) // ) // + || + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTMStartBearish && + mConditions.isXCHMASCUnderMin && + mConditions.isXLHLowAttachedLL) + // ) // )