Hi
I am not sure what you wanted to do here, but perhaps you don’t have the data from those chosen instruments and you get NULL from them. That’s why you don’t have different results. Besides that why you compare value of close price from Cross2 with CCIPeriod, that does not make sense.
Make sure that you have data available and correct close prices returned from the chart. It works perfectly fine for me – so you have to had some problems with data for chosen symbols.
Best Regards

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 guys i try to create a indicator that calculate a CCI over the ratio of 2 instruments
i code this
but i dont know why give me always the same line also if i change input cross anyone can help me ? thanks