apply last POI Changes Refctor and Resolve all Side Affect Issues on X121 SMC Expert Projects ...
This commit is contained in:
@@ -3571,70 +3571,7 @@ struct X121SMCStrategyConditionParser
|
||||
isBullish =
|
||||
//
|
||||
// Base Condition ...
|
||||
(
|
||||
//
|
||||
cBar.IsBullish() &&
|
||||
zBar.open >= cBar.close &&
|
||||
(
|
||||
//
|
||||
// Regular Reject ...
|
||||
(pBar.low > cBar.low &&
|
||||
cBar.low < cXConditions.valesGoldenBuffer[cIDX] &&
|
||||
cBar.GetDown() > cXConditions.valesGoldenBuffer[cIDX])
|
||||
//
|
||||
||
|
||||
//
|
||||
// Regular Exit ...
|
||||
(pBar.low < cXConditions.valesGoldenBuffer[cIDX] &&
|
||||
(cBar.low > cXConditions.valesGoldenBuffer[cIDX] ||
|
||||
cBar.GetUp() > cXConditions.valesGoldenBuffer[cIDX]))
|
||||
//
|
||||
||
|
||||
//
|
||||
IsBarBreak(
|
||||
cXConditions.valesGoldenBuffer[cIDX],
|
||||
X_DIRECTION_BULLISH,
|
||||
cBar //
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
IsBarReject(
|
||||
cXConditions.valesGoldenBuffer[cIDX],
|
||||
X_DIRECTION_BULLISH,
|
||||
cBar //
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
&&
|
||||
//
|
||||
// Checking other Conditions ...
|
||||
(
|
||||
//
|
||||
// XSAR ...
|
||||
cXConditions.isSarBullish &&
|
||||
//
|
||||
// XSTR ...
|
||||
cXConditions.isStrSwitchedToBullish &&
|
||||
//
|
||||
// // X3MA ...
|
||||
// // XVWAP ...
|
||||
// (cXConditions.isX3MaFastOverMid ||
|
||||
// cXConditions.isVWapFastOverMid) &&
|
||||
//
|
||||
// XHK ...
|
||||
cXConditions.isSMHKBullish &&
|
||||
cXConditions.isRawHKBullish &&
|
||||
//
|
||||
// XCHE ...
|
||||
cXConditions.isCheBullish &&
|
||||
cXConditions.le1Buffer[cIDX] < cBar.low &&
|
||||
cXConditions.le2Buffer[cIDX] < cBar.low
|
||||
//
|
||||
)
|
||||
false
|
||||
//
|
||||
;
|
||||
|
||||
@@ -3643,70 +3580,7 @@ struct X121SMCStrategyConditionParser
|
||||
isBearish =
|
||||
//
|
||||
// Base Condition ...
|
||||
(
|
||||
//
|
||||
cBar.IsBearish() &&
|
||||
zBar.open <= cBar.close &&
|
||||
(
|
||||
//
|
||||
// Regular Reject ...
|
||||
(pBar.high < cBar.high &&
|
||||
cBar.high > cXConditions.peaksGoldenBuffer[cIDX] &&
|
||||
cBar.GetUp() < cXConditions.peaksGoldenBuffer[cIDX])
|
||||
//
|
||||
||
|
||||
//
|
||||
// Regular Exit ...
|
||||
(pBar.high > cXConditions.peaksGoldenBuffer[cIDX] &&
|
||||
(cBar.high < cXConditions.peaksGoldenBuffer[cIDX] ||
|
||||
cBar.GetDown() < cXConditions.peaksGoldenBuffer[cIDX]))
|
||||
//
|
||||
||
|
||||
//
|
||||
IsBarBreak(
|
||||
cXConditions.peaksGoldenBuffer[cIDX],
|
||||
X_DIRECTION_BEARISH,
|
||||
cBar //
|
||||
)
|
||||
//
|
||||
||
|
||||
//
|
||||
IsBarReject(
|
||||
cXConditions.peaksGoldenBuffer[cIDX],
|
||||
X_DIRECTION_BEARISH,
|
||||
cBar //
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
)
|
||||
//
|
||||
&&
|
||||
//
|
||||
// Checking other Conditions ...
|
||||
(
|
||||
//
|
||||
// XSAR ...
|
||||
cXConditions.isSarBearish &&
|
||||
//
|
||||
// XSTR ...
|
||||
cXConditions.isStrSwitchedToBearish &&
|
||||
//
|
||||
// // X3MA ...
|
||||
// // XVWAP ...
|
||||
// (cXConditions.isX3MaFastUnderMid ||
|
||||
// cXConditions.isVWapFastUnderMid) &&
|
||||
//
|
||||
// XHK ...
|
||||
cXConditions.isSMHKBearish &&
|
||||
cXConditions.isRawHKBearish &&
|
||||
//
|
||||
// XCHE ...
|
||||
cXConditions.isCheBearish &&
|
||||
cXConditions.se1Buffer[cIDX] > cBar.high &&
|
||||
cXConditions.se2Buffer[cIDX] > cBar.high
|
||||
//
|
||||
)
|
||||
false
|
||||
//
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user