NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM 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 > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 12-21-2007, 02:36 PM   #1
Mike Winfrey
Senior Member
 
Join Date: Aug 2007
Posts: 310
Thanks: 3
Thanked 2 times in 2 posts
Default DrawText

How do i DrawText so it is located at the bottom of the price panel. I know i can locate it under a specific bar at a price leverl but i would like this DrawText object to be at the bottom of the price panel right next to the margin.

thanks,
Mike
Mike Winfrey is offline  
Reply With Quote
Old 12-21-2007, 04:57 PM   #2
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

NinjaTrader 6 - You have to override the Plot() method. See the CustomPlotSample indicator for a reference.

NinjaTrader 6.5 - See the new method DrawTextFixed()
NinjaTrader_Ray 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
DrawText() improvement request - anchoring at the bottom Wizard General Programming 5 04-19-2008 09:36 PM
DrawText...Font...how do you use the font param? Can't find any examples funk101 General Programming 8 05-29-2007 07:10 AM
DrawText, DrawLine, etc... funk101 Indicator Development 2 05-27-2007 01:13 PM
Can not get DrawText to work (NT6) RedDuke General Programming 7 05-13-2007 06:10 PM
Bug Report on DrawText() richard Indicator Development 6 06-15-2006 03:47 AM


All times are GMT -6. The time now is 04:06 PM.