Topics concerning MT4 and MQL4 have their own section.
In future please post in the correct section.
I will move your topic to the MQL4 and Metatrader 4 section.
![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 a novice in code, but I really want to learn; hence I am trying to learn on the job.
I got this EA online - it is an anti-martingale strategy. It opens position at every new bar. Instead, I want it to open a new position immediately when the existing position (in the trend direction) closes.
I have tried to do it myself by coping and pasting from other EA, but could not go further than this.
Please, somebody help me out.