protected override void OnStateChange()
...
AddPlot(new Stroke(channelColor, 2), PlotStyle.Line, "highChannel");
AddPlot(new Stroke(channelColor, 2), PlotStyle.Line, "lowChannel");
highChannel = new Series<double>(this, MaximumBarsLookBack.Infinite);
lowChannel = new Series<double>(this, MaximumBarsLookBack.Infinite);
...
protected override void OnBarUpdate()
... here is some math....
Draw.Region(this, "ChannelRegion", CurrentBar, 0, highChannel, lowChannel, channelColor, channelColor, 50);
i dont know what wrong... Maybe someone get some tipps.
Comment