apply some fix on implementing new structure ...

This commit is contained in:
2024-08-05 05:46:03 +03:30
parent 35d1eab8fb
commit fe218ac7d2
11 changed files with 564 additions and 272876 deletions
+30 -4
View File
@@ -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()