Hello,
-use the following functions:
int SymbolsTotal( bool selected // True - only symbols in MarketWatch );
-cycle over number and for each index call
string SymbolName( int pos, // number in the list bool selected // true - only symbols in MarketWatch );
If you need information about symbol call
SymbolInfoInteger,SymbolInfoDouble,SymbolInfoString
![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
Hi there,
I would like to get a list of all trading pairs aka Symbol via loop. But can`t find more info about how this pairs is stored ... For example the result of SymbolName function. But struggling to find the information what data structure or type I should iterate to achieve this. For example to get time frames I could iterate the enum TIME_FRAMES. Hope the question is clear :)