• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator using COT data series

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 help

    #2
    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

    Comment


      #3
      You're awesome. I'll try it and keep you posted. Thanks

      Comment


        #4
        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


          #5
          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.

          Comment


            #6
            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

            Comment


              #7
              Thanks NinjaTrader_Jim

              Comment


                #8
                More additional interest for a free COT indicator like GOMI order flow please. Thank you so much

                Comment


                  #9
                  hautetoddy,

                  Thanks! Vote added!
                  Josh G.NinjaTrader Customer Service

                  Comment


                    #10
                    Hi, please add my vote to the COT indicator too.

                    Comment


                      #11
                      Hi Balage0922, thanks your vote has been applied.
                      Chris L.NinjaTrader Customer Service

                      Comment


                        #12
                        I'd also like to vote for this.

                        Comment


                          #13
                          Hi Conall, thank you your vote has been added.
                          Chris L.NinjaTrader Customer Service

                          Comment


                            #14
                            Please add my vote for COT indicator, thanks

                            Comment


                              #15
                              Hello Gianni78bari, thanks, your vote has been added.
                              Chris L.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by dkbyond, Yesterday, 04:03 PM
                              1 response
                              8 views
                              0 likes
                              Last Post NinjaTrader_Marco  
                              Started by Guru73, Today, 02:47 AM
                              1 response
                              9 views
                              0 likes
                              Last Post Guru73
                              by Guru73
                               
                              Started by pjsmith, Today, 02:44 AM
                              0 responses
                              5 views
                              0 likes
                              Last Post pjsmith
                              by pjsmith
                               
                              Started by dalebru, Today, 01:51 AM
                              1 response
                              8 views
                              0 likes
                              Last Post bltdavid  
                              Started by Austiner87, Yesterday, 09:33 PM
                              0 responses
                              12 views
                              0 likes
                              Last Post Austiner87  
                              Working...
                              X