I would want to create an indicator that creates two diferent SMA. One of them will use the High value as input and the other one will use the Low value of the bars. These two SMA lines would create something like a rail in my chart.
My problem is that I don't know how to change the input value for the SMA. I tried with PriceType.High/Low but this changes the value for the indicator not for the plot.
Would it be possible to choose different input values for the different plots of an indicator? If not, any idea about how to make it?
Thanks in advance.
Comment