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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
157 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
307 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
244 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
346 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
176 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment