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
Indicator using COT data series
Collapse
X
-
Indicator using COT data series
I would like to create a custom indicator that uses a custom data series. Is this possible? The data will be weekly values of open positions from the Commitment of Traders cftc weekly reports. How do I need to shape the data so that it can be read by an indicator? Thanks for any helpTags: None
-
Hello KSTrader,
Thanks for your post.
Custom data series can be created with a Series<double>. This could also be done with a plot as plots are Series<double>'s. After creating your plot or Series<double> in your indicator you can parse your COT data and assign it to the Series<double> or the plot's Values Series. The data can then be used like typical Series objects in your script. I would recommend creating a plot so the data can be accessed in other indicators and in strategies.
Parsing the data will be a general C# approach that would not necessarily be supported by NinjaTrader. You may be using general C# to download the data directly or you may wish to download a file and read it to analyze and sort the data ion your script.
More information on creating/using plots and creating Series objects can be found below. I'll also include a link to our StreamReader example if your approach involves reading a file for the COT data.
AddPlot() - https://ninjatrader.com/support/help...us/addplot.htm
Series<double> - https://ninjatrader.com/support/help...us/seriest.htm
SampleStreamReader - https://ninjatrader.com/support/help...o_read_fro.htm
Please let us know if you have any additional questions.JimNinjaTrader Customer Service
-
NinjaTrader_Jim NinjaTrader_ShawnB NinjaTrader_ChelseaB , lots of folks make reference to a free COT report indicator ? Do you know where I can find it? Thanks for your help.
Comment
-
I had one which was developed by Alan P of NT support team, but that is taken down. Jim has recently informed me that and submitted a feature requested on my behalf for this COT indicator to their development team. I hope they will work on this very quickly, as it looks like this if of high demand.
- Likes 1
Comment
-
Hello KSTrader,
There used to be a free COT indicator on the User App Share but is not longer maintained and was taken down. You may check our EcoSystem if any vendors have one available or we could have someone reach out with more information on NinjaScript Consultants who can build one for you, if you are interested.
I'll also add a vote on your behalf for us to include a free COT indicator with the platform. We are tracking interest in our additional indicators ticket SFT-2387.
If there is anything else we can do to help, please let us know.JimNinjaTrader Customer Service
- Likes 2
Comment
-
-
- Likes 1
Comment
-
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by junkone, Today, 11:37 AM
|
2 responses
14 views
0 likes
|
Last Post
by junkone
Today, 12:09 PM
|
||
Started by frankthearm, Yesterday, 09:08 AM
|
12 responses
43 views
0 likes
|
Last Post Today, 12:05 PM | ||
Started by quantismo, 04-17-2024, 05:13 PM
|
5 responses
35 views
0 likes
|
Last Post Today, 11:32 AM | ||
Started by proptrade13, Today, 11:06 AM
|
1 response
7 views
0 likes
|
Last Post Today, 11:27 AM | ||
Started by love2code2trade, 04-17-2024, 01:45 PM
|
4 responses
35 views
0 likes
|
Last Post Yesterday, 10:31 PM |
Comment