MyIndicator.Panel = 1;
AddChartIndicator(MyIndicator);
I would like to draw a line on the Indicator Panel and I am using the code below to draw the line. The Line draws on the Price Panel despite passing false
to the DrawOnPricePanel.
Draw.Line(this, "MyIndicatorLine", false, 0, MyIndicator[0], LBPeriod - 1, MyIndicator[LBPeriod - 1], Brushes.Yellow, DashStyleHelper.Solid, 1, false);
How can I get this to draw correctly?
Thanks.
Comment