Distance to last fractal high

Forums ProRealTime English forum ProScreener support Distance to last fractal high

Viewing 2 posts - 1 through 2 (of 2 total)
  • #240681

    I’m looking for some help to write code to define the distance to the last fractal high. In other words, what is the current distance to the last higher high (when there was at least 1 bar break lower). I’ve attached an example and drawn what I am defining as the fractal low (purple dot) and the distance I am trying to calculate (red lines). I assume this has to use an array of sorts but I’m not very well versed in those yet.

    #240692

    I don’t know what indicator you used, so I made this one:

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)

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