sMACD

Modified on 2013/10/05 06:51 by Eugene — Categorized as: TASCIndicators

Syntax

public sMACD(DataSeries ds, int period1, int period2, string description): base(ds, description)
public static sMACD Series ( DataSeries ds, int period1, int period2 )

Parameter Description

dsA DataSeries used to build MACD (e.g. Close)
period1First MACD period (shorter)
period2Second MACD period (longer)

Description

sMACD indicator from Johnny Dough's article in November 2013 issue of Stocks & Commodities magazine. The formula for the MACD indicator is sometimes calculated using simple moving averages instead of exponential moving averages. Used to build RevEngMACDSignal based on SMA.

Example

See TASC 2013-11, Reversing MACD: The Sequel (Dough)