Problem: appears that Terminal not seeing 12th symbol in history file header.
Ref: F1/Userguide/Tools--History Center
struct HistoryHeader has "char symbol; //symbol name"
I create .hst with 12ch symbol name.
Looking at created .hst file "!TicksGBPUSD9.hst" you can see symbol:
As seen above the offset of symbol is 0x44 to 0x4f or 68 to 79; followed by "int period" at 0x50 with value of 9
0x44(4+64) is where doc says symbol starts:
0x000 4 int version; // database version
0x004 64 char copyright; // copyright info
0x044 12 char symbol; // symbol name
0x050 4 int period; // symbol timeframe
0x054 4 int digits; // the amount of digits after decimal point in the symbol
When do File -> Open Offline you see "D" not present even though in .hst header:
As comparison to my created .hst and a standard MT .hst header eg,
and "int period" starts at 0x050 with value 0x5A0 or 1440
All offsets agree. So what could be causing 12th char to not being recognised?
Can use up to 11 chars in symbol (and with any value in struct member "int period; //symbol timeframe") but why can I not use 12 ?
edit: when changing symbol field in header I also change filename to match.
Thanks In Advance