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
ERR_HISTORY_NOT_FOUND
4401
Requested history not found
so i see this error, how can it be fixed, I am sure the chart has history and receiving ticks
When i check with CheckLoadHistory(), it confirms there are bars
Good Luck with debugging it :D MT4 does work but on MT5 i was facing the exactly same issue. While the bars are there time to time i was actively receiving 0.0 from the Ticks , not even bars. Let me know if you find the solution. Try to read the article that is mentioned above and make data requests or return if the reading is 0.0...
ERR_HISTORY_NOT_FOUND
4401
Requested history not found
so i see this error, how can it be fixed, I am sure the chart has history and receiving ticks
When i check with CheckLoadHistory(), it confirms there are bars
Good Luck with debugging it :D MT4 does work but on MT5 i was facing the exactly same issue. While the bars are there time to time i was actively receiving 0.0 from the Ticks , not even bars. Let me know if you find the solution. Try to read the article that is mentioned above and make data requests or return if the reading is 0.0...
i have tried this, seems to be working but please check and confirm me
i have tried this, seems to be working but please check and confirm me
You don't need to load the history like someone wrongly advised. Well you can if you want, but that will not solve your problem.
MT5 is multi-threaded application, of course, it can always happen that a given symbol/timeframe data are not available, it will then return an error, you just have to deal with it (wait next tick, use a timer, use sleep, or whatever creative mechanism you could find).
Vladimir posted the links to the documentation. This topic has been discussed numerous time on the forum, no need to repeat all again and again, do some researches.
Well atleast its not happening on MT4. So we are coming to the result that is the common issue of MT5. I had some cases on multi pair ea and indicators that , it would not download the data automatically even if its on a marketwatch and manual download or data fixing is needed. So the data management is not perfect at all. Allso receiving 0.0 on some ticks can cause looses. So missing the data on the fly for some pairs is totally upsetting. You can try to receive data each Milisecond. Then again, it will not help 0.0 ONES. All you can do is ignore the result if its 0.0. Unless there is known valid solution. Lets say 100MS must be universal for all pairs in marketwatch. So once that is reached every pair must updated synched way. Sad part comes that is, When it happens few of them will return you 0.0 while there is a data ;). So if you are trying to create cross indicator from 2 different pairs get ready for such weird problems.
Does this issue occur with Ask and Bid, also?
You don't need to load the history like someone wrongly advised. Well you can if you want, but that will not solve your problem.
MT5 is multi-threaded application, of course, it can always happen that a given symbol/timeframe data are not available, it will then return an error, you just have to deal with it (wait next tick, use a timer, use sleep, or whatever creative mechanism you could find).
Vladimir posted the links to the documentation. This topic has been discussed numerous time on the forum, no need to repeat all again and again, do some researches.
You don't need to load the history like someone wrongly advised. Well you can if you want, but that will not solve your problem.
MT5 is multi-threaded application, of course, it can always happen that a given symbol/timeframe data are not available, it will then return an error, you just have to deal with it (wait next tick, use a timer, use sleep, or whatever creative mechanism you could find).
Vladimir posted the links to the documentation. This topic has been discussed numerous time on the forum, no need to repeat all again and again, do some researches.
please give search terms to use to find readings on 1) what prices this bug affects, and 2) proven methods that avoid or fix the bug.
I have idea for error correction, but at this stage is just a hypothesis. If i can see proofs of working fixes, then, I would not have to spend so much time testing my own code and hyposthese.please give search terms to use to find readings on 1) what prices this bug affects, and 2) proven methods that avoid or fix the bug.
I have idea for error correction, but at this stage is just a hypothesis. If i can see proofs of working fixes, then, I would not have to spend so much time testing my own code and hyposthese.Just run this code and watch - each time there are less and less unsynchronized symbols: