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
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