I have a simple double MA EA that works fine for me, but I want to add an automatic stop-loss at time of order placement. I need a simple stop at entry, but which moves with price action until break-even is reached, then the stop becomes fixed. Does that make sense?
Does someone out there have a piece of code they are willing to share with me to achieve the above?
Stop loss help investors in controlling their risks and it is imperative to know at what time a stop loss need to be put. Extending the stop loss position is not a good idea as it can result in a bad situation for you.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Hi all
I have a simple double MA EA that works fine for me, but I want to add an automatic stop-loss at time of order placement. I need a simple stop at entry, but which moves with price action until break-even is reached, then the stop becomes fixed. Does that make sense?
Does someone out there have a piece of code they are willing to share with me to achieve the above?