Enigma71fx:
I am refreshing the topic, as this probably didn't get any attention on Friday. Still, it is an important topic and I bet that plenty of people serious about developing EAs would like to know the answer.
Dear MetaQuotes,
I would like to ask if you could suggest any method of checking if new tick has arrived on multiple symbols other that this one -> https://www.mql5.com/en/code/209. The method presented under this link is reasonable, but it still can cause some difficulties. Or maybe you consider an implementation of any new idea that would make this issue user-friendly? Checking if new tick arrived is obviously a basic functionality for multi-currency EAs.
alexvd:
Using OnChartEvent is very good idea. But you should understand that it isn't the one solution. You also can use OnTimer to periodically check for new tick for another symbols.
But isn't it going to be time- and resource-consuming? E.g. when checking for new tick on 15 symbols every second.
Using OnChartEvent is very good idea. But you should understand that it isn't the one solution. You also can use OnTimer to periodically check for new tick for another symbols.
In this case it might will.
Any solution has its own advantages and disadvantages, so every developer is looking for sensible balance between them.

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
Dear MetaQuotes,
I would like to ask if you could suggest any method of checking if new tick has arrived on multiple symbols other that this one -> https://www.mql5.com/en/code/209. The method presented under this link is reasonable, but it still can cause some difficulties. Or maybe you consider an implementation of any new idea that would make this issue user-friendly? Checking if new tick arrived is obviously a basic functionality for multi-currency EAs.