Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Add(RSI(20,3));
Collapse
X
-
Add(RSI(20,3));
I've added the following code into the Initialize() section Add(RSI(20,3)) but when I back test the RSI indicator is not showing upTags: None
-
There are no error in the log file. I've spoken incorrectly and I apologize, what I should have said is I'm not seeing the RSI when I add the strategy to a chart. The only code I have is in the Initialize section and the code is Add(RSI(13,3)) I have no code in OnBarUpdate either.Last edited by d.allen101; 05-19-2014, 12:18 PM.
Comment
-
Hello d.allen101
I just wanted to verify with you this is how your current code looks, you said that you have only the RSI in the initialize section with no other code in the strategy and it is not showing up correct?
Code:protected override void Initialize() { CalculateOnBarClose = true; Add(RSI(13,3)); } protected override void OnBarUpdate() { }
Also have you had the output window up when you load the strategy into the chart? is anything reported in the output such as an onBarUpdate error?
I look forward to being of further assistance.JesseNinjaTrader Customer Service
Comment
-
I'm sorry for the mis-communication, it's not when I bast test that I don't see the indicator it's when I add the strategy to a chart that I'm not seeing the indicator.
Comment
-
Hello d.allen101,
Thank you for clarifying that for me.
Were you able to check the output window (not the log) to see if there is any error thrown when the strategy is enabled on the chart?
Also in the chart in the top left where it displays the chart title and the strategy name, does this show (D) the_strategy_name or just the_strategy_name? The (D) would be if the strategy is disabled but added to the current chart.
If at some point during the enabling of the strategy it has an error this would throw the strategy back into a disabled state and would not display anything.
Please let me know if I may be of additional assistanceJesseNinjaTrader Customer Service
Comment
-
Originally posted by d.allen101 View PostI'm sorry for the mis-communication, it's not when I bast test that I don't see the indicator it's when I add the strategy to a chart that I'm not seeing the indicator.
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by r68cervera, Today, 05:29 AM
|
0 responses
3 views
0 likes
|
Last Post
by r68cervera
Today, 05:29 AM
|
||
Started by geddyisodin, Today, 05:20 AM
|
0 responses
4 views
0 likes
|
Last Post
by geddyisodin
Today, 05:20 AM
|
||
Started by JonesJoker, 04-22-2024, 12:23 PM
|
6 responses
35 views
0 likes
|
Last Post
by JonesJoker
Today, 05:14 AM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
12 responses
3,239 views
0 likes
|
Last Post
by Leafcutter
Today, 05:08 AM
|
||
Hi
by AveryFlynn
Started by AveryFlynn, Today, 04:57 AM
|
0 responses
7 views
0 likes
|
Last Post
by AveryFlynn
Today, 04:57 AM
|
Comment