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
fly7680: will the data be downloaded again from the Broker server?
When data is downloaded from the server, are it allocated to the Ram on PC or to another folder? I say this because as long as the MT4 is open, in the AppData \ Roaming \ MetaQuotes \ Terminal \ A6DFBB1B8DE9672D2328FF3445436DEC \ history folder there is no data, when the MT4 is closed, the data is actually copied to that folder
hello
this code solved my problem
hello
this code solved my problem
do you have an example of your code?I need 15M 1H 4H 1D 1W for all 28 pairs for 30 periods back in my EA.
I have used a very good tool in MQL5 published here but is there a way of doing this in MQl4?
do you have an example of your code?Yes I have
Douglas Eiras found a problem with the above code. If the period is weekly or monthly, obviously today's date won't equal the start of the bar. Remove the second test.
So, if I understand well, this function download_history() is only puting the time of the last candle into the variable "other", then we check if it is the day/hour/minute we actually are now. and it does that until the answer is the good one.
When the function call iTime() function, it will automatically force mt4 to download the history.
Is that correct ?Yes I have
Any candle related function does that. The test is for the error and not to continue until download completes.