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 10-24-2007, 11:38 AM   #1
mgbloomfield
Senior Member
 
Join Date: Dec 2006
Location: Seattle, Washington, USA
Posts: 150
Thanks: 0
Thanked 0 times in 0 posts
Default Label the Horizontal Line

How do I programmatically label the Horizontal Line?

I use some formulas to compute my S1,S2 and R1,R2. I want to label them when they are computed and visible.

Thanks,
Michael
mgbloomfield is offline  
Reply With Quote
Old 10-24-2007, 12:02 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

You can't add a label to a horizontal line but you can use DrawText() method to draw text on the chart.
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
Can a strategy read a horizontal line? maxpi Strategy Development 2 10-23-2007 09:03 PM
Alarm when an horizontal line or range is reached tradingkevin Suggestions And Feedback 1 05-10-2007 06:56 PM
adding a price value next to the horizontal line tradingkevin Suggestions And Feedback 2 05-10-2007 05:40 PM
Line "names" in Indicator Box change to "Line" after modification higler Charting 3 05-02-2007 06:05 AM
Horizontal Lines guym Suggestions And Feedback 2 12-07-2006 08:32 AM


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