Rejoignez notre page de fans
- Vues:
- 4771
- Note:
- Publié:
- 2016.03.25 13:28
-
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur 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().
Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/7067
![MA-4H](https://c.mql5.com/i/code/indicator.png)
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.
![Period ConverterALL](https://c.mql5.com/i/code/script.png)
Script for converting a chart of the M1 timeframe into all other charts of the standard timeframes and recreating the M1 timeframe chart.
![Function library for maintaining positions with a simple trailing stop](https://c.mql5.com/i/code/library.png)
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.
![New_Fractal_Lines](https://c.mql5.com/i/code/indicator.png)
The New Fractal Lines indicator implements not the "squat" bar, but the "squat" fractal and draws the fractal lines.