Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2010.11.02 16:44
Libraries

CIniFile class - library for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
1397
Rating:
votes: 22
\MQL5\Include\
inifile.mqh (11.31 KB)view
\MQL5\Scripts\

    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.

    Good luck and all the best!

    Translated from Russian by MetaQuotes Software Corp.
    Original code: https://www.mql5.com/ru/code/213

    Multicurrency OnTickMarketWatch tick event handler Multicurrency OnTickMarketWatch tick event handler

    The OnTick event handler is designed to proceed the ticks for a certain symbol. This is the version of Multicurrency tick event handler.

    Adaptive Moving Average with Bollinger Bands ® Adaptive Moving Average with Bollinger Bands ®

    The indicator shows the trend and allows to see a price range.

    20/200 pips - Simple profitable Expert Advisor 20/200 pips - Simple profitable Expert Advisor

    It has simple code and trading rules. It's doesn't use any martingale MM strategies.

    FantailVMA FantailVMA

    This indicator is a combination of moving average and ATR indicators.