All time maximum (at close)

Forums ProRealTime English forum ProBuilder support All time maximum (at close)

Viewing 3 posts - 1 through 3 (of 3 total)
  • #70931

    Hello everybody,

    I am trying to generate an indicator that shows the all time high (evaluated at close)

    For that I am just checking when the close<close[1] and close[1]<close[2] (condition of relative maximum)

    The problem is that it shows me all the relative maximums even when they are lower than the previos higher maximums (see picture)

    I would like to add a condition like close>MM[1], but then the code does nothing.

    Could you please help me?
    Cheers

    Modified code which does not work

     

    #70938

    Just remove, or comment out, lines 5-6.

    #70941

    Thanks a lot!!
    A found it out in the last 10 min!! 😉

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