last ...
This commit is contained in:
@@ -1072,6 +1072,7 @@ bool DetectX121SMCXTWPVSiganlSetup(
|
|||||||
cBar.close < triggerDonLowUpper &&
|
cBar.close < triggerDonLowUpper &&
|
||||||
//
|
//
|
||||||
triggerPeak == triggerDonHighUpper &&
|
triggerPeak == triggerDonHighUpper &&
|
||||||
|
//
|
||||||
true
|
true
|
||||||
//
|
//
|
||||||
;
|
;
|
||||||
@@ -1088,6 +1089,7 @@ bool DetectX121SMCXTWPVSiganlSetup(
|
|||||||
cBar.close > triggerDonHighLower &&
|
cBar.close > triggerDonHighLower &&
|
||||||
//
|
//
|
||||||
triggerVale == triggerDonLowLower &&
|
triggerVale == triggerDonLowLower &&
|
||||||
|
//
|
||||||
true
|
true
|
||||||
//
|
//
|
||||||
;
|
;
|
||||||
@@ -1518,35 +1520,6 @@ bool DetectX121SMCXTWPVSiganlTrigger(
|
|||||||
return result;
|
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 ...
|
// Detect Nearest Pivot Point ...
|
||||||
XPVPivotPoint pivotPoints[];
|
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 hasPriceInsideZones = conditions.HasPriceInsideZones();
|
||||||
bool hasBullishPriceInsideZone = conditions.HasBullishPriceInsideZone();
|
bool hasBullishPriceInsideZone = conditions.HasBullishPriceInsideZone();
|
||||||
@@ -1698,7 +1663,6 @@ bool DetectX121SMCXTWPVSiganlTrigger(
|
|||||||
//
|
//
|
||||||
if (
|
if (
|
||||||
isBullish &&
|
isBullish &&
|
||||||
isBasedOnVale &&
|
|
||||||
hasPriceInsideZones &&
|
hasPriceInsideZones &&
|
||||||
hasBullishPriceInsideZone //
|
hasBullishPriceInsideZone //
|
||||||
)
|
)
|
||||||
@@ -1751,7 +1715,6 @@ bool DetectX121SMCXTWPVSiganlTrigger(
|
|||||||
//
|
//
|
||||||
if (
|
if (
|
||||||
isBearish &&
|
isBearish &&
|
||||||
isBasedOnPeak &&
|
|
||||||
hasPriceInsideZones &&
|
hasPriceInsideZones &&
|
||||||
hasBearishPriceInsideZone //
|
hasBearishPriceInsideZone //
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user