• 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

Next Bar Close

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

    Next Bar Close

    Hello,

    I'm not sure if I am posting in the right category. I am wondering whether an indicator already exists that will print the next Bar close for a RANGE BAR.

    This indicator should show 2 values, one for the bar open if the current bar closes up AND the next bar open if the current bar closes down?

    Thanks in Advance,

    Danny.

    #2
    Hello DannyS,

    Thank you for writing in.

    I am not aware of an indicator that already exists that does this. Though this forum thread will remain open for any community members that may know of this.

    This would be possible to create with a custom programmed indicator.

    The code would use the Open price and then add the number of ticks set in the data series range value to this by calling BarsPeriod.Value.

    For example:

    Print(Open[0]+(BarsPeriod.Value * TickSize));

    This would print the price where the up trend would break.

    Print(Open[0]-(BarsPeriod.Value * TickSize));

    This would print the price where the down trend would break.

    Below is a link to the help guide on BarsPeriod.
    http://www.ninjatrader.com/support/h...barsperiod.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank You ChelseaB,

      I'm not entirely versed in the Ninjatrader Custom Programming but I'm sure this will be simple to do. I was hoping a simple indicator like this already exists.

      Thank You anyway!

      Comment


        #4
        I have coded an indicator last year that plots targets for the range bar high and low. With an offset of 1 tick, it would plot the possible open levels for the next bar.
        Attached Files

        Comment


          #5
          Share Indicator?

          Harry,

          Would you be willing to share the indicator you wrote for this?

          I have been looking for one and do not do programming.

          Thanks in advance

          Comment


            #6
            Originally posted by optiontraderz View Post
            Harry,

            Would you be willing to share the indicator you wrote for this?

            I have been looking for one and do not do programming.

            Thanks in advance
            I will come back to you via private message.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cocopod, Today, 04:47 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_JoshG  
            Started by digibob, Today, 02:47 AM
            2 responses
            14 views
            0 likes
            Last Post NinjaTrader_Kate  
            Started by mntemel, Today, 03:31 PM
            4 responses
            17 views
            0 likes
            Last Post mntemel
            by mntemel
             
            Started by mrlucky1x, Today, 03:14 PM
            1 response
            4 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Started by ninjo, Today, 02:42 PM
            3 responses
            9 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X