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
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.