Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 4 Libraries | SymbolLister

MetaTrader Experts, Indicators, Scripts and Libraries

Actually, there is nothing more to add to the description. The function is simple, it creates a list of currency pair symbols by iterating over the combinations of the abbreviated names of the currencies contained in the Currencies array. This array contains most currencies, if necessary, more can be added.

Usage:

  1. Write at the beginning of the text:

    #import "SymbolLister.ex4"   
    string  Symbols[]; 
    int SymbolCount;
    int CreateSymbolList()
  2. Write in the initialization function

    CreateSymbolList();
  3. Use the Symbols[] symbol array and the number of found symbols SymbolCount.

I cut this function out of my EA, have not tested it as a separate library, as a last resort, all this can be inserted into the code and it works fine.

7111

Best MetaTrader Indicators + Profitable Expert Advisors