Moving stop-loss
-
Hi everyone, I hope you can help me

I would like to program moving stop-loss.
When trade is open, price is going in my favour and moves by X pips i would like stop- loss to be moved by Y.
I do not want standard trail stop when price moves 1pip stop loss moves 1 pip.
I want price to hit a fix level (X amount of pips) then stop loss follows Y pips. And I would like this to be in a loop.![alt text]
On above picture, there is a buy order with stop-loss. Buy order is on level 0. If level 1 is crossed by price (by a tick) then stop loss follows by Y amount of pips.
Then if level 2 is reached stop loss moves Y pips again.Thank you in advance,
Marcin -
@mkozar
You can use "trailing stop" block setting step.
In this case if if the distance from line 1 to 0, is the same than from 0 to SL, set trailing stop Y pips, trailing step Y pips. -
@seb-0 Exactly. You can customize the trailing step within the trailing stop block.
-
thank you, sorted
-
You're welcome.