SMMA - Smoothed Moving Average

Description

The Smoothed Moving Average is combined from both Simple Moving Average and the Exponential Moving Average. Generally speaking, it is only used for higher period amounts/inputs. It normally has roughly half of the value of an EMA, meaning that an SMMA(20) is closer to an EMA(40).

Interpretation

For more general information about moving averages, please see Moving Averages.

The SMMA is often used with the SuperTrend indicator.

Further information

http://www2.wealth-lab.com/wiki/SMMA.ashx

Usage

SMMA(int period)
SMMA(IDataSeries inSeries, int period)
SMMA(int period)[int barsAgo]
SMMA(IDataSeries inSeries, int period)[int barsAgo]

Return value

double

When using this method with an index (e.g. SMMA(14)[int barsAgo] ), the value of the indicator will be issued for the referenced bar.

Parameters

inSeries Input data series for the indicator

period Number of bars included in the calculations

Visualization

Example

//Output for the value of the SMMA
Print("The current SMMA value is " + SMMA(14)[0]);

Last updated