Scripts: sHistoryExport - handy script to export the historical data in the МТ4 format - page 5
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
Could you please tell me how to configure the script so that it adds quotes every minute?
Compilation results (MetaEditor v5. bld 2897 ) :
'StringToPeriod' - cannot convert enum sHistoryExport.mq5 75 45
'PeriodToString' - undeclared identifier sHistoryExport.mq5 105 85
'period' - some operator expected sHistoryExport.mq5 105 102
implicit conversion from 'number' to 'string' sHistoryExport.mq5 105 85
'+' - unexpected token sHistoryExport.mq5 105 113
23 errors, 5 warnings 24 6
Compilation results (MetaEditor v5. bld 2897 ) :
'StringToPeriod' - cannot convert enum sHistoryExport.mq5 75 45
'PeriodToString' - undeclared identifier sHistoryExport.mq5 105 85
'period' - some operator expected sHistoryExport.mq5 105 102
implicit conversion from 'number' to 'string' sHistoryExport.mq5 105 85
'+' - unexpected unexpected token sHistoryExport.mq5 105 113
23 errors, 5 warnings 24 6
Step 1: Installation
Upload the script to the <data directory>\MQL5\scripts\ directory.
Load the CheckHistory and String libraries into the <data directory>\MQL5\Include\komposter\ directory.
Compile the script.
Thanks Andrey, the code works very well.
Is it possible to add a timer to automatically download the csv periodically every x minutes?
Or even set a specific time to download?
https://www.mql5.com/en/docs/event_handlers/ontimer
Thank you.
Terminal crashes