Average True Range indicator as stop

Forums ProRealTime English forum ProOrder support Average True Range indicator as stop

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

    I want to use multiples of Average True Range as a stop loss and limit

    I tried below, with ‘D’ variable for ATR periods, and’E’ & ‘F’ variables for multiplication of ATR, not working.

     

    Any ideas?

    Thank you.

    MODERATORS EDIT: Code tidied up. Please always use the ‘Insert PRT Code’ button when posting code.

    #142436

    ATR does not return pips, so you should remove “p” and use just LOSS and PROFIT.

     

    #142508

    Bear in mind that using these function in the code will continuously adapt the Takeprofit and Stoploss on each variation of the ATR. You should enclose these instructions into the condition that trigger the order.

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