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 > Application Technical Support > Charting

Charting Support for NinjaTrader Advanced Charting.

Reply
 
Thread Tools Display Modes
Old 11-08-2010, 09:08 AM   #1
tradinginzen
Senior Member
 
Join Date: Feb 2009
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
Default Add lines to indicators

I'd like to add dotted horizontal lines to the RSI indicator I use at 40 and 60... do I need to program an RSI indicator to include this?
tradinginzen is offline  
Reply With Quote
Old 11-08-2010, 09:20 AM   #2
NinjaTrader_RyanM
NinjaTrader Customer Service
 
NinjaTrader_RyanM's Avatar
 
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
Default

Hello TradingZen,

You can apply horizontal lines without custom coding. Right Click on Chart > Indicators > Double click Constant Lines indicator to apply to your chart. Set the panel for this indicator the same as your RSI, and set the values for the lines at 40, 60.

If you wanted to make changes to the indicator, you need to first save a copy. From the NinjaScript Editor > Right Click > Save as and provide a new name. Additional lines can be added in the Initilize() method or you can simply change the values (30 & 70) that are there now.
NinjaTrader_RyanM 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
Ninja 7-16-Drawing lines on indicators is not possible Art09 Miscellaneous Support 5 06-23-2011 10:02 PM
Removing lines from the chart and indicators Art09 Suggestions And Feedback 1 04-30-2010 05:05 PM
Strategy Wizard - How add vertical lines Nice Person Charting 22 04-09-2010 06:14 AM
Trying to add Pivots/Res-lines in script toasty Indicator Development 1 01-11-2010 03:39 PM
Changing default reference lines for indicators practic Strategy Analyzer 7 01-28-2009 04:07 PM


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