last ...
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user