The issue is that I am trying to use it from a strategy and can't make it work. I read I also need to add the same dataseries in the host, so I did but still upper and lower does not set.
private OBR2 OBRIndicator;
else if (State == State.Configure)
{
AddDataSeries(BarsPeriodType.Minute, 1);
}
else if (State == State.DataLoaded)
{
OBRIndicator = OBR2 (DateTime.Parse("09:30",...,...);
AddChartIndicator(OBRIndicator);
}
What am I missing?
Much appreciated as always.
Thanks

Comment