Join our fan page
AnchoredMomentum - indicator for MetaTrader 5
- Views:
- 5586
- 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
The offered indicator informs you about the current trend. It is useful for entering the trading.
SumRSIThe averaging amount of the RSI different period oscillators
The indicator of the arbitrage situation for spread consisting from two instruments
AffineTransformThe indicator transfers the price data to the new coordinates system shifting price axis (axis of the ordinates).