![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: May 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
telbentel,
Set DrawOnPricePanel = false.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2009
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
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 |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
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.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |