I am trying to add a second timeframe and sync a new DataSeries with it. So far, no luck.
I have added the following code:
protected override void Initialize()
{
//Added a secondary timeframe
Add(PeriodType.Minute, 15);
myDataSeries = new DataSeries(this);
}
protected override void OnBarUpdate()
myDataSeries.Set(Closes[1][0]);
Is this conceptually ok??
because it does not work for me!!
Thanks!!
Juan Rivera

Comment