GT::Indicators::WWMA

Welles Wilder Moving Average (WWMA) is a modified verson of the EMA.

Calculation

WWMA(i) = (1/n) * Close(i) + (1 - 1/n) * WWMA(i-1)

Examples

GT::Indicators::WWMA->new() GT::Indicators::WWMA->new([15]) GT::Indicators::WWMA->new([30], "OPEN", $GET_OPEN)


NOTICES

this version of Welles Wilder Moving Average (WWMA) is depreciated in favor of Wilders (GT::Indicators::Wilders).

GT::Indicators::WWMA::calculate($calc, $day)