Sweps:
Your code is wrong . . .
How is that possible?
RaptorUK:
Your code is wrong . . .
Your code is wrong . . .
It's impossible, because the CCI chart has exaclty the same parametres of my CCI variable.
CCI=iCCI(NULL,0,30,PRICE_TYPICAL,0);
Is it possible that the CCI of the editor is different than the platform one? I mean, they are calculated in two different wats
What settings do you have for your CCI Indicator on your chart ?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi,
I'm trying to write a program using the CCI index. I've noticed the chart value of CCI, and the value which the program obtain are different! When you write
Comment("CCI: "+CCI);
The value shown at the top-left of the chart is different from the value of the visual index.
How is that possible?