Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
OpenInterest data for Indicators and Marketanalyzer
Collapse
X
-
OpenInterest data for Indicators and Marketanalyzer
I get Live OpenInterest data from my data provider and can see it in Market Analyzer. I would like to do some calculations based on OI and create another MarketAnalyzer column with plots and also a custom indicator. How can I do it in NinjaScript? Is there a sample code for using OI data as indicator?1 PhotoTags: None
-
Hello rosrym,
Below I am providing a link to a support article with helpful resources on getting started with C# and NinjaScript.
As well as a link to the help guide on MarketAnalyzerColumn scripts.
Included with NinjaTrader are several MarketAnalyzerColumn system scripts you can view the code of in the NinjaScript Editor.
By OI are you referring to file streaming with System.IO?
Contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.
Below is a link to the help guide reference samples of using System.IO, StreamReader, and StreamWriter to read and write a text file.
Chelsea B.NinjaTrader Customer Service
-
Thank you for your response. But this is not what I meant. I am familiar with C#. By OI I meant OpenInterest. Sorry if that was not clear. What I am asking is can you give a sample or example of how I can call OpenInterest in NinjaScript ? I am already getting the live data as you can see in the screenshot. A simple example of how to PLOT OpenInterest in chart would also do. I don't see any way of calling it in my custom scripts.Originally posted by NinjaTrader_ChelseaB View PostHello rosrym,
Below I am providing a link to a support article with helpful resources on getting started with C# and NinjaScript.
As well as a link to the help guide on MarketAnalyzerColumn scripts.
Included with NinjaTrader are several MarketAnalyzerColumn system scripts you can view the code of in the NinjaScript Editor.
By OI are you referring to file streaming with System.IO?
Contains types that allow reading and writing to files and data streams, and types that provide basic file and directory support.
Below is a link to the help guide reference samples of using System.IO, StreamReader, and StreamWriter to read and write a text file.
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
333 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