trailing stop after achieving x pips

Forums ProRealTime English forum ProOrder support trailing stop after achieving x pips

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

    Hello

     

    I understand I can add a trailing 10 pips stop with “SET STOP PTRAILING10”

     

    how would i write it when i want the code to achieve 8 points FIRST before the PTRAILING10 starts (i.e when the code is in 8 pips profit and before that the STOPLOSS would be 5 if the code never went into profit of 8 )

     

    Many thanks

    #166868

    SET STOP PTRAILING can only set the start, the pace is always 1.

    Most people use the code at lines 17 – 56 at https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/, or similar snippets that can be easily found in this forum using the search box for the words TRAILING STOP.

     

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