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:
- 5929
- Rating:
- Published:
- 2014.03.11 14:00
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Real author:
Emerald King , MTE&I
The ROC indicator smoothed by Laguerre filter drawn as a color histogram.
Indicator input parameters:
input uint vPeriod=5; // Period input double gamma=0.500; // Averaging factor input double UpLevel=0.75; // Overbought level in % input double DnLevel=0.25; // Oversold level in % input color UpLevelsColor=clrMagenta; // Color of the overbought level input color DnLevelsColor=clrMagenta; // Color of the oversold level input STYLE Levelstyle=DASH_; // Style of levels input WIDTH LevelsWidth=Width_1; // Width of levels input int Shift=0; // Horizontal shift of the indicator in bars
Originally this indicator has been written in MQL4 and was first published in the Code Base at mql4.com on 12.10.2007.
Figure 1. The Laguerre_ROC indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/2106

A channel build on the values of two moving averages of High and Low, drawn as a cloud.

The indicator changes the bar color to the color of the current trend calculated based on the TDI-2 custom indicator.

A one period momentum averaged by the SMA algorithm.

The MACD histogram drawn on the difference of two digital filters.