I have created an indicator that overlays on the price. What I would like to do is get different values to also plot onto an attached indicator below.
So for example I have a chart GBPUSD and a CCI indicator.
Now when my indicator plots a value, say High[0], onto the chart (panel 1) I need it to also plot a different value, say 96, onto the CCI indicator (panel 2).
Can this be achieved inside the code of a single indicator or do I need to almost replicate my code and create 2 indicators?
Thanks
Comment