StepMA_3D_v3 – indicator MetaTrader 5

Actual author: TrendLaboratory

A trend indicator with three moving averages having different periods, using the Average True Range in calculations.

//+----------------------------------------------+
//| Indicator input parameters                   |
//+----------------------------------------------+
input uint    Length       = 10;         // ATR period
input double  Kv           =  1.000001;  // Sensitivity of the price change
input ENUM_MA_MODE MA_Mode = MODE_SMA_;  // ATR averaging method
input int     ShiftMIN     =  0;         // horizontal shift of the fast trend indicator, in bars
input int     ShiftMID     =  0;         // horizontal shift of the medium trend indicator, in bars
input int     ShiftMAX     =  0;         // horizontal shift of the slow trend indicator, in bars

Green Moving Average is a fast trend indicator. The red and blue MAs determine a slow trend. If the blue line is above the red one, the trend is growing, otherwise it is falling.

Alternative:  CCI_Histogram_Round - indicator MetaTrader 5

Fig. 1. The StepMA_3D_v3 indicator

Fig. 1. The StepMA_3D_v3 indicator


📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks