• 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

HighestBar with Renko bars

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

    HighestBar with Renko bars

    Hi All

    HighestBar is defined that it "returns the number of bars ago the highest price value occurred for the lookback period".

    With time and range bars this would only happen rarely but with renko bars, you can very frequently have two or more bars within the lookback period that have precisely the same 'high' value.

    Is HighestBar coded to give the first (i.e. the right-most) highest bar it finds, and if not, the last one?

    Many thanks in advance for any insight into this.

    (Renko bars are the best to use given the huge choice in Ninja, in my opinion, but you have to be oh-so careful in working with them, as can be seen in other threads to do with renko bars).

    #2
    Hello,

    Thank you for the question.

    It looks like the way that HighestBar works would be using a Greater than equation rather than a Greater than or Equal to.

    So this would mean that if you have two bars with the same value, only the first bar would be used as the second bar was not greater than the current HighestBar.

    For LookBack periods this would be going Right side of the chart to the left so in your example this would be the right most bar.

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks very much, Jesse.

      That's answered my question exactly!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CoffeeOutlaw, Today, 05:59 PM
      3 responses
      13 views
      0 likes
      Last Post CoffeeOutlaw  
      Started by Da vinci, Today, 04:19 PM
      2 responses
      11 views
      0 likes
      Last Post Da vinci  
      Started by brunoviveiros, Today, 09:36 AM
      1 response
      24 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by GARZONJ, Today, 11:22 AM
      1 response
      10 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by KonalGondal, Today, 10:18 AM
      1 response
      20 views
      0 likes
      Last Post NinjaTrader_Kate  
      Working...
      X