junglelion:
How do i get the list of symbols from the symbol set into an array
How do i get the list of symbols from the symbol set into an array
You can not read the symbol set file at its current location therefore, You need to make a copy of the symbol set file into your file folder directory and there your code can read it. If your EA is geared to a limited list of currency pairs you can make a special set file with just the currencies you want it to use, and by changing the contents of the file you can change the scope, vission of your code.
edit:
I already made a thread about this topic here https://www.mql5.com/en/forum/178594
Keit
:: there would be a way with dll calls, but that is totally undocumented... I would trigger the "Market Watch" window, to retrieve the "Symbols" window with the tree view of all symbols & loop within this tree list. So you have to do a lot of "handles".:: easy: make an array list of all known currency pairs, make a loop to retrieve a response, if no response then cancel the pair out.
IN10TION
junglelion:
How do i get the list of symbols from the symbol set into an array
How do i get the list of symbols from the symbol set into an array
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
How do i get the list of symbols from the symbol set into an array