How to list all symbols in mt5 in mql5?

 

in mt4 and mql4 there is SymbolTotal() function to do this,but what is it in mql5?

 
nimalin:

in mt4 and mql4 there is SymbolTotal() function to do this,but what is it in mql5?

Exactly the same thing : https://www.mql5.com/en/docs/marketinformation/symbolstotal
Documentation on MQL5: Market Info / SymbolsTotal
Documentation on MQL5: Market Info / SymbolsTotal
  • www.mql5.com
If the 'selected' parameter is true, the function returns the number of symbols selected in MarketWatch. If the value is false, it returns the total number of all symbols.