Given the TestHSTHeader.mq4 script, the init code should validate whether HST file format for the current symbol and period is valid.
This should include:
- counting number of the bars and check if the real number match the reported header number
- check whether each bar low is lower than high
- the current time is valid (>1970) and not in the future