Hi
I tried to write an indicator to show two CCI graph on the same window
It works but values are different from single CCI indicators with the same period.
I attached the code. It is very simple but numbers that displays are wrong.
Appreciate your help.
Er... check the value of your applied_price.
Er... check the value of your applied_price.
Thanks for your care.
But I didn't get your point. The value of applied_price is 0 that is equal to PRICE_CLOSE.
CCI uses different applied price or something else?
Thanks for your care.
But I didn't get your point. The value of applied_price is 0 that is equal to PRICE_CLOSE.
CCI uses different applied price or something else?
Well, on my metatrader terminals all CCI uses PRICE_TYPICAL, which is 5.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi
I tried to write an indicator to show two CCI graph on the same window
It works but values are different from single CCI indicators with the same period.
I attached the code. It is very simple but numbers that displays are wrong.
Appreciate your help.