How to Fix “No History Data” on MT4/MT5 and Import Historical Price Data


Investment and Financial Freedom How to Fix “No History Data” on MT4/MT5 and Import Historical Price Data

09 Aug 2024 17:00 730 reads

MT4 No History Data

When testing your EA on MT4 or MT5, you may encounter the message “No History Data of XAUUSD from ...”. This means your platform does not have the historical price data needed for that symbol. Here’s how to fix the issue by downloading and importing historical data manually.

Download Historical Price Data


Download historical forex data
Historical data sources
  • Visit a reliable website offering free historical data downloads, such as Traders-Trust Historical Data or Axiory Historical Data.
  • Select the currency pair, symbol (e.g., XAUUSD), or timeframe you want to test.
  • Download the data file, usually in CSV or HST format.

How to Import Historical Data into MT4/MT5


MT4 import data menu

1. Open your MetaTrader 4 (or MT5) terminal.
2. Go to the menu: File → Open Data Folder

MT4 open data folder

A new window will open showing the platform’s data directory.
If you are using macOS, navigate to the Documents section and paste or copy the downloaded historical data file into the appropriate folder.

MT4 data folder Mac

Next, go to Tools → History Center (or press F2). In the left panel, select the desired currency pair or symbol, then click Import to upload your downloaded data.

MT4 history center import
Import CSV to MT4

Adjust the import settings if needed (timeframe, separator type, etc.), then confirm.
Once complete, your chart and EA backtests will have access to the full history data for accurate testing.

That’s it! 🎯 Now you can run your EA tests on historical price data smoothly — without the “No History Data” error message.


Please rate your satisfaction with this article

Star 1 Star 2 Star 3 Star 4 Star 5

Post a Comment
Your email address will not be displayed to others. Required fields are marked *

CAPTCHA





Recommended Content

What is Exness Terminal? Complete Guide to Using Exness Web Trading Platform
(18/10/2025 12:38)
Exness Terminal is a web-based trading platform developed by Exness to allow traders to access their MT5 accounts direc…
Read more
Reliable forex brokers in Thailand in 2025
(31/03/2025 14:15)
Choosing a reliable and safe Forex broker is extremely important due to the large number of brokers in the market. Cons…
Read more
What Are MQL4 and MT4? Beginner’s Guide to Building Your First Expert Advisor (EA)
(30/03/2025 07:30)
MQL4 (MetaQuotes Language 4) is a programming language used for creating Expert Advisors (EAs), Indicators, Scripts, an…
Read more
What Is Myfxbook? How to Connect Your Forex Account and Track Trading Performance Automatically
(29/03/2025 23:35)
Myfxbook is an online platform that helps Forex traders automatically analyze and track their trading performance. It p…
Read more
Exness Forex Broker Review: Is It Reliable? Pros and Cons
(24/01/2025 15:00)
Fibonacci: A magical sequence of numbers found in both nature and investment. Fibonacci is a sequence of numbers where …
Read more
How to Earn Money from Pantip with Google Adsense
(27/11/2024 23:32)
การสร้างรายได้บน Pantip.com อาจไม่ใช่เรื่องที่ทำได้โดยตรง แต่ล่าสุดทาง Pantip เปิดโอกาสให้บรรดาเหล่านักเขียน นักรีวิวต่…
Read more
Exness Broker Review 2025 – Pros, Cons, Account Types & How to Open an Account
(10/11/2024 15:30)
Exness is one of the most popular forex brokers globally, especially in Asia and the Middle East, offering services sin…
Read more
Vantage Markets Broker Review 2025 – Features, Pros & Cons
(09/11/2024 01:30)
Vantage Markets is a popular forex and CFD broker in the market, providing services since 2009 with its headquarters in…
Read more
How to Display Prices on Fibonacci Retracement in MT4 & MT5
(18/09/2024 17:00)
Displaying prices on Fibonacci in MT4 and MT5 can be done with the following steps Draw a Fibonacci line, then go to th…
Read more
What Is Gold? The Top Countries with the Largest Gold Reserves in 2024
(06/08/2024 15:45)
What is Gold? Gold is a precious metal that is yellow in color. It has been highly sought after for centuries due to it…
Read more
Top Forex Chart Patterns Every Trader Should Know | Complete Guide
(06/08/2024 12:00)
Popular Chart Patterns in the Forex Market In the Forex (Foreign Exchange) market, there are numerous popular chart pat…
Read more
Top Reliable Forex Brokers 2024 — How to Choose the Best Broker for Your Trading Style
(06/08/2024 10:45)
Choosing a reliable Forex broker is a crucial step for every investor as it directly impacts your investment success. I…
Read more
Forex Price Patterns Explained — Reversal & Continuation Candlestick SignalsTop Forex Chart Patterns Every Trader Should Know | Complete Guide
(06/08/2024 09:30)
Popular Price Patterns in Forex Price patterns are one of the tools that Forex traders use to analyze charts and foreca…
Read more
How to Open an Exness Account — Step-by-Step Guide & Key Advantages
(05/08/2024 15:45)
Who is Exness and How to Open an Exness Account Exness is one of the largest and most well-known online brokers in the …
Read more