This commit is contained in:
2025-05-08 13:07:25 +03:30
parent 6b95e10890
commit c013e593ad
5 changed files with 233 additions and 33 deletions
+23 -2
View File
@@ -81,7 +81,7 @@ struct XCAEAStrategyConditions
//
double partialCloseOnTPLevel;
double partialCloseMultiplier;
double partialCloseMultiplier;
//
ENUM_X_DIRECTION dir;
@@ -124,7 +124,7 @@ struct XCAEAStrategyConditions
//
partialCloseOnTPLevel = 0;
partialCloseMultiplier = 0;
partialCloseMultiplier = 0;
//
Clean(targets);
@@ -578,6 +578,24 @@ bool DetectDecisionZone(
//
bool isVolumeNeutural = MathAbs(bullishVolume - bearishVolume) == 0;
//
// Checking OB ...
XBoxZone ob;
bool isOB = helper
.barAnalyser
.IsOrderBlock(
cBar,
ob,
false, // Force FVG Bar Type
true // Force Two Bar Start ...
);
bool isBullishOB =
isOB &&
ob.IsBullish();
bool isBearishOB =
isOB &&
ob.IsBearish();
//
// Reading Values ...
@@ -1074,6 +1092,7 @@ bool DetectDecisionZone(
//
bool isCond1Bullish =
isBullishOB &&
isCIsValePivot &&
isRSICrossedOverOS &&
!isFiboSectionChanged &&
@@ -1081,6 +1100,7 @@ bool DetectDecisionZone(
//
bool isCond1Bearish =
isBearishOB &&
isCIsPeakPivot &&
isRSICrossedUnderOB &&
!isFiboSectionChanged &&
@@ -1234,6 +1254,7 @@ bool DetectDecisionZone(
// Cleaning Up ...
//
ob.Clean();
zBar.Clean();
cBar.Clean();
pBar.Clean();