Download MetaTrader 5

Import historical data before 1970

To add comments, please log in or register
taetiseo
25
taetiseo  

Is it possible to import the historical data from csv file for the period before 1970.01.01?

It seems that MT4 doesn't accept the data input for year 1969 backward.

Has anyone tried this before?

Thanks!

Simon Gniadkowski
Moderator
18023
Simon Gniadkowski  
Taetiseo:

Is it possible to import the historical data from csv file for the period before 1970.01.01?

It seems that MT4 doesn't accept the data input for year 1969 backward.

Has anyone tried this before?

Thanks!

datetimes start at 1 Jan 1970 so it cannot be done . . . unless you want to timeshift all your data forward and change the dates for the data you are trying to import. Then use it bearing in mind the incorrect dates, etc.
taetiseo
25
taetiseo  

I see. It looks like there's no other choice.

Thank you!

sunshineh
1247
sunshineh  

Hi,

I have the same problem :-(

I can't understand the solution with the "timeshift" because then my actual data are lying in the future. Is this possible?

Is there meanwhile another solution available? Or can I import it as Offlinechart? 

Carl Schreiber
7087
Carl Schreiber  

Bear  in mind the markets have changed dramatically since 1970. So backtests around this time will give you wrong results!

It was the time when even companies only got EoD-data from the USA and Forex didn't even exist!

sunshineh
1247
sunshineh  

Thanks, I know this and I know that metatrader is working with TIME starts at 1970, so backtesting wouldn't be working for old data.

I only want to draw my old data into the chart, only to see it.

Carl Schreiber
7087
Carl Schreiber  
What about loading your (converted) data in Notepad++ and change the years using RegEx from e.g. 1950 to 1070 ...?
whroeder1
15554
whroeder1  
gooly: What about loading your (converted) data in Notepad++ and change the years using RegEx from e.g. 1950 to 1070 ...?
Won't work as datetimes start at 1970. Earlier than that would roll over to 3000 - (1970 - x)
Carl Schreiber
7087
Carl Schreiber  
WHRoeder:
Won't work as datetimes start at 1970. Earlier than that would roll over to 3000 - (1970 - x)
?? Sure it works if you change the date e.g. from 1955.11.10 to 1975.11.10
Keith Watford
Moderator
10561
Keith Watford  
gooly:
?? Sure it works if you change the date e.g. from 1955.11.10 to 1975.11.10

In your earlier post, you didn't type 1970, you typed 1070

gooly:
What about loading your (converted) data in Notepad++ and change the years using RegEx from e.g. 1950 to 1070 ...?
sunshineh
1247
sunshineh  

Yes, this it a point I thought about it.

I have had my first data from 1896 so I have to put an offset of 74 years. Somewhere I read that the "future data" couldn't be shown longer than 2040 - so it isn't possible to show my actual data.

To add comments, please log in or register