Can an hst file be dangerous?

 
Can an .hst file be dangerous due to malicious code inside of it, like it can happen with dll?
 
Jox90:
Can an .hst file be dangerous due to malicious code inside of it, like it can happen with dll?

Of course not,

Because it's just been stored prices data (High,Low,Open,Close,Time) into it.

 
Mehrdad Jeddi:

Of course not,

Because it's just been stored prices data (High,Low,Open,Close,Time) into it.


Not just prices data...however the fact is that you can't see what there is inside an .hst file because it is unreadable if you open it...then a virus can be inside of it like it can be in any file type...but if a malicious code was inside of an .mq4 file you could read the code with metaeditor, instead .hst is unreadable...

 
Jox90:

Not just prices data...however the fact is that you can't see what there is inside an .hst file because it is unreadable if you open it...then a virus can be inside of it like it can be in any file type...but if a malicious code was inside of an .mq4 file you could read the code with metaeditor, instead .hst is unreadable...

So i'm coder,and have a lot of experience with HST file manipulation,So i know what is inside it,

It's not code inside it,Just stored prices data that  MT4 will import it for showing it on chart,and will be saved new prices data into it.

If something else instead of prices data to be stored,the MT4 can't load it,then will be deleted and the MT4 will create a new HST file automatically.
 
Mehrdad Jeddi:

So i'm coder,and have a lot of experience with HST file manipulation,So i know what is inside it,

It's not code inside it,Just stored prices data that  MT4 will import it for showing it on chart,and will be saved new prices data into it.

I see, thank you. Do you know if there is an easy way to edit an hst content as can be done with a csv for example? Maybe there is a specific editor?

 
Jox90:

I see, thank you. Do you know if there is an easy way to edit an hst content as can be done with a csv for example? Maybe there is a specific editor?

How do you want to be?Please clear more,

 
Mehrdad Jeddi:

How do you want to be?Please clear more,

I just would like to open it and see clearly what is inside of it, since by now if I open it with a text editor it shows unreadable characters...
 
Jox90:
I just would like to open it and see clearly what is inside of it, since by now if I open it with a text editor it shows unreadable characters...

OK,So it should be read by script via MQL4 programming code,then to be converted to CSV file clearly.

 
Mehrdad Jeddi:

OK,So it should be read by script via MQL4 programming code,then to be converted to CSV file clearly.

I already have a script to do this, but I was wondering if the hst could be viewed without doing a conversion...
 

You can open it in a HEX editor.

Remember that is BASE16 so not necessarily the target format. 

At the core it's just a container with binary ones and zeroes and the extension usually relates to how the data would be interpreted. 


 
Marco vd Heijden:

You can open it in a HEX editor.

Remember that is BASE16 so not necessarily the target format. 

At the core it's just a container with binary ones and zeroes and the extension usually relates to how the data would be interpreted. 


Already did, but what I mean is to view and edit date and price numbers like with a csv (but without converting to csv)
Reason: