apply fix on Pivot Box Validations ...

This commit is contained in:
2025-04-20 08:14:44 +03:30
parent 98713a8b78
commit 7e6d34edc2
2 changed files with 20 additions and 15 deletions
+18 -13
View File
@@ -4390,7 +4390,7 @@ class XCXCAEAPOIDetector : public XCBase
}
Clean(tmp);
}
//
}
@@ -5567,18 +5567,6 @@ class XCXCAEAPOIDetector : public XCBase
return result;
}
//
result = CheckPivotIsAvailable(
box,
unAvailableBoxes //
);
if (!result)
{
//
box.Clean();
return result;
}
//
return result;
}
@@ -5637,6 +5625,23 @@ class XCXCAEAPOIDetector : public XCBase
return result;
}
//
// Check Box is Available Or Not ...
bool isAvailable = CheckPivotIsAvailable(
iBox,
unAvailableBoxes //
);
if (!isAvailable)
{
//
iBox.Clean();
//
// Assume UnAvailable Boes as Breaked ...
result = true;
return result;
}
//
bool isBullish = iBox.IsBullish();
double boundary =
+2 -2
View File
@@ -930,7 +930,7 @@ bool DetectXCAEAConditions(
//
bool isCond1Bullish =
//
false &&
// false &&
isCCIBullish &&
isBoxActivated &&
pivotBox.IsValid() &&
@@ -941,7 +941,7 @@ bool DetectXCAEAConditions(
//
bool isCond1Bearish =
//
false &&
// false &&
isCCIBearish &&
isBoxActivated &&
pivotBox.IsValid() &&