I have found the script 'listallsymbols.mq4' that is very useful to get the extensive symbol list for currency pairs. This does not include CFD symbols or any symbol that does not have 6 characters.
I am wondering if such a script exists that covers all symbols, including CFD's with variable name length. I am only looking for the symbol names.
Since b+600 we have: SymbolName(), SymbolSelect(), and SymbolsTotal(). (Look in the MQL4-Reference)
With this you can get all you need and is provided by the broker's server.
The script 'listallsymbols.mq4' uses both SymbolName() and SymbolsTotal() - I attach it enclosed. Yet I do not get all symbols selected with the script, even if they are available in Marketwatch (e.g. gold, CFD's).
How come this discrepancy?
To add comments, please log in or register