Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Opening range breakout

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

    Opening range breakout

    has anyone figured out how to by 7 points off the open?

    #2
    Use Bars.FirstBarOfSession to get the open of the day by accessing Open[0] on that bar. Then it is just a matter of adding 7 points to that value when you submit your EnterLongLimit order.

    http://www.ninjatrader-support.com/H...OfSession.html
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      thanks for the hlep

      Comment


        #4
        how about if you want to do this but with day session only times for numerous markets (8:20 EST for bonds, 9:00 for crude, 9:30 for S&Ps) etc. Not interested in building historical bars with day only data, just trading off the open for several markets using the current day session only times.

        thanks in advance.

        Comment


          #5
          Hello,

          Use Josh's post and this link to do it off of multiple instruments:
          http://www.ninjatrader-support.com/H...struments.html
          DenNinjaTrader Customer Service

          Comment


            #6
            thanks. I'm still just a bit lost though: how do you set the appropriate times for each individual market for which the "buy off the open" stop would be worked? ( I only want to work the stop from 9:00am to 2:30 p.m. for crude, from 9:30am to 4:00 p.m. for emini's, 8:20 a.m. to 3:00 pm for bonds). I understand there will be a temptae for this in version 7, but I can't seem to figure out how to do this in the current version.

            Comment


              #7
              Hello,

              Oh, just filter using time ToTime(Time[0]):
              http://www.ninjatrader-support.com/H...V6/ToTime.html
              These two links have examples that will help you (but not exactly what you want to do):
              http://www.ninjatrader-support2.com/...ead.php?t=3226
              http://www.ninjatrader-support2.com/...ead.php?t=3225

              But you will need to build a different criteria for each instrument bar you use.

              Give it a try and post code and questions if you get stumped.
              DenNinjaTrader Customer Service

              Comment


                #8
                wil do. thanks for the quick responses.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by sinpeople, Today, 07:20 AM
                1 response
                2 views
                0 likes
                Last Post NT-Roland  
                Started by Frank1000, Today, 03:05 AM
                1 response
                6 views
                0 likes
                Last Post NT-Roland  
                Started by ntdev, Today, 01:14 AM
                4 responses
                16 views
                0 likes
                Last Post ntdev
                by ntdev
                 
                Started by ct, Today, 02:22 AM
                1 response
                7 views
                0 likes
                Last Post NinjaTrader_Jason  
                Started by yodaler, Yesterday, 06:12 PM
                4 responses
                13 views
                0 likes
                Last Post NinjaTrader_Jason  
                Working...
                X