NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 12-01-2009, 08:55 AM   #1
telbentel
Member
 
Join Date: May 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Default how to draw a line in a panel other than the price panel

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
telbentel is offline  
Reply With Quote
Old 12-01-2009, 09:14 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

telbentel,

Set DrawOnPricePanel = false.
NinjaTrader_Josh is offline  
Reply With Quote
Old 12-01-2009, 09:37 AM   #3
telbentel
Member
 
Join Date: May 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
Default

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
telbentel is offline  
Reply With Quote
Old 12-01-2009, 09:45 AM   #4
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

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.
NinjaTrader_Josh is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Draw Vertical Line not in Price Panel mason Indicator Development 3 12-01-2009 09:50 AM
How-To Draw Price Pins in Price Panel? tazatek Indicator Development 4 11-19-2009 07:00 AM
Draw dots on the price panel in the top right corner cunparis Indicator Development 4 11-15-2009 01:56 PM
Indicator writing to own panel and price panel cherriman Indicator Development 6 10-13-2008 03:14 PM
draw on price panel argito Strategy Development 8 06-09-2008 10:09 AM


All times are GMT -6. The time now is 09:57 AM.