Announcement
Collapse
No announcement yet.
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?
Is this something that is not displaying in the chart only or is this not displaying at all in the chart or backtest?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.
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 assistance
Comment
-
After adding the Strategy to the chart, have you actually enabled the Strategy?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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
332 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment