How do I know (from code) the list of available crosses.

 

Hi all,

I need to loop through all the crosses available. The broker is unknown in advance, so I need to query realtime which is the list of all crosses available at the given time for that particular provider.

Is there a native function to call into, to have that list back?

 

Thank you very much in advance.

Best regards

Stefano 

 
read the file symbols.sel
 
spronti:

Hi all,

I need to loop through all the crosses available. The broker is unknown in advance, so I need to query realtime which is the list of all crosses available at the given time for that particular provider.

Is there a native function to call into, to have that list back?

This thread might help:  https://www.mql5.com/en/forum/141214
 

It wokrs.

Thank you very much! 

Reason: