This commit is contained in:
2025-01-09 13:12:31 +03:30
parent a8ecc92e46
commit 0fd0889413
4 changed files with 388 additions and 376 deletions
@@ -583,14 +583,6 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
//
mXTWPVConditions.Clean();
//
// Try to Normalize Conditions Collection ...
int maxAllowed = 6;
CleanupArray(
mXTWPVConditionsCollection,
maxAllowed //
);
}
}
@@ -648,10 +640,10 @@ class XCX121SMCStrategy : public XCX121SMCBaseStrategy
// Check Broken Order Blocks and Remove them ...
bool isBreaked =
isBullish
? (cBar.close < iLower ||
pBar.close < iLower)
: (cBar.close > iUpper ||
cBar.close > iUpper);
? (cBar.high < iLower ||
pBar.high < iLower)
: (cBar.low > iUpper ||
cBar.low > iUpper);
if (isBreaked)
{
//