
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi There
I believe the supplied code in MT5 MQL5 is extremely useful as an EA to close all open orders when a certain percentile of the High Water Mark is breached. Please use this code at your leisure.
Simply configure the input variable: percentofHWMtrigger, as (percentofHWMtrigger >= 0.50) or (percentofHWMtrigger < 0.995) because any value within this range would be a reasonable setup.
This EA will prove to be useful for the following: Locking in elevated profits after a pre-defined deviation (fall) from High Water Mark. This removes the need for manual decision making to close trades.