Is there any way to find ( programatically ) that a given symbol is currency pair / commodity or a share ?
Ii want to make a for loop, which searches all symbols in marketwatch and return only commodity / FOREX Pairs or Shares .
- Return all Symbols?
- Is it possible to scan all the currency pairs, commodities and stocks ( more than 2500) using EA or indicator, then find the one I wanted on MT5 ?
- Questions from Beginners MQL5 MT5 MetaTrader 5
chandra100:
Ii want to make a for loop, which searches all symbols in marketwatch and return only commodity / FOREX Pairs or Shares .
Ii want to make a for loop, which searches all symbols in marketwatch and return only commodity / FOREX Pairs or Shares .
SymbolInfoInteger(symbol, SYMBOL_TRADE_CALC_MODE);
See documentation.
chandra100:
Ii want to make a for loop, which searches all symbols in marketwatch and return only commodity / FOREX Pairs or Shares .
In the article MQL5 Cookbook: Multi-Currency Expert Advisor - Simple, Neat and Quick Approach read about custom GetSymbol() function.
Ii want to make a for loop, which searches all symbols in marketwatch and return only commodity / FOREX Pairs or Shares .
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