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

2016.03.25 13:28
Library of functions for working with INI-files.

Library of functions for working with INI-files. - library for MetaTrader 4

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

Views:
515
Rating:
votes: 5
\MQL4\Include\
IniFiles.mqh (10.82 KB)view

Library of functions for working with INI-files. Includes five functions for reading values from an INI-file:
     - ReadIniArrayInt();
     - ReadIniBool();
     - ReadIniDouble();
     - ReadIniInteger();
     - ReadIniString();
and five functions for writing the values to an INI-file:
     - WriteIniArrayInt();
     - WriteIniBool();
     - WriteIniDouble();
     - WriteIniInteger();
     - WriteIniString().
Thus, there are five pairs of functions to read/write the values of 'integer array', 'boolean', 'double', 'integer' and 'string' types.

Each of these functions takes the main parameters:
     - FileName - full file name;
     - SectionName - section name;
     - KeyName - parameter name.

Uses the WinAPI functions from the kernel32.dll module:
     - GetPrivateProfileStringA();
     - WritePrivateProfileStringA().

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

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Modify All TP SL Modify All TP SL

The script modifies all orders (market and pending) on the symbol with specified Take Profit and Stop Loss.

iFractals 4all TF iFractals 4all TF

Buy or sell just by looking at the "arrow" as a signal. Very easy and simple.