• 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

Plot RTH Open

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

    Plot RTH Open

    I am trying to find/build an indicator that plots the opening RTH print. I don't need anything else, just a line that is automatically plotted on the opening print at 9am EST (CL pit open)

    #2
    Hello 1zach4,

    Thank you for your post and welcome to the NinjaTrader customer support!

    You can apply the RTH Session Template to your chart for the instrument you are using by right clicking in your chart > select Data Series > change the Session Template to the desired RTH Session Template > OK.

    Then right click in your chart > select Indicators > select the CurrentDayOHL > set the High and Low to Transparent for the colors > OK.

    This will plot the Open as a line on your chart for the the current day's RTH Open.

    For information on Session Template please visit the following link: http://www.ninjatrader.com/support/h...on_manager.htm

    For information on working with indicators in your chart please visit the following link: http://www.ninjatrader.com/support/h...indicators.htm

    Please let me know if I may be of further assistance.
    Patrick H.NinjaTrader Customer Service

    Comment


      #3
      Thanks Patrick

      I am trying to plot just the Open because when I try to backtest using the CurrentDayOHL, it does not use just the Open price, even when I set it to only use the Open

      Comment


        #4
        Hello 1zach4,

        Thank you for your response.

        You can use the following for the print of the Open at 9 AM EST (if your PC is set to EST):
        Code:
        if(ToTime(Time[0]) == 90000)
        {
        DrawHorizontalLine("open", Open[0], Color.Blue);
        }
        For information on DrawHorizontalLine() please visit the following link: http://www.ninjatrader.com/support/h...zontalline.htm

        Please let me know if I may be of further assistance.
        Patrick H.NinjaTrader Customer Service

        Comment


          #5
          100% new to NT coding. Where/how do I enter that string of code?

          Comment


            #6
            Hello 1zach4,

            Thank you for your response.

            We have Premium Paid Educational events where you will join a NinjaScript expert for a pair of 6-8 hour long intensive courses designed to provide you with an in depth look at programming indicators and automated strategies through the use of NinjaScript:
            http://www.ninjatrader.com/PremiumEducation.php

            If you would like to take on learning NinjaScript on your own, we have a fully documented help guide which will help you get started with Ninja Script. You will find language references to all of the methods and functions you will be using. You will also see a tutorial section which will help you create your first indicator and get you started with some of these concepts.
            A link to our Help Guide can be found below: http://www.ninjatrader.com/support/h...stribution.htm

            I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript: http://www.ninjatrader.com/support/h..._resources.htm

            You will find Reference Samples online as well as some Tips and Tricks for both indicators and strategies:
            Click here to see our NinjaScript Reference Samples: http://www.ninjatrader.com/support/f...splay.php?f=30
            Click here to see our NinjaScript Tips: http://www.ninjatrader.com/support/f...ead.php?t=3229

            These samples can be downloaded, installed and modified from NinjaTrader and hopefully serve as a good base for your custom works.

            There is a also a growing library of user submitted custom indicators (100+) that can be downloaded from our support form. Please look in the NinjaScript File Sharing section of our support forum as you may find what you are looking for there: http://www.ninjatrader.com/support/f...splay.php?f=37

            If you have limited time or programming capabilities, you can discuss your requirements with any of our certified NinjaScript consultants.
            Click here for a list of certified NinjaScript Consultants: http://www.ninjatrader.com/partners#...pt-Consultants

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

            Comment


              #7
              Originally posted by 1zach4 View Post
              I am trying to find/build an indicator that plots the opening RTH print. I don't need anything else, just a line that is automatically plotted on the opening print at 9am EST (CL pit open)
              The opening range indicator plots

              -> the regular open
              -> the opening range based on a selectable interval
              -> the night session range (pre-low and pre-high)

              You can disable the plots not needed by setting them to "Transparent".

              https://www.bigmiketrading.com/downl...load.html?view

              Alternatively you can use the SessionPivots indicator from the download section to plot the current regular open. However, this indicator requires the use of a session template, which subdivides the trading day into night session, regular session and evening session.

              http://www.ninjatrader.com/support/f...d=4&linkid=343

              Charts attached for both indicators.
              Attached Files

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by pparmley, Today, 04:30 PM
              0 responses
              4 views
              0 likes
              Last Post pparmley  
              Started by tonynt, Today, 04:21 PM
              0 responses
              4 views
              0 likes
              Last Post tonynt
              by tonynt
               
              Started by williamzz, Today, 03:44 PM
              1 response
              10 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by Miguel_88, Yesterday, 06:41 PM
              2 responses
              26 views
              0 likes
              Last Post Miguel_88  
              Started by williamzz, Today, 02:12 PM
              1 response
              11 views
              0 likes
              Last Post NinjaTrader_Jim  
              Working...
              X