Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
3743
Rating:
(12)
Published:
2018.09.27 16:08
StepMA_3D_v3.mq5 (22.03 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

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.

Fig. 1. The StepMA_3D_v3 indicator

Fig. 1. The StepMA_3D_v3 indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21846

Blue Renko Bars Blue Renko Bars

An indicator for constructing Renko bars in the chart sub-window.

Trend_Risk_Indicator Trend_Risk_Indicator

The Trend Risk indicator

LinearRegressionChannel_Cloud LinearRegressionChannel_Cloud

The linear regression channel, which saves its values ​​in the indicator buffers and fills the channel background with color

Russian20-hp1 Russian20-hp1

An Expert Advisor based on iMA (Moving Average, MA) and iMomentum (Momentum).