SymbolLister – library MetaTrader 4

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.


πŸ“ˆ ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks