Historical data Import function problem

 
Hi guys, I am trying to import some Nasdaq 1 min data to Meta Trader 4. After browsing and selecting the .csv file it does not load (see attached screenshots). I tried it to give it some time to load, but even after hours nothing happened. I thought about the size of the file so I reduced it to 6 months worth of data (9MB) but the same happened. Few days ago, I imported 15min data just fine, but now I tried to import the same data but I faced the same problem. I tried also deleting all data from the history file. The source of the data is the same (JForex) but whatever worked before no more works. Any help will be appreciated.
 
Your topic has been moved to the section: MQL4 and MetaTrader 4
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 
Jed2025: Hi guys, I am trying to import some Nasdaq 1 min data to Meta Trader 4. After browsing and selecting the .csv file it does not load (see attached screenshots). I tried it to give it some time to load, but even after hours nothing happened. I thought about the size of the file so I reduced it to 6 months worth of data (9MB) but the same happened. Few days ago, I imported 15min data just fine, but now I tried to import the same data but I faced the same problem. I tried also deleting all data from the history file. The source of the data is the same (JForex) but whatever worked before no more works. Any help will be appreciated.
  1. Your "time" column should be named purely "Time" and no different.
  2. Are you sure it is a CSV? It may be using another delimiter instead of "comma". Show a sample of the actual text content and not the visual representation via google sheets.
  3. Also remember to look into the "Journal" log for any errors.
 
Fernando Carreiro #:
  1. Your "time" column should be named purely "Time" and no different.
  2. Are you sure it is a CSV? It may be using another delimiter instead of "comma". Show a sample of the actual text content and not the visual representation via google sheets.
  3. Also remember to look into the "Journal" log for any errors.

Thank you for the reply. 

1. I renamed the time column.

2.Yes, it's a CSV file. Please see attached screen shot.

3.The journal log doesn't show anything

I still have the same problem. Any other ideas please?

 
I even tried the Plain text (.txt) format for the file. I work on a Mac pc btw.
 
Fernando Carreiro #:
  1. Your "time" column should be named purely "Time" and no different.
  2. Are you sure it is a CSV? It may be using another delimiter instead of "comma". Show a sample of the actual text content and not the visual representation via google sheets.
  3. Also remember to look into the "Journal" log for any errors.

I just downloaded mql5 and it is able to import the SAME data file! Th problem is that my broker uses meta trader4 and all my EA and customer indicators are in mql4 too. Still having the same problem in importing on mt4.

 
Jed2025 #:

I just downloaded mql5 and it is able to import the SAME data file! Th problem is that my broker uses meta trader4 and all my EA and customer indicators are in mql4 too. Still having the same problem in importing on mt4.

you can only download mt4 from a broker. It is not available for download on this website. There are still some old links that say mt4 download, however, those download mt5 installers.

You wil have to modify the csv files and remove some columns to make the csv files compatable for mt4. This is a "too hard" process for me.

Note that you may even need to use a 3rd party program to import the files properly, as I had issues with the builtin importer for mt4 -- many times before I gave up on mt4.
 
Jed2025 #: Thank you for the reply. 
  1. 1. I renamed the time column.
  2. 2.Yes, it's a CSV file. Please see attached screen shot.
  3. 3.The journal log doesn't show anything

I still have the same problem. Any other ideas please?

Is the symbol you are importing the data into, one supplied by the broker?

I am assuming that it is indeed the case, and if so, the broker's original data may be overriding whatever you import into it and causing the issue.

I no longe use MetaTrader 4 and it has been a long time since I last used it, but if I remember correctly back then, I would generate the ".hst" files directly (outside of MetaTrader) instead of using the importer, and I would make the ".hst" files "read-only" to prevent the broker's data from interfering with the process.

 
Fernando Carreiro #:

I no longe use MetaTrader 4 and it has been a long time since I last used it, but if I remember correctly back then, I would generate the ".hst" files directly (outside of MetaTrader) instead of using the importer, and I would make the ".hst" files "read-only" to prevent the broker's data from interfering with the process.

I am sure that I got the same idea from you -- waaaays, back then.

 
Michael Charles Schefe #:

you can only download mt4 from a broker. It is not available for download on this website. There are still some old links that say mt4 download, however, those download mt5 installers.

You wil have to modify the csv files and remove some columns to make the csv files compatable for mt4. This is a "too hard" process for me.

Note that you may even need to use a 3rd party program to import the files properly, as I had issues with the builtin importer for mt4 -- many times before I gave up on mt4.

Thank you for the reply. I downloaded MT4 through a broker and I downloaded data just fine for a couple of days then, for some reasons, I started to have this problem.

 
Fernando Carreiro #:

Is the symbol you are importing the data into, one supplied by the broker?

I am assuming that it is indeed the case, and if so, the broker's original data may be overriding whatever you import into it and causing the issue.

I no longe use MetaTrader 4 and it has been a long time since I last used it, but if I remember correctly back then, I would generate the ".hst" files directly (outside of MetaTrader) instead of using the importer, and I would make the ".hst" files "read-only" to prevent the broker's data from interfering with the process.

Thank you for the suggestions. Yes, it is the case but the data I downloaded precedes the broker's data. I also deleted the brokers historical data just in case. Although my broker does not support MT5 and all my EAs are in mql4, I started using MT5 (for the purpose of backtesting) just to bypass this problem at the cost of rewriting my EAs and indicators in mql5.