NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Indicator Development

Indicator Development Support for the development of custom indicators using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 06-30-2008, 04:25 AM   #1
zlpele
Junior Member
 
Join Date: May 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Question DrawRectangle in indicator panel

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?
zlpele is offline  
Reply With Quote
Old 06-30-2008, 04:34 AM   #2
zlpele
Junior Member
 
Join Date: May 2008
Posts: 20
Thanks: 0
Thanked 0 times in 0 posts
Default

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.
zlpele 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
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


All times are GMT -6. The time now is 02:51 PM.