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.

    Comment


      #3
      Thanks very much, Jesse.

      That's answered my question exactly!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Hwop38, 05-04-2026, 07:02 PM
      0 responses
      160 views
      0 likes
      Last Post Hwop38
      by Hwop38
       
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      308 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      245 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      349 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      179 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Working...
      X