When was run indicator (script or expert), once the program is started after received
tick, does the MarketInfo function is making adittional requests (and every time) from server for every call
of the MarketInfo(symbol,22) or other MarketInfo(symbol,nn) ?
- Migration - Virtual Hosting for 24/7 Operation
- Expert Advisors and Custom Indicators - Algorithmic Trading, Trading Robots
- Getting Started - MetaTrader 5 for Android
marketdata gets data from last tick before script started. To refresh that data
call RefreshRates().
So all MarketInfo data are received with the incomed tick, about 27.
Does that ~27 MarketInfo data are received with the tick only for the symbol opened chart or for the all symbols shown in Market Watch symbols panel group?
Does that ~27 MarketInfo data are received with the tick only for the symbol opened chart or for the all symbols shown in Market Watch symbols panel group?
you can call marketdata for any available symbol
Thank you irusoh1,
I wanted to know for example calling MarketInfo() for symbol shown in panel but no chart for that same one for tick size or server tick time, does that marketdata is already received with previous tick or is making additional request from the server?
I wanted to know for example calling MarketInfo() for symbol shown in panel but no chart for that same one for tick size or server tick time, does that marketdata is already received with previous tick or is making additional request from the server?
Can't say for sure... maybe MT people can answer that.
MarketInfo does not request server and take last known data.

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