Speeding Up The MT4 Platform: Reduce Price Bars
Speeding Up The MT4 Platform: Reduce Price Bars
Under the Tools > Options click on the charts tab and change the “Max bars in history” and “Max bars in chart”
to 5000.
Delete Logs Files: Log files are written records of all trading activity in MetaTrader. Whenever a trader
submits an order, modifies a stop loss or connects to the broker, MetaTrader notes everything that
happens along with the time. Unfortunately these files can accumulate over time and take up a lot of
space as well as slow down the platform.
Under Files > Open Data Folder you will see a logs folder. Double click on it to open it.
There will be lots of log files in this folder. In this case there are 78 of them. Press Control+A to select all of
them and click delete to get rid of them.
If your platform is running you will get a dialog box such as this:
That is OK as this file is being written to. Click on cancel then click on the back arrow to get back to the Data
Folder list.
Double click on the MT4 folder and you will find another logs folder. Double click on it to get to the contents.
Press Control+A to select all of them and click delete to get rid of them.
Again you may get a dialog box indicating that a file is active and can’t be deleted. That is OK, just click on
cancel.
Click the back arrow twice to get back to the Data Folder contents.
Delete History File: There is one more step and that is to delete the history file. This file contains data
accumulated over time for all time frames and all currency pairs being followed. After the terminal has been
shut down, all accumulated historical data will be stored in the "History Center". Sizes of files
containing historical quotes do not exceed values defined in settings. If the amount of historical data
accumulated exceeds the value set in the field of " Max. bars in history:", the oldest bars will be
deleted when storing. For each timeframe, a separate history file is formed named as SSSSSSPP.hst
(where SSSSSS - symbol name, PP - timeframe in minutes) and saved in the /HISTORY. Later on,
the saved data will be used to draw charts, as well as for testing trading strategies. Once this file is
deleted, it will be rebuilt from data on the broker’s server when the platform is restarted.
Highlight the folder which includes the broker name – demo. In this case ATCBroker-Demo. Click delete to
eliminate this folder.
The last step is to close the Data Folder and restart the platform. You should see a marked speed
improvement of startup and operation.