Play videoPlease edit your post.
For large amounts of code, attach it.
- Look at any offline generator. They all do a post message update to any active offline chart.
- And don't they all close the file so mt4 can read it?
WHRoeder:
Play videoPlease edit your post.
For large amounts of code, attach it.
- Look at any offline generator. They all do a post message update to any active offline chart.
- And don't they all close the file so mt4 can read it?
Thank you very much WHRoeder. I have inserted the complete code.
Johann
string file_name = StringConcatenate("Cluster ",symb," Strategy_",strategy,"_Period",basePer,".hst");
int basePer=15;
Ovo:
You use an unexpected file name, moreover the timeframe would interfere with the online chart (if the name was correct).
Ovo, Im slow on the uptake. Thank you so much. What a stupid mistake! I have overwritten a former filename declaration
string cluster_f_name = StringConcatenate(symb,"Strat_0.hst");//filename
to
string file_name = StringConcatenate("Cluster ",symb," Strategy_",strategy,"_Period",basePer,".hst");
My correct use is now: file_name = StringConcatenate(symb,basePer,".hst"); while symb ="#USD" (ClusterSymbol) and baseper = 15.
Im very very grateful.
Johann

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 guys,
I have created some .hst files from .csv for single pairs. All single pairs can be loaded and permanently updated as offline charts (equally to 'period converter'). I have no problems, all is visible and works. But from this pairs I made clustercharts (e.g. USDJPY, EURJPY, AUDJPY, CADJPY, GBPJPY form a JPY-cluster ) with .hst files in the same manner as Ive made the single .hst charts. But MT4 doesnt want to show me the chart, Im still -waiting for update-. Ive controlled the hst datas, all seems to be correct. As well the hst header is perfect. I cant find my mistake. I would be very grateful if anybody could help me. Over the years this forum helped me alot to improve my knowledges, Ive read all about the subject here and I thought its enough spoken about this subject, but now Ive found my personal end.
The data structure of the records is as follows (example for one record):
1378921500 (time) 577.429 (Open) 577.329(Low) 577.64 (High) 577.544 (Close) 6020 (volume). Im sure that in the complete file isnt any data error. (e.g. open < high && open > low and close>low,...., high>low,...., no negative number, no zero value).
I have no idea what I can still do to solve the problem. Any help is welcome.
Johann