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