![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
I am trying to create EA based on counter trend strategy below;
EA checks trend with SMA 14 for first trade only,
if SMA up then EA will sell. but never opens buy, if there is sell opened.
if sell > 0 then place sell limit = Last sell price+stop distance-Stop increment. e.g; 1.3565+0.0030-0.0003=1.3592
Lots = 1,2,4,8... (martingale)
The most difficult thing for me is to modify takeprofit of each trade.
when a trade closed in profit, check SMA trend and restart cycle.
Example of buy trades below...