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!
See more
See less

Partner 728x90

Collapse

Cot Report In Ninjatrader

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

    #31
    Originally posted by cunparis View Post
    Thank you for the link. The article is very interesting, it will take me some time to study it and see if I can do some tests. What I get is to look for divergence. Trend up & OI down. This could be programmed using a simple moving average and comparing the slopes.
    i'd be up for helping you test it out....just let me know. Just to let you know though, i don't know one thing about programming.

    -robert

    Comment


      #32
      COT indicator by Larry Williams

      Jr, I am most interested in the one used by Larry. That is what got me started on the COT to begin with. If you have an indicator programmed that works like the one Larry Williams uses, please let me know. If you rent it out on a monthly basis, then let me know the price and where to go to get hooked up. Thank you.

      Comment


        #33
        Finally an open-code COT indicator has been released for NT.

        It's still in need of some work, but anyone following this thread should check it out (and contribute testing and coding if you can).

        Comment


          #34
          I made COT for NT. It used my mysql server with datas from CFTC.gov
          Attached Files

          Comment


            #35
            Looks very cool. Where can we download it? Thanks!


            Originally posted by idolzhenko View Post
            I made COT for NT. It used my mysql server with datas from CFTC.gov

            Comment


              #36
              1. You must setup your mysql server
              2. You must create tables

              CREATE TABLE COT.cot_datafeed(
              contract_code CHAR (6) NOT NULL COMMENT 'CFTC Contract Market Code',
              datafeed_code VARCHAR (6) NOT NULL COMMENT 'Datafeed code',
              UNIQUE INDEX index1 USING BTREE (contract_code, datafeed_code)
              )

              CREATE TABLE COT.cot_report(
              report_date DATE NOT NULL COMMENT 'As of Date in Form YYYY-MM-DD',
              contract_code CHAR (6) NOT NULL COMMENT 'CFTC Contract Market Code',
              market_code VARCHAR (4) NOT NULL COMMENT 'CFTC Market Code in Initials',
              commodity_code CHAR (3) NOT NULL COMMENT 'CFTC Commodity Code',
              open_interest_all INT (11) NOT NULL COMMENT 'Open Interest (All)',
              large_long_all INT (11) NOT NULL COMMENT 'Noncommercial Positions-Long (All)',
              large_short_all INT (11) NOT NULL COMMENT 'Noncommercial Positions-Short (All)',
              large_spread_all INT (11) NOT NULL COMMENT 'Noncommercial Positions-Spreading (All)',
              comm_long_all INT (11) NOT NULL COMMENT 'Commercial Positions-Long (All)',
              comm_short_all INT (11) NOT NULL COMMENT 'Commercial Positions-Short (All)',
              comm_large_long_all INT (11) NOT NULL COMMENT 'Total Reportable Positions-Long (All)',
              comm_large_short_all INT (11) NOT NULL COMMENT 'Total Reportable Positions-Short (All)',
              specs_long_all INT (11) NOT NULL COMMENT 'Nonreportable Positions-Long (All)',
              specs_short_all INT (11) NOT NULL COMMENT 'Nonreportable Positions-Short (All)',
              open_interest_old INT (11) NOT NULL COMMENT 'Open Interest (Old)',
              large_long_old INT (11) NOT NULL COMMENT 'Noncommercial Positions-Long (Old)',
              large_short_old INT (11) NOT NULL COMMENT 'Noncommercial Positions-Short (Old)',
              large_spread_old INT (11) NOT NULL COMMENT 'Noncommercial Positions-Spreading (Old)',
              comm_long_old INT (11) NOT NULL COMMENT 'Commercial Positions-Long (Old)',
              comm_short_old INT (11) NOT NULL COMMENT 'Commercial Positions-Short (Old)',
              comm_large_long_old INT (11) NOT NULL COMMENT 'Total Reportable Positions-Long (Old)',
              comm_large_short_old INT (11) NOT NULL COMMENT 'Total Reportable Positions-Short (Old)',
              specs_long_old INT (11) NOT NULL COMMENT 'Nonreportable Positions-Long (Old)',
              specs_short_old INT (11) NOT NULL COMMENT 'Nonreportable Positions-Short (Old)',
              open_interest_other INT (11) NOT NULL COMMENT 'Open Interest (Other)',
              large_long_other INT (11) NOT NULL COMMENT 'Noncommercial Positions-Long (Other)',
              large_short_other INT (11) NOT NULL COMMENT 'Noncommercial Positions-Short (Other)',
              large_spread_other INT (11) NOT NULL COMMENT 'Noncommercial Positions-Spreading (Other)',
              comm_long_other INT (11) NOT NULL COMMENT 'Commercial Positions-Long (Other)',
              comm_short_other INT (11) NOT NULL COMMENT 'Commercial Positions-Short (Other)',
              comm_large_long_other INT (11) NOT NULL COMMENT 'Total Reportable Positions-Long (Other)',
              comm_large_short_other INT (11) NOT NULL COMMENT 'Total Reportable Positions-Short (Other)',
              specs_long_other INT (11) NOT NULL COMMENT 'Nonreportable Positions-Long (Other)',
              specs_short_other INT (11) NOT NULL COMMENT 'Nonreportable Positions-Short (Other)',
              change_open_interest_all INT (11) NOT NULL COMMENT 'Change in Open Interest (All)',
              change_large_long_all INT (11) NOT NULL COMMENT 'Change in Noncommercial-Long (All)',
              change_large_short_all INT (11) NOT NULL COMMENT 'Change in Noncommercial-Short (All)',
              change_large_spread_all INT (11) NOT NULL COMMENT 'Change in Noncommercial-Spreading (All)',
              change_comm_long_all INT (11) NOT NULL COMMENT 'Change in Commercial-Long (All)',
              change_comm_short_all INT (11) NOT NULL COMMENT 'Change in Commercial-Short (All)',
              change_cl_long_all INT (11) NOT NULL COMMENT 'Change in Total Reportable-Long (All)',
              change_cl_short_all INT (11) NOT NULL COMMENT 'Change in Total Reportable-Short (All)',
              change_specs_long_all INT (11) NOT NULL COMMENT 'Change in Nonreportable-Long (All)',
              change_specs_short_all INT (11) NOT NULL COMMENT 'Change in Nonreportable-Short (All)',
              INDEX idx_market_code USING BTREE (market_code),
              UNIQUE INDEX pk_cot_report USING BTREE (contract_code, report_date)
              )

              3. You must get COT report from CFTC.gov


              ...


              and put data in table cot_report

              4. You must put in cot_datafeed table data. For example
              contract_code datafeed_code
              232741 6A
              096742 6B
              090741 6C
              099741 6E
              097741 6J
              095741 6M
              092741 6S
              033661 CT
              098662 DX
              13874A ES
              ...
              and so on.

              5. You must install .Net connector for MySQL


              6. You must write in References
              C:\Program Files\MySQL\MySQL Connector Net 5.2.7\Binaries\.NET 2.0\MySql.Data.dll;
              C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Syst em.Data.dll;

              7. You must import MTDcot indicator

              That's all.

              It is source code for indicators with trial access (1 month) to my mysql.
              Attached Files
              Last edited by idolzhenko; 08-13-2009, 05:43 AM.

              Comment


                #37
                Originally posted by Elliott Wave View Post
                Here is a different version.

                -I reversed the plot logic so above center is a rising trend, and below is a falling trend.

                -There is a second smoothed plot which can be used with the other line in a crossover system, or as the primary signal to reduce some whipsaws.

                -The color scheme has been changed to be a little less ugly.

                Hopefully its useful to somebody.


                *The version I'm using uses the JMA, but since that's a proprietary indicator, I used the T3 for this version.

                Hi EW,

                Do you have this for NT 7? doesn't seem to work in NT 7. Thanks!

                Comment


                  #38
                  Hello,

                  you could use my COTReport for NT7. See http://www.zweisteintrading.eu/cotreport.htm

                  No monthly fee, just a one time payment.

                  COTReport can also be used in backtesting (allthough some restrictions apply)

                  regards

                  andreas

                  Comment


                    #39
                    i am not sure but this person seems to be utilizing Larry Williams technique of the COT proxy. is that what you are looking for?

                    see http://uncleti88.blogspot.com/

                    he is using it to trade stocks

                    Comment


                      #40
                      I am most interested in the one used by Larry. That is what got me started on the COT to begin with. If you have an indicator programmed that works like the one Larry Williams uses, please let me know. If you rent it out on a monthly basis, then let me know the price and where to go to get hooked up. Thank you.Many thanks
                      Last edited by NinjaTrader_Austin; 09-25-2011, 02:05 PM. Reason: edited out spam

                      Comment


                        #41
                        Hello . I downloaded the data from the " CFTC.gov " and have the .zip files . But I did not understand how to add them in the " cot_report " table. This method is totally manual? Could you explain that? And the " contract_code " I use that you passed. For example? " Contract_code datafeed_code
                        232741 6A " ?

                        Comment


                          #42
                          COTReport for NinjaTrader 8

                          Hello to all,

                          finally a complete COTReport integration into NinjaTrader 8 is available.

                          Please have a look at
                          http://www.zweisteintrading.eu/cotreport.htm

                          Best regards
                          Andreas
                          Start trading with Exness, a leading platform offering low spreads, advanced tools & a wide range of assets. Open your account today!
                          Attached Files

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by cre8able, Today, 01:01 PM
                          0 responses
                          2 views
                          0 likes
                          Last Post cre8able  
                          Started by manitshah915, Today, 12:59 PM
                          0 responses
                          3 views
                          0 likes
                          Last Post manitshah915  
                          Started by ursavent, Today, 12:54 PM
                          0 responses
                          3 views
                          0 likes
                          Last Post ursavent  
                          Started by Mizzouman1, Today, 07:35 AM
                          3 responses
                          17 views
                          0 likes
                          Last Post NinjaTrader_Gaby  
                          Started by RubenCazorla, Today, 09:07 AM
                          2 responses
                          13 views
                          0 likes
                          Last Post NinjaTrader_ChelseaB  
                          Working...
                          X