NOTE: MetaQuotes has updated their MQL4 language and our tools won´t work on MT4 Build 600 and greater, nevertheless all our tools offer the same features and advantages as usual. We highly recommend reading this blog post about updating MT4 to Build 600.

Simple tips to reduce MT4 memory use

Jan 18, 2011

Most active traders usually have more than one MetaTrader 4 terminal open at the time for different reasons, either have multiple accounts, demo trading in several brokers, comparing strategies, etc.
But the limiting factor to how many Metatraders you can run on a computer is based on the CPU speed and available memory. This can be a big problem when running MetaTrader on a VPS where you have to pay more if you need more resources like memory, speed or space.

Here are a few simple configuration changes you can make to reduce MetaTrader’s memory footprint.

  • The most important change is to open the option screen by pressing CTL + O, go to the Charts Tab and reduce the “Max bars in history” and “Max bars in chart” to 5000, this will limit how many bars are displayed on the chart and in the history making this installation unsuitable for back testing but it will use less memory on live or demo trading.
  • Also disable every feature you do not use on the Email, Publisher and Events Tabs.
  • Disable the News on the Server Tab.
  • Close all charts that you are not using, each chart uses memory.
  • Open Market Watch (CTL + M) > right click and Hide All, deleting all pairs that are not in use.
  • Remove any Indicator you do not need.
  • On expert Advisors if possible disable logging, the less you write to the Hard Drive, the faster your MetaTrader will run on a VPS.
  • Restart your MetaTrader so the changes will take effect.
  • Restart MetaTrader regularly to maintain memory usage low, MetaTrader keeps all the history data for the opened charts in RAM and only writes it to disk into the History folder when MetaTrader closes.
  • You should also reboot you machine often and exit any programs that you are not using, on a VPS machine you could also disable many services that you do not need.

Comments: 2




Aug 1, 2013



Hi This was very insightful. Maybe you can answer a question for me. Everytime I reboot MT4, it appears with three additional charts (4 hr charts). Is there a way to disable this feature? Thx.


Giani Reply:

Try installing Metatrader on c:MT4 instead of c:Program Files


Leave a Comment

WallStreet Forex Robot