Syntax
public RevEngMACD(WealthLab.DataSeries ds, int period1, int period2, string description)
public static RevEngMACD Series(WealthLab.DataSeries ds, int period1, int period2)
public RevEngMACD(WealthLab.DataSeries ds, int period1, int period2, double level, string description)
Parameter Description
ds | A DataSeries used to build MACD (e.g. Close) |
period1 | First MACD period |
period2 | Second MACD period |
level | The target level of the MACD to move to (optional) |
Description
RevEngMACD by Johnny Dough from the January 2012 issue of
Stocks & Commodities magazine. By default, the RevEngMACD indicator returns the price value required for the MACD to move to the
zero value on the following bar. Passing on a target
level in an overloaded call allows to figure out the price required for the MACD to the specified value (which can be different from zero).
Example
See
TASC 2012-01, Reversing MACD (Dough)