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 | Source Code Included

Fresh MQL5 code release – perfect for enhancing your MT4/MT5 strategies.

Image for SymbolLister

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:

    Never miss news-driven moves – use the News OCO Expert Advisor to place pending orders safely around economic releases. Find out more.

    #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.

Level up your trading with professional RobotFX expert advisors and indicators. Visit robotfx.org for proven MT4/MT5 tools.

7111

Best MetaTrader Indicators + Profitable Expert Advisors