![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hello,
I created an EA that basically opens positions (in an alternate way (LONG & SHORT) with a Martingale behaviour. The problem is when, for all crosses in which the EA is applied there is a movement due to for example the increase of USD price). All EA open the last step of martingale and take LOSS, reverse direction, takes 1/2 steps, reach the profit foreseen and then reverse again itself only for taking another complete LOSS using all steps.
How to break this behaviour and in such a way to avoid these long series of losses for each sequence ? (0.01,0.02,0.04,0.08) ?
Thanks
There are some ways of avoinding it, for example:
1- Make you EA identify if the Market is ranging, if it is, stop trading until its trending again
2- Increase/Decrease the loss required to open the next trade
3- For each trade you open, make your EA create a zone where it shouldn't open another similar trade, for example: It opened a BUY at 1.500 - define that it can't place another BUY between 1.450 and 1.550, this way, either the price passes that value and it opens another BUY above the previous one, or the price reverses without opening the BUY that would have failed.
The most important thing when using Martingale is to keep your lot sizes as low as possible and to have a maximum DD, closing all trades if it reaches that point. Using Martingale without any type of DD control will make you blow you account.