Hello,
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.
Thank you.
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.
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.
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?
Thank you.
honest_knave: I didn't know about SymbolSelect() - thanks gooly!
| List of MQL4 Functions - MQL4 Documentation |
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
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.
Thank you.