• 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

News Indicator

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

    News Indicator

    As per title, I tried to built something like news indicator where it fetch data from spesific website, and show at NT graph, and need to refresh each 5 second, any sample code that I can refer to?

    Thanks.

    #2
    Hello d3xter,

    Thank you for your post and welcome to the NinjaTrader Support Forum!

    We do not have any examples of this specific function in a script. The needed code for this project would be unsupported in NinjaScript.

    There are several examples and discussions on how to do this available for C#. The following link is to a question asked on StackOverflow that should shed some light on this for you: http://stackoverflow.com/questions/1...-displaying-it
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      d3xter.

      There is an indicator called jtEconNews in the "NT Version 7 Indicators" section which may fit what you are looking for.

      sandman

      Comment


        #4
        Do you have any News Indicator such as jtEconNews for NT8? Please let me know. Thank you. _JOE

        Comment


          #5
          Hello jhdewan,

          Thank you for your post and welcome to the NinjaTrader Support Forum!

          We will look into converting this indicator for NinjaTrader 8.

          Please let me know if you have any questions.
          Patrick H.NinjaTrader Customer Service

          Comment


            #6
            Hello jhdewan,

            I'm working on converting this indicator and will post a link when I've finished.

            Thank you for your patience.
            Alan P.NinjaTrader Customer Service

            Comment


              #7
              Looking forward to it. Thanks.

              Comment


                #8
                Originally posted by NinjaTrader_AlanP View Post
                Hello jhdewan,

                I'm working on converting this indicator and will post a link when I've finished.

                Thank you for your patience.
                Hi Alan,

                Almost all traders are interested in the market reaction on and after the news event to determine a bias. For example, the weekly EIA Petroleum Report on Wednesdays most often will cause the CL to react noticeably if the actual numbers show there is more than 2-Mil change in crude inventory, creating a high probability bias for the trading day. The current version of jtEconNews new does not report the actual numbers.

                A couple of suggestions for NT8 version that you may want to consider as you convert this indicator to make it more valuable than just an event reminder

                1. Add an additional last column that will include the Actual number (filled on news availability).

                2. Add at least two rows on top that show the post-news(the last expired two events) so that the traders see the actual numbers and can determine a bias.

                Including the post-event actual numbers would be a significant added value to your NT8 version of this indicator.

                Thanks.
                Last edited by aligator; 08-13-2018, 04:08 PM.

                Comment


                  #9
                  Hello Aligator,

                  Thank you for your suggestions.

                  I’ve uploaded the indicator here.
                  https://ninjatrader.com/support/foru...=7&linkid=1160

                  Regarding your suggestions, the release number is not available at the web link the indicator uses, so to build the actual figure would require a web address where this data could be parsed from. If you could find a link with the same information as is obtained from the link below, plus the actual number, I could look into adding the release number to the indicator.

                  http://www.forexfactory.com/ffcal_week_this.xml

                  Please let us know if you need further assistance.
                  Alan P.NinjaTrader Customer Service

                  Comment


                    #10
                    jtEconNews2a

                    Thank you for posting the indicator. But I can't install it.
                    I get following error message,


                    Error: The NinjaScriptArchive File does not contain an Info.xml file or is corrupt. Please check the archive file.


                    Please advise. Thank you.
                    jhdewan

                    Originally posted by NinjaTrader_AlanP View Post
                    Hello Aligator,

                    Thank you for your suggestions.

                    I’ve uploaded the indicator here.
                    https://ninjatrader.com/support/foru...=7&linkid=1160

                    Regarding your suggestions, the release number is not available at the web link the indicator uses, so to build the actual figure would require a web address where this data could be parsed from. If you could find a link with the same information as is obtained from the link below, plus the actual number, I could look into adding the release number to the indicator.

                    http://www.forexfactory.com/ffcal_week_this.xml

                    Please let us know if you need further assistance.

                    Comment


                      #11
                      Hello jhdewan,

                      I fixed the issue. Please let us know if you are still unable to import.
                      https://ninjatrader.com/support/foru...=7&linkid=1160
                      Alan P.NinjaTrader Customer Service

                      Comment


                        #12
                        jtEconNews2a

                        Thanks, Alan P.
                        It works.

                        But 1 interesting issue, After importing and setup, on Indicators / Configured list this indicator is blank. Please see attached file, red arrow.

                        Thank you.
                        jhdewan


                        Originally posted by NinjaTrader_AlanP View Post
                        Hello jhdewan,

                        I fixed the issue. Please let us know if you are still unable to import.
                        https://ninjatrader.com/support/foru...=7&linkid=1160
                        Attached Files

                        Comment


                          #13
                          Hello jhdewan,

                          Thank you for your response.

                          The 'Label' parameter in the Indicators menu when configuring the indicator will need to be set to a name.

                          Please let me know if you have any questions.
                          Patrick H.NinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by Debayan Sen, Today, 01:50 AM
                          0 responses
                          3 views
                          0 likes
                          Last Post Debayan Sen  
                          Started by eleven, Yesterday, 10:03 PM
                          1 response
                          9 views
                          0 likes
                          Last Post eleven
                          by eleven
                           
                          Started by tvbecv, Yesterday, 09:23 PM
                          0 responses
                          8 views
                          0 likes
                          Last Post tvbecv
                          by tvbecv
                           
                          Started by reedstickets, Yesterday, 08:07 PM
                          0 responses
                          9 views
                          0 likes
                          Last Post reedstickets  
                          Started by timko, Yesterday, 07:39 PM
                          0 responses
                          5 views
                          0 likes
                          Last Post timko
                          by timko
                           
                          Working...
                          X