Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 4264
- Rating:
- Published:
- 2018.09.27 16:08
-
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
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21846

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

The Trend Risk indicator

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

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