下载MetaTrader 5
要添加评论,请登录注册
MetaQuotes ID是什么?从文章中找出 答案!
Greatshore
91
Greatshore 2008.12.14 09:38 
How can I get the list of all the symbols on a broker's server?
Rashid Umarov
管理员
6602
Rashid Umarov 2008.12.22 08:55  

Unfortunately, it's impossible but I would like to draw your attention at this script - 'SymbolList fromSet'

Greatshore
91
Greatshore 2008.12.22 09:34  
Thanks for your repaly. I had solved it myself by such codes:
string CurrencyList[] = {"AUD", "CAD", "CHF", "CZK", "DKK", "EUR", "GBP", 
              "HKD", "JPY", "MXN", "NOK", "NZD", "PLN", "SEK", 
              "SGD", "TRY", "USD", "ZAR"};

............


for (i = 0; i < n; i++)
  for (j = 0; j < n; j++)
  {
    CurrencyPair = CurrencyList[i] + CurrencyList[j];
    if (MarketInfo(CurrencyPair, MODE_SPREAD) > 0)
    { ............  }
  }
/
要添加评论,请登录注册