Pon "Me gusta" y sigue las noticias
Deje un enlace a él, ¡qué los demás también lo valoren!
Evalúe su trabajo en el terminal MetaTrader 5
Library of functions for working with INI-files. - librería para MetaTrader 4
- Visualizaciones:
- 4774
- Ranking:
- Publicado:
- 2016.03.25 13:28
- ¿Necesita un robot o indicador basado en este código? Solicítelo en la bolsa freelance Pasar a la bolsa
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().
Traducción del ruso realizada por MetaQuotes Ltd
Artículo original: 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.
Period ConverterALLScript 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.
New_Fractal_LinesThe New Fractal Lines indicator implements not the "squat" bar, but the "squat" fractal and draws the fractal lines.