I would like to programm following strategy (description is for long position): When the position is on specific profit I want to move the SL above opening price of current position, but below this current profit. Let's say the current profit is 100 ticks and I would like to move the SL on level of 50 tick to assure that at least profit of 50 ticks will be achieved.
I think it is similar to trailingstop, but I want to move SL above opening price only when specific profit is reached. SetStopLosl can not put exit order above the opening price of current position.
Do you know how to do it? Is it feasible at all in Ninja Script?
Thank you for your help.
Best regards,
Jozef

Comment