Hello,
I noticed that MT4 and my Windows VPS get slower over time, and sometimes MT4/MT5 freezes. I suspect this happens because MT4/MT5 might be leaving large amounts of chart data, cache, or other files that keep loading, causing it to become slower and slower. I know it’s not a VPS problem because when I uninstall and reinstall MT4/MT5, both platforms run super fast again—but after a week or a month, they become extremely slow.
Please tell me where to delete all the unwanted old data, history, and cache to keep MetaTrader fast. Also, is there any MetaTrader plugin or MQL4/MQL5 code that I can add to my EA to clean these data/files automatically?
Thank you.
the most obvious place to go is the ticks and history folders and delete those files. You could also go to mt4/5 settings to change the maximum number of candles you will allow on a chart.
But in my experience, when I delete all my backtest and optimiser test data, then mt5 is afresh again. Which is why i tend to keep my terminals that I use for backtests and optimisations -- on a separate terminal from my trading terminal(s). The main folder to delete is Tester -- i just have to remember to recreate this folder again, before i restart the terminal.
another place is logs, there is 2 of these in mt5 folders, 1 in mt5 directory, and the 2nd is in the mql5 folder. just remember to recreate these folders before restarting the terminal.
And if all fails -- ie mt5 continues to be slow, then I copy all my ea and indicators to a new copy of mt5 portable. and delete/uninstall the old slow terminal.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I noticed that MT4 and my Windows VPS get slower over time, and sometimes MT4/MT5 freezes. I suspect this happens because MT4/MT5 might be leaving large amounts of chart data, cache, or other files that keep loading, causing it to become slower and slower. I know it’s not a VPS problem because when I uninstall and reinstall MT4/MT5, both platforms run super fast again—but after a week or a month, they become extremely slow.
Please tell me where to delete all the unwanted old data, history, and cache to keep MetaTrader fast. Also, is there any MetaTrader plugin or MQL4/MQL5 code that I can add to my EA to clean these data/files automatically?
Thank you.