apply fix on Pivot Box Validations ...
This commit is contained in:
@@ -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 =
|
||||
|
||||
@@ -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() &&
|
||||
|
||||
Reference in New Issue
Block a user