Join our fan page
- Views:
- 5247
- Rating:
- Published:
- 2016.03.25 13:28
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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 Ltd.
Original code: https://www.mql5.com/ru/code/7067

The MA-4H indicator displays the moving average of the selected timeframe on the chart of the current timeframe. The intersection of the two moving averages is implemented as optional. The external parameters allow to activate the second moving average in order to see their intersection.

Script for converting a chart of the M1 timeframe into all other charts of the standard timeframes and recreating the M1 timeframe chart.

With the help of this library it is possible to implement the ability to maintain positions with a simple trailing stop in any Expert Advisor.

The New Fractal Lines indicator implements not the "squat" bar, but the "squat" fractal and draws the fractal lines.