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
Libraries

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

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

Views:
1097
Rating:
votes: 7
\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

MA-4H MA-4H

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 Period ConverterALL

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 Function library for maintaining positions with a simple trailing stop

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 New_Fractal_Lines

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