Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.12.19 11:16

AnchoredMomentum - indicator for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

votes: 17

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:

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 on 08.10.2012

Fig.1 The AnchoredMomentum indicator

Fig.1 The AnchoredMomentum indicator 

Translated from Russian by MetaQuotes Software Corp.
Original code:


The offered indicator informs you about the current trend. It is useful for entering the trading.


The averaging amount of the RSI different period oscillators

Ind_2 Line+1 Ind_2 Line+1

The indicator of the arbitrage situation for spread consisting from two instruments

AffineTransform AffineTransform

The indicator transfers the price data to the new coordinates system shifting price axis (axis of the ordinates).