Breakeven and Trail
-
Hello,
I'm having difficulty setting up the Breakeven and the Trailing Stop on my EA.
The main idea is for the EA to send two orders when conditions are met.
The first order has TP and SL defined.
The second order should work as follows: When the TP of the first order is reached, SL must be moved to Breakeven and Trailling Stop must be activated, changing SL only if the value is higher than Breakeven.
For the Trailling Stop will be used the Parabolic Sar.
Here is the link to the project, which is currently not working as it should.
https://fxdreema.com/shared/qHIDGBLM
Could someone help me on how to make it work the way I described?
Thanks.
-
@joaobr To set a trailing stop that follows the SAR and waits for price to be far enough away do this

Use the on chart tab to swich on trail and reset every time a trade is placed

This is not completely finished examples but their should be enough for you to do all.
-
@jstap Thank you very much! I will try this!