指定
Hi.
Provided that linked Script and EA do this:
A- "Load Stock Data" -when excecuted manually- imports end-of-day financial data from Yahoo Finance into the platform's 'History' tab (.hst format) so that the data can be imported into daily offline charts
https://forum.mql4.com/52872
B - "Currency Loader" automatically exports .csv files of a certain Symbol (i.e. security) from different timeframes to MT4 folder Files/Export_History every 'x' seconds
https://www.mql5.com/en/code/8102
Here is my request:
-> to code a single script/ea that can unite the essential functions of both of them in order to achieve the following goals:
1) to be applied to OFFLINE Daily charts
2) so that those charts automatically get their data updated once a day
3) and after the update is completed it should be able to export a single .csv file for every Symbol (or chart) formatted -if possible- such as this:
1st row Symbol_Name,,,,,
2nd row Date,Open,High,Low,Close,Volume
for example:
SPY.US,,,,,
20151003,2020.40,2056.84,2011.73,2034.42,156890
Please note that:
i- COMMA (,) separator for .csv files
ii- Symbol may have also extensions like these.... %5EVIX or SPM.MI so the header must be flexible enough
iii- All the securities from external import require 2 DECIMAL DIGITS only
Feel free to write me for any further explanation or request.
Thanks.