public class SeriesTest : Strategy
{
private Series<double> Velocity;
.
.
.
else if (State == State.DataLoaded)
{
Velocity = new Series<double>(this);
I have tried the following code OnBarUpdate
Velocity[0]=Close[0]-Close[1];
But when I print out my Velocity values they are incorrect.
How and where do I correctly assign the Data to my series?
Comment