apply fix on Pivot Box Validations ...
This commit is contained in:
@@ -4390,7 +4390,7 @@ class XCXCAEAPOIDetector : public XCBase
|
|||||||
}
|
}
|
||||||
Clean(tmp);
|
Clean(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5567,18 +5567,6 @@ class XCXCAEAPOIDetector : public XCBase
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
|
||||||
result = CheckPivotIsAvailable(
|
|
||||||
box,
|
|
||||||
unAvailableBoxes //
|
|
||||||
);
|
|
||||||
if (!result)
|
|
||||||
{
|
|
||||||
//
|
|
||||||
box.Clean();
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
@@ -5637,6 +5625,23 @@ class XCXCAEAPOIDetector : public XCBase
|
|||||||
return result;
|
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();
|
bool isBullish = iBox.IsBullish();
|
||||||
double boundary =
|
double boundary =
|
||||||
|
|||||||
@@ -930,7 +930,7 @@ bool DetectXCAEAConditions(
|
|||||||
//
|
//
|
||||||
bool isCond1Bullish =
|
bool isCond1Bullish =
|
||||||
//
|
//
|
||||||
false &&
|
// false &&
|
||||||
isCCIBullish &&
|
isCCIBullish &&
|
||||||
isBoxActivated &&
|
isBoxActivated &&
|
||||||
pivotBox.IsValid() &&
|
pivotBox.IsValid() &&
|
||||||
@@ -941,7 +941,7 @@ bool DetectXCAEAConditions(
|
|||||||
//
|
//
|
||||||
bool isCond1Bearish =
|
bool isCond1Bearish =
|
||||||
//
|
//
|
||||||
false &&
|
// false &&
|
||||||
isCCIBearish &&
|
isCCIBearish &&
|
||||||
isBoxActivated &&
|
isBoxActivated &&
|
||||||
pivotBox.IsValid() &&
|
pivotBox.IsValid() &&
|
||||||
|
|||||||
Reference in New Issue
Block a user