I want to plot RSI. The standard way would be:
Plot0.Set( RSI( Close, periorsi, smooth) );
But,
isn't it possible load one DataSeries at the begining (into initialize event) and can access to the DataSeries by index (like an array) ???
e.g.
Variables:
private DataSeries myRSI;
Initialize()
myRSI = new DataSeries( RSI( Close, periorsi, smooth ) ); <--- This should load the DataSeries like an array, (I think)
OnBarUpdate()
Plot0.Set( myRSI[0] );
This doesn't work. I am not understand why.
Please, help me. Thanks very much.
Comment