Values[0].Set("somevalue");
to plot the value "somevalue" at the current bar. How can I modify the value of the indicator one bar ago? I tried something like the logic applied to other commands where first is the plot reference and then the bar number:
Values[0][1].Set("somevalue");
But the compiler says this command is wrong.
Sometimes I want to change the value plot of the indicator some bars ago. It is not always the same bar ago. Sometimes it is one bar ago and sometimes two bars ago. How can I change the plotted value?
Thank you
Comment