Possibly there is a fault in your file data...
What you have stated sounds good, it should work.
"Writing csv to hst"
My experience is in directly creating hst files, though, no csv.
...
Attach one of your hst files here, I'll look at it.
Possibly there is a fault in your file data...
What you have stated sounds good, it should work.
"Writing csv to hst"
My experience is in directly creating hst files, though, no csv.
...
Attach one of your hst files here, I'll look at it.
Thanks Phy,
This forum won't let me send .hst files so I sent it to you as a .txt file. Let me know if there's another way I could get it to you if you need it as .hst.
When I import the file to an existing symbol created by my broker's server, it opens. The data looks good in the import dialog, and the chart looks good, but the symbol doesn't match the file.
It's a pretty cumbersome process too. I have to open the chart, delete the updated price(s) from the symbol the data is under (it grabs the latest prices if I'm connected). Delete the chart. Then open deleted to get a stable landscape. Not at all a viable workaround.
I would just like to open the existing .hst on it's own. This one is the Dollar Index.
Thanks much,
Yellowlion
It opened fine here...
Save the DX.txt as DX1440.hst in the history folder, and then File--- OpenOffline.
...
I might be confused about what your problem is.
I guess you need to write a script to convert CSV to HST files if the "import" doesn't do what you want.
Search for "Period Converter Optimized", it has the necessary header format and data record format in it.
...
...
2008.06.16 21:07:12 Phy__HistoryHeaderDecoder DX,Daily: Volume = 1035
2008.06.16 21:07:12 Phy__HistoryHeaderDecoder DX,Daily: Close = 127.1
2008.06.16 21:07:12 Phy__HistoryHeaderDecoder DX,Daily: Low = 127.8
2008.06.16 21:07:12 Phy__HistoryHeaderDecoder DX,Daily: High = 127.1
2008.06.16 21:07:12 Phy__HistoryHeaderDecoder DX,Daily: Open = 127.48
2008.06.16 21:07:12 Phy__HistoryHeaderDecoder DX,Daily: Time = 501379200
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: Volume = 2953
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: Close = 128.54
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: Low = 128.85
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: High = 127.88
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: Open = 128.12
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: Time = 501292800
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_unused = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: last_sync = 0
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: timesign = 1970.01.01 00:00:00
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: i_digits = 4
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: period = 1440
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: Equity = DX
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: c_copyright = (C)opyright 2003, MetaQuotes Software Corp.
2008.06.16 21:07:11 Phy__HistoryHeaderDecoder DX,Daily: Version = 400
Thanks phy,
It did not work by just renaming the file. It had to be renamed in the header also.
DX.hst didn't work, DX1440.hst did.
Thanks very much for your help.
Yellowlion
hello,
where can i find the code to convert csv to hst ?
i need to create new symbols from other markets.
thank you very much.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi All,
I'm writing .csv's to .hst's and attempting to open them as offline charts. The script works fine and I'm seeing the files in the "Open Offline Chart" dialog displayed with the correct number of records and the correct start and end dates formatted as yyyy.mm.dd hh:mm. It's daily data.
The product symbols for the files are not symbols that are present on my broker's server.
I'm getting "Waiting for Update" when I open one of these charts. All properties are checked as offline chart and autoscroll is disabled.
How can I view these files?
Thanks much in advance,
Yellowlion