FileOpenHistory()
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
Hi,
I have a progam that converts stock daily data csv to .hst. It works fine thanks.
The source (csv) file and the destination (hst) file are both in the experts/files folder.
Then I have to manually copy the .hst file to the history folder every time to create an offline chart.
is there any way I can program this via MT4 thru 'fileopen' function, or OTHERWISE, any ideas ? File copy or transfer, maybe ???
This does not work
int hst_file = FileOpen( "C:\Program Files\Interbank FX Trader 4 DEMO1\history\" + hst_filename, FILE_BIN|FILE_WRITE);