Find high or low between bars

Forums ProRealTime English forum ProScreener support Find high or low between bars

Currently, there are 0 users and 1 guest visiting this topic.
View all attachments
Viewing 3 posts - 1 through 3 (of 3 total)
  • #189597 Report

    Hi there,

    I know there is a way to find the high or low of a number of bars BACK from the current bar, but is there a way to say “find me the highest close value between bar index 2 and 10”?

    So between two arbitrary bars, find the highest or lowest value. I can probably script something up but thought there must be a function to do this!

    Thanks again

    k

    #189603 Report

    This is the code to find “the highest close value between bar index 2 and 10”:

    it will scan bars 2 through 10 (9 bars).

     

     

    1 user thanked author for this post.
    #189658 Report

    Thanks Robert! Wow, I never would’ve figured that out. Thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login