From 1a51d34f43ad8d1d65364a99eb175192f5067370 Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Thu, 15 Feb 2024 00:30:34 +0330 Subject: [PATCH] Resolve XUSCHF5 XTAM Longs All Stopouts in MetaQuotes ... --- ...herelm.xuschf5.provider.indicators.lib.mq5 | 22 ++++++++++++++++++- ...herelm.xuschf5.provider.indicators.lib.mq5 | 22 ++++++++++++++++++- ...herelm.xuschf5.provider.indicators.lib.mq5 | 22 ++++++++++++++++++- 3 files changed, 63 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 c4e96580..e5bb14f4 100644 --- a/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/BKP/Main/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -3241,7 +3241,27 @@ bool XUSCHF5XTAMHasLongSignal() mConditions.isXLHHHSameInLength) && // ( - false) + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + (mConditions.isXCHMASCTrendsUp && + ( + // + (mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // 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 c4e96580..e5bb14f4 100644 --- a/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/Projects/XUSCHF5/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -3241,7 +3241,27 @@ bool XUSCHF5XTAMHasLongSignal() mConditions.isXLHHHSameInLength) && // ( - false) + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + (mConditions.isXCHMASCTrendsUp && + ( + // + (mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) + // + ) + // + ) + // + ) + // + ) + // + ) // ) // diff --git a/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 b/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 index c4e96580..e5bb14f4 100644 --- a/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 +++ b/Providers/x-saherelm.xuschf5.provider.indicators.lib.mq5 @@ -3241,7 +3241,27 @@ bool XUSCHF5XTAMHasLongSignal() mConditions.isXLHHHSameInLength) && // ( - false) + // + // Check if SC Fast Under Slow ... + ((mConditions.isXCHMASCFastUnderSlow || + mConditions.isXCHMASCFastCrossedUnderSlow) && + ( + // + (mConditions.isXCHMASCTrendsUp && + ( + // + (mConditions.isXCHMAMCTrendsDown && + mConditions.isXCHMAMCFastOverSlow) + // + ) + // + ) + // + ) + // + ) + // + ) // ) //