-ve values in HST files

 

Hi 


I have created some code (from Period_converter_opt.mq4) to generate a HST file which is the differnce between to lines).  However, I find that when the difference goes -ve MT4 treats the data as invalid and refuses to display it and indeed removes it from the HST file.  Is anyone aware of this or has a solution?

Reason: