defining stop and exit

Forums ProRealTime English forum ProOrder support defining stop and exit

Viewing 4 posts - 1 through 4 (of 4 total)
  • #62999

    Hi,

    Please, anyone could help how we define in coding the previous local high, and local low?

    I’d like to code to exit a long trade when price exceeds the previous local high (we do not exactly know, how many bars we’ve had since then), and

    stop, when price goes below the previous local low

    Thank you!

    George

    #63018

    You must define your local high/low better. Is it maybe the highest/lowest of the last X bars? That for example is easy to code.

    #63020
    #63023

    Despair, Eric

    Thanks, both of you!

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

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