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

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 Mongo, Today, 11:05 AM
            4 responses
            14 views
            0 likes
            Last Post Mongo
            by Mongo
             
            Started by traderqz, Today, 12:06 AM
            7 responses
            13 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by Skifree, Today, 03:41 AM
            5 responses
            13 views
            0 likes
            Last Post Skifree
            by Skifree
             
            Started by traderqz, Yesterday, 09:06 AM
            5 responses
            34 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by guillembm, Today, 11:25 AM
            1 response
            6 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Working...
            X