I've build an indicator with several drawings like:
Draw.Line(this, Guid.NewGuid().ToString(), true, CurrentBar - idPast, indicatorPast, 0, indicatorPresence, Brushes.Red, DashStyleHelper.Dot, 1);
This indicator should run on an second dataseries within a strategy.
Therfore I've added an additional dataseries within a strategy:
AddDataSeries(this.Instrument.FullName, BarsPeriodType.Minute, 10, Data.MarketDataType.Last);
My Indicator is loaded via
myInd = MyIndicator(BarsArray[1]);
AddChartIndicator(myInd);
}
The indicator with it's plotting is loaded and I can see the drawing lines.
Unfortunately everything that is been drawed via Draw.* is not visible. When I load the indicator in the main dataseries as the strategy, the drawings are visible.
Could anyone help to get the drawings visible?
Thanks in advance.
Cheers
Comment