From f8690a6740a1783e549c4b78d4573f634fc13330 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Sun, 17 Mar 2024 04:37:55 +0330 Subject: [PATCH] Resolve XUSPY5 XCHMACC All Shorts Stopouts in MetaQuotes, HFMarkets ... --- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 85 ++++++++++++++++++- Documents/Templates/Brokers List.txt | 2 +- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 85 ++++++++++++++++++- ...aherelm.xuspy5.provider.indicators.lib.mq5 | 85 ++++++++++++++++++- 4 files changed, 247 insertions(+), 10 deletions(-) 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 53409284..d4771c73 100644 --- a/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/BKP/Main/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -38247,6 +38247,25 @@ bool XUSPY5XCHMACCHasShortSignal() // (mConditions.isXTDBullOverBear && ( + // + (mConditions.isXTSCurrentOverNearest && + ( + // + (mConditions.isXTSCurrentCrossedOverNearest && + ( + // + (mConditions.isXLHHHDecreased && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) + // + ) + // + ) + // + || // (mConditions.isXTSCurrentOverFarest && ( @@ -38878,7 +38897,24 @@ bool XUSPY5XCHMACCHasShortSignal() mConditions.isXCHMAMCFastUnderSlow) && ( // - false + ((!mConditions.isXCHMALCTrendsUp && + !mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin && + mConditions.isXLHLLSameInLength && + mConditions.isXCHMASCCrossedUnderMin && + mConditions.isXLHPriceCrossedUnderSignal) + // + ) + // + ) // ) // @@ -39357,6 +39393,24 @@ bool XUSPY5XCHMACCHasShortSignal() // ) // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXLHPriceCrossedUnderSignal && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // ) // ) @@ -39393,7 +39447,17 @@ bool XUSPY5XCHMACCHasShortSignal() mConditions.isXCHMALCFastUnderSlow) && ( // - false + (mConditions.isXRSICrossedUnderShortExit && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) // ) // @@ -39409,13 +39473,28 @@ bool XUSPY5XCHMACCHasShortSignal() ((mConditions.isXTMBearish && mConditions.isXAMABearish) && ( + // + (mConditions.isXTDBullOverBear && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // + || // (mConditions.isXRSICrossedUnderShortExit && ( // (mConditions.isXCHMALCVale && mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCHHSame && mConditions.isXCHMASCUnderMin) // ) diff --git a/Documents/Templates/Brokers List.txt b/Documents/Templates/Brokers List.txt index 4eca481e..2ee8669d 100644 --- a/Documents/Templates/Brokers List.txt +++ b/Documents/Templates/Brokers List.txt @@ -42,7 +42,7 @@ Resolve XUSPY5 XTSFI All Guard Attacks in All Markets ... XCHMACC -------- -Resolve XUSPY5 XCHMACC All Shorts Stopouts in HFMarkets ... +Resolve XUSPY5 XCHMACC All Shorts Stopouts in AMarkets-Demo ... Resolve XUSPY5 XCHMACC All Critical Guard Attacks in All Markets ... Resolve XUSPY5 XCHMACC All Guard Attacks in All Markets ... 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 53409284..d4771c73 100644 --- a/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/Projects/XUSPY5/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -38247,6 +38247,25 @@ bool XUSPY5XCHMACCHasShortSignal() // (mConditions.isXTDBullOverBear && ( + // + (mConditions.isXTSCurrentOverNearest && + ( + // + (mConditions.isXTSCurrentCrossedOverNearest && + ( + // + (mConditions.isXLHHHDecreased && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) + // + ) + // + ) + // + || // (mConditions.isXTSCurrentOverFarest && ( @@ -38878,7 +38897,24 @@ bool XUSPY5XCHMACCHasShortSignal() mConditions.isXCHMAMCFastUnderSlow) && ( // - false + ((!mConditions.isXCHMALCTrendsUp && + !mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin && + mConditions.isXLHLLSameInLength && + mConditions.isXCHMASCCrossedUnderMin && + mConditions.isXLHPriceCrossedUnderSignal) + // + ) + // + ) // ) // @@ -39357,6 +39393,24 @@ bool XUSPY5XCHMACCHasShortSignal() // ) // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXLHPriceCrossedUnderSignal && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // ) // ) @@ -39393,7 +39447,17 @@ bool XUSPY5XCHMACCHasShortSignal() mConditions.isXCHMALCFastUnderSlow) && ( // - false + (mConditions.isXRSICrossedUnderShortExit && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) // ) // @@ -39409,13 +39473,28 @@ bool XUSPY5XCHMACCHasShortSignal() ((mConditions.isXTMBearish && mConditions.isXAMABearish) && ( + // + (mConditions.isXTDBullOverBear && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // + || // (mConditions.isXRSICrossedUnderShortExit && ( // (mConditions.isXCHMALCVale && mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCHHSame && mConditions.isXCHMASCUnderMin) // ) diff --git a/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 b/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 index 53409284..d4771c73 100644 --- a/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 +++ b/Providers/x-saherelm.xuspy5.provider.indicators.lib.mq5 @@ -38247,6 +38247,25 @@ bool XUSPY5XCHMACCHasShortSignal() // (mConditions.isXTDBullOverBear && ( + // + (mConditions.isXTSCurrentOverNearest && + ( + // + (mConditions.isXTSCurrentCrossedOverNearest && + ( + // + (mConditions.isXLHHHDecreased && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) + // + ) + // + ) + // + || // (mConditions.isXTSCurrentOverFarest && ( @@ -38878,7 +38897,24 @@ bool XUSPY5XCHMACCHasShortSignal() mConditions.isXCHMAMCFastUnderSlow) && ( // - false + ((!mConditions.isXCHMALCTrendsUp && + !mConditions.isXCHMALCTrendsDown && + mConditions.isXCHMALCFastUnderSlow) && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTDSignalVale && + mConditions.isXTDBullishVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHLHMCLCLLSame && + mConditions.isXCHMASCUnderMin && + mConditions.isXLHLLSameInLength && + mConditions.isXCHMASCCrossedUnderMin && + mConditions.isXLHPriceCrossedUnderSignal) + // + ) + // + ) // ) // @@ -39357,6 +39393,24 @@ bool XUSPY5XCHMACCHasShortSignal() // ) // + || + // + ((mConditions.isXTMNeutural && + mConditions.isXAMANeutural) && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXLHPriceCrossedUnderSignal && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // ) // ) @@ -39393,7 +39447,17 @@ bool XUSPY5XCHMACCHasShortSignal() mConditions.isXCHMALCFastUnderSlow) && ( // - false + (mConditions.isXRSICrossedUnderShortExit && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXCHLHSameLLs && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin) + // + ) + // + ) // ) // @@ -39409,13 +39473,28 @@ bool XUSPY5XCHMACCHasShortSignal() ((mConditions.isXTMBearish && mConditions.isXAMABearish) && ( + // + (mConditions.isXTDBullOverBear && + ( + // + (mConditions.isXCHMALCVale && + mConditions.isXTSCurrentMin && + mConditions.isXCHMASCUnderMin && + mConditions.isXCHLHSCMCLLSame && + mConditions.isXLHLowAttachedLL && + mConditions.isXTSCurrentCrossedUnderNearest) + // + ) + // + ) + // + || // (mConditions.isXRSICrossedUnderShortExit && ( // (mConditions.isXCHMALCVale && mConditions.isXTSCurrentMin && - mConditions.isXCHLHSCMCHHSame && mConditions.isXCHMASCUnderMin) // )