Hst files on metatrader 4

General discussion about the Tickstory Lite software package.
Post Reply
Pepc
Posts: 1
Joined: Fri Mar 03, 2023 7:40 pm

Hst files on metatrader 4

Post by Pepc »

When i create a hst file then i can open a offline chart in the metatrader and i can use a function like iClose to read the current closeprice for the newest candel from the hst file. But i see a problem in the metatrader behavior with updates, i have currently a script which is updateing the hst file every second and i am running this script and i am reading with the iClose function the newest closeprice from the created hst file and i see here that the function iClose is not giving me the updated data only when i open the offline chart from this hst file and when i update the offline chart only then i see that iClose is also giving me the updated price, so this behavior is a problem because i dont want to open and update charts i just want to save my chart data into the hst files and then i want to be able to use this data from the hst files for indicators. Does anybody know this problem and a workaround?

Post Reply