Can I scan the whole market and rank for Top 10?

 
Hi all, newby question, so sorry if this is dumb! Is it possible to create an EA that scans the whole market and ranks by Top 10 for some criteria (e.g. RVOL, % change from open, etc)? So far all the documentation I've seen seems to point towards EAs only being used on 1 specific stock at a time.
Thanks in advance!! :-) 
 

Yes, it is totally possible to scan multiple symbols/assets. There are examples in the CodeBase, Articles (and in the Market section) of just that.

The MQL5 documentation also explicitly presents that concept too, as almost all functionality has a parameter for selecting the symbol to be used for the function.

For reference ... MQL5 Book: Creating application programs / Creating custom indicators / Multicurrency and multitimeframe indicators

 
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
 

Thank you! :-) 

Fernando Carreiro
Fernando Carreiro
  • 2025.01.30
  • www.mql5.com
Trader's profile