Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Calculating RSI
Collapse
X
-
Calculating RSI
I have a python script and I have an RSI configured. It works but the RSI values do not match the Ninja Trader chart and they differ greatly at times. I'm pulling in live data with NinjaTrader.Client.dll. I think because the data is coming in per tick, this may be the reason but I'm not sure. I used the source code from NinjaTrader for the RSI. I've tried back filling for a period with my historical data, changing look back periods, collecting data for 1 minute before updating, and nothing gets me close to the RSI. Has anyone experienced this?Tags: None
-
Hello Tony79,
Thank you for your post.
I recommend taking a look at the code for the RSI indicator in the NinjaScript Editor and comparing your Python code to that.
Support for the API and external programming languages is limited from NinjaTrader Support. We are not able to assist with any code in an application external to NinjaTrader, however, this thread will remain open for any members of the community who may want to assist you with your Python script.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
55 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
37 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
17 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
19 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
49 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment