Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

AnchoredMomentum - MetaTrader 5 Script | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

AnchoredMomentum - indicator for MetaTrader 5

Real author:

Umnyashkin Victor

A comprehensive investigation was conducted by Konstantin Kopyrkin.

Calculation formula:

Anchored Momentum = 100 * (EMA[Price, EmaPeriod] / SMA[Price, SmaPeriod] - 1

Indicator input parameters:

 //+------------------------------------------------+
//|Indicator input parameters|
//+------------------------------------------------+
Input unit mother period = 8 ; //SMA period
Input unit smoothing period = 6 ; //EMA period
Input ENUM_APPLIED_PRICE industrial computer = PRICE_CLOSE ; //Price constant for executing indicator calculations
Enter double upper level = + 0.025 ; // upper breakout level
Enter double Dn level = - 0.025 ; //lower breakout level
Input integer shift = 0 ; //Horizontal movement of the indicator (in bars)
//+------------------------------------------------+

The indicator was first implemented in MQL4 and published in the code base of mql4.com on October 8, 2012

AnchoredMomentum - indicator for MetaTrader 5

Figure 1 AnchoredMomentum indicator


Attachment download

📎 anchoredmomentum.mq5 (10.79 KB)

Source: MQL5 #1233

Verification code Refresh