From 550953151e52cda0e336e0f53e944e10d653eb5e Mon Sep 17 00:00:00 2001 From: Hadi Khazaee Asl Date: Tue, 31 Dec 2024 18:55:29 +0330 Subject: [PATCH] last ... --- .../Signals/x-121.smc.xtwpv.signal.lib.mq5 | 41 +------------------ 1 file changed, 2 insertions(+), 39 deletions(-) diff --git a/X121SMCEA/Signals/x-121.smc.xtwpv.signal.lib.mq5 b/X121SMCEA/Signals/x-121.smc.xtwpv.signal.lib.mq5 index 19d09533..0b259e62 100644 --- a/X121SMCEA/Signals/x-121.smc.xtwpv.signal.lib.mq5 +++ b/X121SMCEA/Signals/x-121.smc.xtwpv.signal.lib.mq5 @@ -1072,6 +1072,7 @@ bool DetectX121SMCXTWPVSiganlSetup( cBar.close < triggerDonLowUpper && // triggerPeak == triggerDonHighUpper && + // true // ; @@ -1088,6 +1089,7 @@ bool DetectX121SMCXTWPVSiganlSetup( cBar.close > triggerDonHighLower && // triggerVale == triggerDonLowLower && + // true // ; @@ -1518,35 +1520,6 @@ bool DetectX121SMCXTWPVSiganlTrigger( return result; } - // // - // // Detect Consolidation ... - // bool hasConsolidationZone = conditions.HasConsolidationZone(); - // if (hasConsolidationZone) - // { - // // - // hasConsolidationZone = triggerCycleHelper - // .GetLastConsolidationZone(conditions.consolidationZone); - - // // - // if (hasConsolidationZone) - // { - // // - // hasConsolidationZone = - // isBullish - // ? conditions.consolidationZone.upper <= conditions.point - // : conditions.consolidationZone.lower >= conditions.point; - - // // - // if (!hasConsolidationZone) - // { - // // - // conditions - // .consolidationZone - // .Clean(); - // } - // } - // } - // // Detect Nearest Pivot Point ... XPVPivotPoint pivotPoints[]; @@ -1682,14 +1655,6 @@ bool DetectX121SMCXTWPVSiganlTrigger( ); } - // - double peak = analyseConditions.x121Conditions.peaksBuffer[1]; - double vale = analyseConditions.x121Conditions.valesBuffer[1]; - - // - bool isBasedOnPeak = conditions.point == peak; - bool isBasedOnVale = conditions.point == vale; - // bool hasPriceInsideZones = conditions.HasPriceInsideZones(); bool hasBullishPriceInsideZone = conditions.HasBullishPriceInsideZone(); @@ -1698,7 +1663,6 @@ bool DetectX121SMCXTWPVSiganlTrigger( // if ( isBullish && - isBasedOnVale && hasPriceInsideZones && hasBullishPriceInsideZone // ) @@ -1751,7 +1715,6 @@ bool DetectX121SMCXTWPVSiganlTrigger( // if ( isBearish && - isBasedOnPeak && hasPriceInsideZones && hasBearishPriceInsideZone // )