Join our fan page
- Views:
- 5501
- Rating:
- Published:
- 2012.12.19 11:16
- Updated:
- 2016.11.22 07:32
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The real author:
Umnyashkin Victor
The full investigation was conducted by Konstantin Kopyrkin.
The formula for the calculation:
Anchored Momentum = 100 * (EMA[Price, EmaPeriod] / SMA[Price, SmaPeriod] - 1
Indicator input parameters:
//+-----------------------------------+ //| INDICATOR INPUT PARAMETERS | //+-----------------------------------+ input uint MomPeriod=8; //the period of SMA input uint SmoothPeriod=6; //the period of EMA input ENUM_APPLIED_PRICE IPC=PRICE_CLOSE;//price constant on which the indicator calculation is performed input double UpLevel=+0.025; //upper breakthrough level input double DnLevel=-0.025; //lower breakthrough level input int Shift=0; //horizontal shift of the indicator in bars //+-----------------------------------+
This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 08.10.2012
Fig.1 The AnchoredMomentum indicator
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/1233
![GG-RSI-CCI](https://c.mql5.com/i/code/indicator.png)
The offered indicator informs you about the current trend. It is useful for entering the trading.
![SumRSI](https://c.mql5.com/i/code/indicator.png)
The averaging amount of the RSI different period oscillators
![Ind_2 Line+1](https://c.mql5.com/i/code/indicator.png)
The indicator of the arbitrage situation for spread consisting from two instruments
![AffineTransform](https://c.mql5.com/i/code/indicator.png)
The indicator transfers the price data to the new coordinates system shifting price axis (axis of the ordinates).