• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Trading Heroes

Trading Heroes

Forex Trading Education

  • Blog
  • Shop
  • About
  • Login

How to Download Metatrader 4 Historical Data

MT4 doesn't provide complete historical data for every currency pair. Learn how to get all of the data available.

Home / MetaTrader 4 Tutorials / How to Download Metatrader 4 Historical Data

By Hugh Kimura

When looking at your MT4 charts, sometimes you are only seeing a small part of the complete historical MT4 data.

…and that can cause problems.

This doesn't matter so much on lower time frames, but when you are looking at the weekly charts, not having all of the available historical Forex charts data can mean that you are missing important support and resistance levels.

Having a complete MT4 historical data download is also important in backtesting, as Metatrader 4 is also a pretty good automated backtesting platform.

So in this post, I will show you how to download all of the available MT4 historical data for each currency pair you trade.

If you prefer the text version, it is available after the video.

Can't seem to get enough data from the default MT4 provider? We recommend using this 3rd party data service.

MT4 History Data Download Tutorial Video

Tutorial For Metatrader 4 Data Download

To download additional MT4 history data, first go to the Tools menu and select History Center. You can also press F2 to get to this screen quickly.

Metatrader 4 History Center

This is the History Center screen above. Double click on the currency pair that you want to download.

If the icon next to the timeframe is colored, the prices for that timeframe can be seen and edited in the preview window on the right.

When MetaTrader 4 downloads data, it downloads 1-minute data, then translates that into the other timeframes. Keep in mind that MT4 gets the data from MetaQuotes (the creators of Metatrader), not your broker. 

So if you want to get broker specific data or you want to get more historical data than what MetaQuotes provides, then you will have to import a custom file. Contact your broker to get this data or you can find a third party like Snapdragon Systems to get a custom data file.

By double-clicking on the time frames with the gray icons, it will take a few seconds to generate the preview for the prices for that time frame. The number of records is shown at the top of the screen.

Number of database records

To download the complete history for a currency pair, highlight the pair and click on the Download button.

It may take a few minutes to download the data, especially if you have never done it before.

There will be a green status bar at the bottom of the screen to show you the progress of the current download.

Download progress bar

Once the data is downloaded you should notice that there are more records in the database. You can see this in the database record count at the top of the screen.

For any time period, you can change any of the data for each bar. First highlight the line you want to change, on the right side of the screen.

Then click on the Edit button to change a candle, Delete to remove and Add to insert your own data.

This is useful for fixing bad data from your broker, which can happen once in awhile. Fixing the data manually will clean up your charts and make your automated backtesting more accurate.

You can also click on the Import button to upload your own data or the Export button will allow you to get a Forex historical data download in a CSV file that you can use in another charting program.

This file can also be used in a spreadsheet program like Microsoft Excel to do custom data analysis.

Once you download all of the currency pair data, you may be surprised how far back the data actually goes. For example, after I downloaded the data for the USDCHF currency pair, I found out that data was available all the way back to the 1992.

USDCHF historical data

If here is a downside to getting all of this data though, it is that it can take up a fair amount of space on your hard drive. So if you have a small SSD, are running a virtual machine, or you are running out of room on your drive, be selective about which pairs you download data for.

Luckily there's also a way to limit the number of bars that are downloaded in your history.

How to Manually Limit the Amount of Downloaded Data

If you don't need all of the historical data on each currency pair and you want to save disk space, then you should set a limit on the amount of data that your MT4 install downloads.

You can do this by going into Tools > Options and reducing the number of max bars in history.

Max bars in history

Just reduce this number by using the drop-down menu or manually change the number.

MT4 Historical Data Alternative

If you aren't able to get enough historical data for MT4 from the default MT4 provider, you can always download data from a third party.

Once you get a third party file, simply use the Import button inside History Center.

We recommend using this data service for 3rd party MT4 data.

Final Thoughts on How to Download MT4 Historical Forex Data

The data you currently see on your Metatrader 4 charts may not be all of the Forex data that is available. You will have to download it manually to see how much there really is.

In my experience, the history can vary greatly by currency pair and broker. It is a matter of how much they data they choose to provide their clients.

But it is important to see as much information as possible so you can figure out historical price levels and get as much data as possible when doing automated backtesting and during live trading.

I would recommend downloading the complete MT4 data on every pair you trade.

Go ahead, do it right now. 

Related Articles

How to Scroll a MetaTrader 4 Chart Bar-By-Bar
How Sync MetaTrader Between Multiple Computers
How to Use Strategy Tester in MT5 to Backtest EAs

Category: MetaTrader 4 Tutorials Tag: Trading Software Tutorials

About Hugh Kimura

Hi, I'm Hugh. I'm an independent trader, educator and researcher. I help traders develop their trading psychology and trading strategies. Learn more about me here.

Top

 

Share This Article


First posted: June 10, 2014
Last updated: May 19, 2022

Primary Sidebar

Trading Guides

How to Figure Out Your Trader Personality Profile

The Best Trading Books Ever

The Ultimate Beginner’s Guide to Forex Backtesting

How to Create a Precise Trading Plan (with PDF worksheet)

Footer

Company

  • Support
  • About Trading Heroes
  • Trading Courses and Education
  • T-Shirts & Trading Gear

Tutorials & Guides

  • Recommended Trading Resources
  • Free Forex Trading Course for Beginners
  • The Trading Blog
  • Best Trading Books
  • Forex Trading Strategies
  • The Trading Lifestyle Podcast

Community

  • YouTube
  • Twitter
  • Instagram
  • Private Trading Community
  • Contact
Trading involves substantial risk and there is always the potential for loss. All content on this website is for educational and informational purposes only and is not trading, investment, or medical advice. You should be aware of the risks associated with trading and seek advice from an independent certified financial adviser if you have any doubts. Some links on this page might be affiliate links, where we get a small commission if you purchase through the link. It doesn't cost you anything extra and we only recommend products that we absolutely love. This site uses cookies and using this site means that you agree to the use of cookies.

 

CFTC Rules 4.41 - Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, because the trades have not actually been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, such as lack of liquidity. Simulated trading programs, in general, are also subject to the fact that they are designed with the benefit of hindsight. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown. Testimonials appearing may not be representative of other clients or customers and is not a guarantee of future performance or success.

 

 

 

 

 

Copyright © 2007–2022 TrueLiving Media LLC | Terms | Privacy | Risk