CIniFile class – library MetaTrader 5

    This class will help you if you need to use the Windows *.ini files. It has a standard interface with simple methods.

    Using the library:

    1. Copy the IniFile.mqh file to the MQ5\Include\ folder.
    2. Declare the CIniFil class instance in the code (don’t forget to add the  #include <IniFile.mqh> directive).
    3. Call its Init method with file name as parameter.
    4. Call methods for reading/writeing/checking/deleting the data.
    5. If you need to work with data arrays, declare a CArrayString class instance.

    A simple example of use of the library is contained in Test_CIniFile.mq5.

      Free Fuzzy Logic Library functions - library MetaTrader 5

    Good luck and all the best!


    📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks