![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 have an EA that will close trades and reopen when I switch the chart between timeframes. I DO NOT want this to happen. Any EA prgrammers have a idea how to not do this?
I removed code from init and deinit thtat opened and closed trades and that stopped the problem, but I don't like the fact that it restarts.