int version = 625 ; as the database version actual used is 401....hst file format valid as of Empty4 574 and later
The database header is the same . . . total 148 bytes
Code: Select all
int version; // database version - 401 4 bytes
string copyright[64]; // copyright info 64 bytes
string symbol[12]; // symbol name 12 bytes
int period; // symbol timeframe 4 bytes
int digits; // the amount of digits after decimal point 4 bytes
datetime timesign; // timesign of the database creation 4 bytes
datetime last_sync; // the last synchronization time 4 bytes
int unused[13]; // to be used in future 52 bytes
Code: Select all
datetime ctm; // bar start time 8 bytes
double open; // open price 8 bytes
double high; // highest price 8 bytes
double low; // lowest price 8 bytes
double close; // close price 8 bytes
long volume; // tick count 8 bytes
int spread; // spread 4 bytes
long real_volume; // real volume 8 bytes
Tommaso