• 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 HiddenPhilosopher, Today, 07:24 PM
      0 responses
      7 views
      0 likes
      Last Post HiddenPhilosopher  
      Started by dkbyond, Today, 06:43 PM
      0 responses
      6 views
      0 likes
      Last Post dkbyond
      by dkbyond
       
      Started by i2w8am9ii2, Today, 06:05 PM
      0 responses
      2 views
      0 likes
      Last Post i2w8am9ii2  
      Started by YevhenShynkarenko, Today, 05:46 PM
      0 responses
      5 views
      0 likes
      Last Post YevhenShynkarenko  
      Started by Bionian, Today, 04:14 PM
      0 responses
      5 views
      0 likes
      Last Post Bionian
      by Bionian
       
      Working...
      X