how to create two trades and exit the other with trailing stop
-
Hello,
Suppose that I have managed to place two trades on the same price
On entry:
1st trade: with defined TP and SL
2nd trade: with defined SLthe goal is, When my 1st trade reaches the TP, I want the 2nd trade to change its stop loss to break even, and place a trailing stop after that
How could that be done?
-
You can craete a boolen variable (I called it trail_active) with an initial value of false. Then do this on the 'on Trade' tab.

And then this on the 'on Tick' tab:

And finally reinitialize the value of the variable to 'false' again when you need it.