Join our fan page
- Views:
- 17915
- Rating:
- Published:
- 2016.03.25 13:26
- Updated:
- 2016.03.25 13:27
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
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.
MA-4H
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7062

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

Commentary on behalf of Exponential Moving Average.

The library contains five functions for reading the values from an INI-file and five functions for writing the values to an INI-file. Thus, there are five pairs of functions to read/write the values of 'integer array', 'boolean', 'double', 'integer' and 'string' types.

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.