![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Actually I know what he means. I had been waiting for some authorized answer, but nothing comes. The timeframes that do not appear on some chart do not get updated until an MQL read request is made, like iBars. In that case the last 2048 bars are updated. But there is no method I would know about to learn the data is already up-to-date.
Yes. Seems to be true. I tried this; at the first run I got incorrect results, but after a few moments, I tried a second run and I got up-to-date prices ;)
Thanks man ; useful information.
Can you please tell where did you get these info from?
Actually I know what he means. I had been waiting for some authorized answer, but nothing comes. The timeframes that do not appear on some chart do not get updated until an MQL read request is made, like iBars. In that case the last 2048 bars are updated. But there is no method I would know about to learn the data is already up-to-date.
Did you check my comment about the Market Watch ? There are new functions pertaining to Market Watch I believe the reason is to keep it updating without having a chart open.
Did you check my comment about the Market Watch ? There are new functions pertaining to Market Watch I believe the reason is to keep it updating without having a chart open.
It appears selected symbols in market watch are not updated in all timeframes. I just deleted all local history, and then loaded all symbols in market watch and got all zeros. (though second run returned the results)
hmmm ok so I wonder what is the point of that SymbolSelect function....
If you want to work with a symbol inside your code (bid/ask/volume...), it needs to be in the Market Watch.
Oh I see, so it is necessary to do that. Maybe it just wasn't ready yet when 1313 made the first call to iClose ...
If you want to work with a symbol inside your code (bid/ask/volume...), it needs to be in the Market Watch.
I can work with symbols not selected in market watch. what's the necessity?