I have 3 plots on my indicator for example:
Values[2][0] = SMA(200)[0];
Values[3][0] = SMA(100)[0];
Values[4][0] = SMA(50)[0];
I want to displace all of these to the right on the chart. (move it in the future).
How can i code this to make it move over to the right different values.
For example, i want to displace the first one by 8 bars and the second one by 5 bars and the third one by 3 bars.
I tried changing the plot to something like SMA(200)[-8] but that doesn't work and it doesn't plot.
Thank you in advance.
Comment