FXTHeader 的结构

 

查阅有关资料,讲头部600字节

datetime open_time;


int ExtHandle=FileOpen("GBPUSD60_0.fxt",FILE_BIN|FILE_READ);


FileSeek(ExtHandle,600,SEEK_SET);


open_time=FileReadInteger(ExtHandle, LONG_VALUE); //读取时间

Alert(TimeToStr(open_time));

//显示的时间不对,不知道为什么,是头部的大小不对?不同版本的 FXTHeader 的结构不一样?

原因: