Saving the tick-data
ciremql4:
Time is give as the number of seconds since 1 Jan 1970 . . : https://docs.mql4.com/dateandtime "A group of functions providing the working with data of the datetime type (integer representing the amount of seconds elapsed from midnight, 1 January, 1970)."
Hello Guys,
I am trying to save the tick rates like (time stamp in secs, rate). In matlab, I have not problem in reading the doubles bytes(rate) but the longs bytes (time in sec) I get values that don't make sense.
bests
this is the script attached to the EUR/USD chart:
the problem I encounter is that only one
RaptorUK:
Time is give as the number of seconds since 1 Jan 1970 . . : https://docs.mql4.com/dateandtime "A group of functions providing the working with data of the datetime type (integer representing the amount of seconds elapsed from midnight, 1 January, 1970)."
Time is give as the number of seconds since 1 Jan 1970 . . : https://docs.mql4.com/dateandtime "A group of functions providing the working with data of the datetime type (integer representing the amount of seconds elapsed from midnight, 1 January, 1970)."
I wnat to save the data in binary format for faster proccessing. I think is a long integer, suppose to be 8 bytes that why I used LONG_VALUE?
FileWriteInteger(handle, MarketInfo(MODE_TIME),LONG_VALUE);
LONG_VALUE is 4 bytes long
Hello Guys,
I am trying to save the tick rates like (time stamp in secs, rate). In matlab, I have not problem in reading the doubles bytes(rate) but the longs bytes (time in sec) I get values that don't make sense.
bests
this is the script attached to the EUR/USD chart:
the problem I encounter is that only one