Forums › ProRealTime English forum › ProOrder support › using set stop and trail stop › Reply To: using set stop and trail stop
05/06/2020 at 5:21 AM
#130160
Line 37 is not allowed, you can’t combine two different kind of SL’s.
Use
1 |
SET STOP ploss 20 |
then use Nicolas’code at https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/
(lines 17-56) as a trailing stop.