When I code the CCI indicator into my trading system, I get the same chart trace no matter what period I use. Example: CCI.Series (Bars,20) and CCI.Series (Bars,10). What am I doing wrong?
Size:
Color:
You could, for instance, be modifying the period for a different CCI series rather than plotted... but why speculate? Just post some example code.
Size:
Color:
Simple Code attached. I plotted the CCI(20) as a histogram and the CCI (10) as a line so they don't overlap.
CODE:
Please log in to see this code.
Size:
Color:
That looks like a bug with CCI series to me. Thanks for the heads-up.
Size:
Color:
Corrections were applied to the following Standard indicators have aleady been applied to 5.1:
· AveragePrice
· AveragePriceC
· KeltnerUpper, KeltnerLower
· StochD
· CCI
· FAMA
· LinearRegSlope
· FIRSeries
· MomentumPct (MomentumPctSeries was not affected)
· VHF
Size:
Color:
But you're right!
CCI still requires a correction for its description so that it doesn't keep returning the first CCI created.
Size:
Color:
A fix for CCI is coming in WLP/WLD 5.1.
Size:
Color: