Hi,
This might have been asked before. If so please kindly point me to the particular thread as forum search did not turn up any relevant result. I would like to add a code to my ea so that the ea will stop trading after reaching a certain number of target pips (e.g. 50 pips) for one trading day; then the next trading day the ea will start anew.
Your help is very much appreciated.
- Please help to code this in my EA.
- How to code?
- MT4 code to close all trades if equity reached a certain percentage
![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