![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
When calling DrawRectangle function, it appears that there's no way to specify the target panel - function uses price panel only. How come that it's not possible to choose? Same question for all other functions that behave in the same manner. Are you guys planning to change that in the future?
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: May 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
|
OK, I'll answer my own question:
Set the following property in your custom indicator's Initialize() method: DrawOnPricePanel = false; Although, one would expect false to be the default. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DrawRectangle not working | Kunisoft | Indicator Development | 5 | 03-02-2009 04:51 AM |
| DrawRectangle() bug or what am I missing? | NinjaCustomer | General Programming | 7 | 05-18-2008 04:10 PM |
| Can I have Std. Dev. lines on my indicator panel? | cassb | Indicator Development | 8 | 04-29-2008 02:02 PM |
| Reducing height of indicator panel | Harry | Indicator Development | 3 | 02-01-2008 07:21 AM |
| Indicator Panel Size | BradB | Indicator Development | 3 | 09-14-2007 07:37 AM |