Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
4474
Rating:
(25)
Published:
2015.01.23 10:30
Updated:
2016.11.22 07:32
nonlagma_v5.mq5 (9.18 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Real author:

TrendLaboratory

This is a moving where effect of retardation is lessened by means of damped cosinusoid defining coefficients' ratios in equation of the linearly weighted average (LWMA).

Statical filter (in points) helps to remove small spurts of the medium which gives a shape of stair-stepping.

Input Parameters:

//+-----------------------------------+
//| Input parameters of the indicator |
//+-----------------------------------+
input int                 MAPeriod       = 13;          // Period
input  ENUM_MA_METHOD     MAType         = MODE_EMA;    // Type of averaging
input ENUM_APPLIED_PRICE  MAPrice        = PRICE_CLOSE; // Price
input uint                Filter         = 0;           // Static filter in points  
input uint                ColorBarBack   = 1;           // Bar back for color mode
input double              Deviation      = 0;           // Up/down deviation  
input int                 Shift          = 0;           // Horizontal shift of the indicator in bars

This indicator was first implemented in MQL4 and published in CodeBase on September 21, 2006.

Fig.1. NonLagMA_v5 Indicator

Fig.1. NonLagMA_v5 Indicator

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7022

Simple dollar index indicator Simple dollar index indicator

Special aspects: "holidays problem" is solved (problems arising due to absence of ticks).

Mass_Index Mass_Index

The Mass Index is intended for detection of trend turns based on changes in the bandwidth between the highest and the lowest prices.

NonLagMA_v5_HTF NonLagMA_v5_HTF

The NonLagMA_v5 indicator with the timeframe selection option available in input parameters.

NRMA NRMA

Well-known indicator of Constantine Kopyrkin which generated a great number of NRTR indicator implementation. NRMA moving average (line) and trailing stops NRTR (circular-shaped dots) are implemented in this variant.