Hi Ninja Experts, I need some help.
I am building a custom strategy that will ultimately place trades in the market. But before trade placement, an important objective of the strategy is to draw (based on a logic scheme) some objects like arrows on the main price panel and some other objects like rectangles in a new panel.
I have used AddChartIndicator() method to add a dummy indicator to the strategy. The IsOverlay property of the dummy indicator is set to true. The IsOverlay property of the strategy is set to false. All this setting gives me a new panel on the chart when the strategy is applied/activated. The purpose of adding a chart indicator is nothing but to get a new/separate panel on the chart for drawing objects. That is why I call it a dummy indicator.
Now in OnBarUpdate(), I use
Draw.ArrowUp(,,,,bool drawOnPricePanel = true) and Draw.Rectangle(,,,,bool drawOnPricePanel = false).
I am expecting the arrows on the price panel and rectangles on the new panel. But the output I am getting is that both are being plotted on the new panel. A very interesting observation here is that when I activate the strategy from Ninja Control Center, the arrows get plotted on the main price panel, but with in a second or a blink of eye, they transfer on to the new panel where rectangles are already drawn. Is this something related to rendering etc.
Please guide me how can I make things work. Any other alternative feasible approach is also welcome.

Comment