![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have tried using FileOpen() to modify the hst file, and have not been able to gain access that way, except in the backtester, which I used to pre-render pseudo-chart data to append with live market data. Seemed like it was working great at first. The problem is, when trying to add the live market data via FileOpenHistory(), if I use FILE_SHARE_WRITE, it leaves the current data intact, but does not add new data. If I use FILE_WRITE, the existing data is wiped.
I have looked over the forums, and have found no mention of this problem, and it is not addressed in the documentation anywhere. The obvious question is... How do I add chart data to previously existing chart data in the offline hst files, without losing any of the previously rendered data?