apply some fix on implementing new structure ...
This commit is contained in:
@@ -891,6 +891,24 @@ public:
|
||||
int pushers = 0;
|
||||
string signallers[];
|
||||
|
||||
//
|
||||
bool notHaveBearishPower = (!chmConditions.hasBearishPower &&
|
||||
!chhkConditions.hasBearishPower &&
|
||||
!chtdConditions.hasBearishPower &&
|
||||
!chcheConditions.hasBearishPower &&
|
||||
!chstrConditions.hasBearishPower &&
|
||||
!chvlmConditions.hasBearishPower &&
|
||||
!chvwapConditions.hasBearishPower);
|
||||
|
||||
//
|
||||
bool notHaveBullishPower = (!chmConditions.hasBullishPower &&
|
||||
!chhkConditions.hasBullishPower &&
|
||||
!chtdConditions.hasBullishPower &&
|
||||
!chcheConditions.hasBullishPower &&
|
||||
!chstrConditions.hasBullishPower &&
|
||||
!chvlmConditions.hasBullishPower &&
|
||||
!chvwapConditions.hasBullishPower);
|
||||
|
||||
//
|
||||
// XCHM ...
|
||||
if (mEnableXCHM)
|
||||
@@ -905,9 +923,10 @@ public:
|
||||
cBar.IsBullish() &&
|
||||
hasBullishPattern &&
|
||||
hasBullishPressure &&
|
||||
notHaveBearishPower &&
|
||||
cBar.low > chmMinBullishFast &&
|
||||
chmConditions.isBullishPowerUp &&
|
||||
chcheConditions.isCStrongBullish
|
||||
chcheConditions.isCStrongBullish
|
||||
//
|
||||
;
|
||||
|
||||
@@ -942,6 +961,7 @@ public:
|
||||
cBar.IsBearish() &&
|
||||
hasBearishPattern &&
|
||||
hasBearishPressure &&
|
||||
notHaveBullishPower &&
|
||||
cBar.high < chmMaxBearishFast &&
|
||||
chmConditions.isBearishPowerUp &&
|
||||
chcheConditions.isCStrongBearish
|
||||
@@ -984,6 +1004,7 @@ public:
|
||||
cBar.IsBullish() &&
|
||||
hasBullishPattern &&
|
||||
hasBullishPressure &&
|
||||
notHaveBearishPower &&
|
||||
cBar.low > chhkMinBullishHigh &&
|
||||
chhkConditions.isBullishPowerUp &&
|
||||
chcheConditions.isCStrongBullish
|
||||
@@ -1021,6 +1042,7 @@ public:
|
||||
cBar.IsBearish() &&
|
||||
hasBearishPattern &&
|
||||
hasBearishPressure &&
|
||||
notHaveBullishPower &&
|
||||
cBar.high < chhkMaxBearishLow &&
|
||||
chhkConditions.isBearishPowerUp &&
|
||||
chcheConditions.isCStrongBearish
|
||||
@@ -1063,6 +1085,7 @@ public:
|
||||
cBar.IsBullish() &&
|
||||
hasBullishPattern &&
|
||||
hasBullishPressure &&
|
||||
notHaveBearishPower &&
|
||||
cBar.low > chstrMinBullish &&
|
||||
chstrConditions.isBullishPowerUp &&
|
||||
chcheConditions.isCStrongBullish
|
||||
@@ -1100,6 +1123,7 @@ public:
|
||||
cBar.IsBearish() &&
|
||||
hasBearishPattern &&
|
||||
hasBearishPressure &&
|
||||
notHaveBullishPower &&
|
||||
cBar.high < chstrMaxBearish &&
|
||||
chstrConditions.isBearishPowerUp &&
|
||||
chcheConditions.isCStrongBearish
|
||||
@@ -1141,12 +1165,13 @@ public:
|
||||
hasBullishPower &&
|
||||
HasCHCHECLast() &&
|
||||
cBar.IsBullish() &&
|
||||
chcheMinCBullish > 0 &&
|
||||
hasBullishPattern &&
|
||||
hasBullishPressure &&
|
||||
notHaveBearishPower &&
|
||||
chcheMinCBullish > 0 &&
|
||||
chcheConditions.hasBullishPower &&
|
||||
chcheConditions.isCStrongBullish &&
|
||||
chcheMinCBullish > GetMaxCHCHECLast()
|
||||
chcheMinCBullish > GetMaxCHCHECLast()
|
||||
//
|
||||
;
|
||||
|
||||
@@ -1180,9 +1205,10 @@ public:
|
||||
hasBearishPower &&
|
||||
HasCHCHECLast() &&
|
||||
cBar.IsBearish() &&
|
||||
chcheMaxCBearish > 0 &&
|
||||
hasBearishPattern &&
|
||||
hasBearishPressure &&
|
||||
notHaveBullishPower &&
|
||||
chcheMaxCBearish > 0 &&
|
||||
chcheConditions.hasBearishPower &&
|
||||
chcheConditions.isCStrongBearish &&
|
||||
chcheMaxCBearish > GetMaxCHCHECLast()
|
||||
|
||||
Reference in New Issue
Block a user