PDA

View Full Version : how to draw a line in a panel other than the price panel


telbentel
12-01-2009, 08:55 AM
hello

How can I draw a line in a panel added by an indicator previously added to the strategy. Ex. draw a line in the ADX panel added by the ADX indicator?

Thanks

NinjaTrader_Josh
12-01-2009, 09:14 AM
telbentel,

Set DrawOnPricePanel = false.

telbentel
12-01-2009, 09:37 AM
I'm not trying to do it from the indicator code but from the strategy that adds the indicator, I want to add the indicator, and then, on the panel added by the indicator, draw a line.

I tried DrawOnPricePanel but it doesn't work.

Any other solution?

thanks

NinjaTrader_Josh
12-01-2009, 09:45 AM
Unfortunately you cannot draw from the strategy to the indicator panel. You have to draw from the indicator itself if you want it on the indicator panel.