DooMGuarD:
hi all
i need to obtain all symbols in MetaTrade... How to code?
regards
charles
hi all
i need to obtain all symbols in MetaTrade... How to code?
regards
charles
DooMGuarD :
What I did was:
Since file read only reads in specific folders you will need to use another language to copy the file forexall.set from terminal_directory\symbolsets to terminal_directory\experts\files folder or terminal_directory\tester\files if testing, then use this code:
int handle;
handle=FileOpen("forexall.set",FILE_CSV|FILE_READ|FILE_WRITE,"\x09");
string s = FileReadString( handle, 6); // this will give you the first currency
And keep doing it until the end of the file.
Hope this helps.
Hazem
thanks i try....
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
i need to obtain all symbols in MetaTrade... How to code?
regards
charles