I can't seem to plot an indicator which makes use of a lagged value.
e.g. using the example in the Help for writing an indicator, I can plot
Plot0.Set( Close[0] );
which plots fine. However, if I try
Plot0.Set( Close[1] );
nothing is displayed.
I must be doing something dumb (like maybe not setting some kind of BarsRequired variable) but I'd be grateful if someone could point it out.
Thanks
Comment