last works ...
adding some tools to ch helper classes ...
This commit is contained in:
@@ -1522,7 +1522,9 @@ public:
|
||||
hasLong =
|
||||
//
|
||||
hasBullishPower &&
|
||||
cBar.IsBullish() &&
|
||||
hasBullishPressure &&
|
||||
chhkConditions.isHBullish &&
|
||||
chstrConditions.isHBullish &&
|
||||
cheConditions.isStrongBullish &&
|
||||
cBar.low > pvConditions.fib2s[cIndex]
|
||||
@@ -1534,7 +1536,7 @@ public:
|
||||
{
|
||||
//
|
||||
type = POSITION_TYPE_BUY;
|
||||
sl = pvConditions.fib3s[cIndex];
|
||||
sl = pvConditions.fib2s[cIndex];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1546,7 +1548,9 @@ public:
|
||||
hasShort =
|
||||
//
|
||||
hasBearishPower &&
|
||||
cBar.IsBearish() &&
|
||||
hasBearishPressure &&
|
||||
chhkConditions.isHBearish &&
|
||||
chstrConditions.isHBearish &&
|
||||
cheConditions.isStrongBearish &&
|
||||
cBar.high < pvConditions.fib4s[cIndex]
|
||||
@@ -1558,7 +1562,7 @@ public:
|
||||
{
|
||||
//
|
||||
type = POSITION_TYPE_SELL;
|
||||
sl = pvConditions.fib3s[cIndex];
|
||||
sl = pvConditions.fib4s[cIndex];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1874,6 +1878,7 @@ private:
|
||||
chhkInputs.hcPeriod = hcPeriod;
|
||||
|
||||
//
|
||||
chhkInputs.ignoreShadows = true;
|
||||
chhkInputs.showCurrent = false;
|
||||
chhkInputs.showShort = false;
|
||||
chhkInputs.showMedium = false;
|
||||
|
||||
Reference in New Issue
Block a user