Hi, This is a script I use when my order is about 15 or 20 Pips in profit.
It sets the Stop Loss so if the price retraces it closes at Breakeven. I would like to know how to modify this to BreakEven plus x pips (say 3pips). The reason is price does retrace often and I have a lot of zero gain trades when I could have at least exited with a tiny profit. Is this an easy request?
This is the script. I use it selectively when I suspect a retrace. I agree it can reduce profits but if I had just 3 pips above breakeven the numbers are good. When the value gets higher than the point I engage it my trailing stop function of my EA kicks in. It's just these "grey area" trades that can suddenly turn that I want to protect myself from.
*** I attacheded the MQ4 file with the original post but it seems to have disappeared I have re-sent below
It sets the Stop Loss so if the price retraces it closes at Breakeven. I would like to know how to modify this to BreakEven plus x pips (say 3pips). The reason is price does retrace often and I have a lot of zero gain trades when I could have at least exited with a tiny profit. Is this an easy request?
This is the script. I use it selectively when I suspect a retrace. I agree it can reduce profits but if I had just 3 pips above breakeven the numbers are good. When the value gets higher than the point I engage it my trailing stop function of my EA kicks in. It's just these "grey area" trades that can suddenly turn that I want to protect myself from.
*** I attacheded the MQ4 file with the original post but it seems to have disappeared I have re-sent below
Last edited: