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

2015.01.23 10:30

NonLagMA_v5 - indicator for MetaTrader 5

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

votes: 21

Real author:


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 Software Corp.
Original code:

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

Example of MACD Automated Example of MACD Automated

Code example of MACD automated with advanced money management function.

Pivot Star Pivot Star

Pivot indicator. Standard, Fibonacci, Camarilla, Woody's, Demark. Calculates pivot points from previous bar of chosen period (M5 - MN).