shane
11-05-2008, 08:59 AM
Just started my first indicator:
//This plots a line
Plot0.Set(Close[0]);
//This doesn't plot anything
Plot0.Set(Close[1]);
//This plots a line
Plot0.Set(Close[-1]);
Why does 1 bar ago not plot anything and -1 bars ago plots something. Is -1 bars what the value of the next bar will be? That would be nice to know. :-)
//This plots a line
Plot0.Set(Close[0]);
//This doesn't plot anything
Plot0.Set(Close[1]);
//This plots a line
Plot0.Set(Close[-1]);
Why does 1 bar ago not plot anything and -1 bars ago plots something. Is -1 bars what the value of the next bar will be? That would be nice to know. :-)