AddPlot(new Stroke(Brushes.Green, 1), PlotStyle.Line, "LongLevel");
AddPlot(new Stroke(Brushes.Red, 1), PlotStyle.Line, "ShortLevel");
2. I added theese plots at the end of my code to see they in DataBox window:
[Browsable(false)]
[XmlIgnore]
public Series<double> LongLevel
{
get { return Values[0]; }
}
[Browsable(false)]
[XmlIgnore]
public Series<double> ShortLevel
{
get { return Values[1]; }
}
3. I set the value like this (in OnBarUpdate):
Values[0][0] = x;
Values[1][0] = y;
But when I open the window DataBox - I see inly n\a values. What do I wrong?
PS
I use OnRender in my indicator to render graphic elements.
Comment