Hi~
I want to use the MT4 offline chart, To show the K-bar chart of one of the US stock companies, And perform real-time updates, How do I perform each step?
At present, I have searched for some past articles by myself, and I have a preliminary concept, but I have not been able to succeed, My steps are as follows:
1. obtain the csv data of the K-bar chart of this company
2. convert the CSV to an HST file through a script program and place it in the ../history/Broker Name/ folder
3. open the offline chart of the hst file after the conversion is completed
4. for real-time updates
But I want to ask how to convert csv file to hst file
I download EURTRY's M15 chart from TickStory software
Then turn it into an hst file and put it on the mt4 platform to see the status
Below are my steps
I put the attached "EURTRY.csv" into ..\MQL4\Files
Then execute the "csv_to_hst.ex4" script
Then ..\MQL4\Files will generate a "_EURTRY.hst" file
Then cut the "_EURTRY.hst" file and place it in the ../history/Broker Name/ folder
Then open the offline chart in the upper left corner of the platform and select "_EURTRY"
The chart stays here and then "Waiting for update" screen
May I ask which part is the problem?
Is the csv file format wrong with the "csv_to_hst.ex4" script
Thank you~

Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Chart Corner
- www.mql5.com
Chart Corner - Objects Constants - Constants, Enumerations and Structures - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Files:
EURTRY.csv
80 kb
- Importing data into MT5
- Question about updating Ask price on offline hst files
- is there method to read last candle data from mql4 hst file?

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