Download MetaTrader 5
To add comments, please log in or register
Documentation is available in CHM and PDF. Download it in any convenient form!
taetiseo
25
taetiseo 2014.01.07 12:18 

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
17972
Simon Gniadkowski 2014.01.07 12:24  
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 2014.01.07 12:37  

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

Thank you!

sunshineh
1076
sunshineh 2016.01.20 17:07  

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
6125
Carl Schreiber 2016.01.20 17:22  

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
1076
sunshineh 2016.01.20 17:32  

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
6125
Carl Schreiber 2016.01.20 17:44  
What about loading your (converted) data in Notepad++ and change the years using RegEx from e.g. 1950 to 1070 ...?
whroeder1
13941
whroeder1 2016.01.20 19:11  
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
6125
Carl Schreiber 2016.01.20 19:56  
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
8790
Keith Watford 2016.01.20 21:11  
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
1076
sunshineh 2016.01.20 21:13  

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