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 > Indicator Development

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

Reply
 
Thread Tools Display Modes
Old 12-30-2008, 07:53 AM   #1
cptrader
Member
 
Join Date: Oct 2008
Location: Western Australia
Posts: 80
Thanks: 0
Thanked 0 times in 0 posts
Default RSI indicator

I have created this indicator to display two RSIs and to high light a condition.The indicator compiles but is blank on the chart. Is there something wrong with what I have done?
Attached Files
File Type: txt RSI.txt (627 Bytes, 20 views)
cptrader is offline  
Reply With Quote
Old 12-30-2008, 08:11 AM   #2
NinjaTrader_Ben
NinjaTrader Customer Service
 
NinjaTrader_Ben's Avatar
 
Join Date: May 2008
Location: Denver, CO
Posts: 3,157
Thanks: 0
Thanked 3 times in 3 posts
Default

Hello,

You will need to debug it. This link will help:
http://www.ninjatrader-support2.com/...ead.php?t=3418

However, try putting if(CurrentBar < 14) return; right after the OnBarUpdate() method. This link will help with this:
http://www.ninjatrader-support2.com/...ead.php?t=3170
NinjaTrader_Ben 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
Laguerre RSI bagzi Indicator Development 8 08-22-2012 07:31 AM
Stochastic RSI indicator fxfib NinjaScript File Sharing Discussion 1 12-23-2008 02:34 PM
Help with RSI Plot shm000 Indicator Development 5 10-30-2008 09:26 AM
How do you change smoothed RSI to non-smoothed RSI cwineria NinjaScript File Sharing Discussion 1 09-21-2008 11:09 AM
RSI - draw indicator as histogram ofurbaldur Indicator Development 4 05-01-2008 08:20 AM


All times are GMT -6. The time now is 10:51 AM.