GT::Indicators::WTCL

Overview

The Weighted Close indicator is simply an average of each day's price. It gets its name from the fact that extra weight is given to the closing price. The Median Price and Typical Price are similar indicators.

Calculation

The Weighted Close indicator is calculated by multiplying the close by $weight, adding the high and the low to this product, and dividing by (2 + $weight). The result is the average price with extra weight given to the closing price.

Parameters

The standard Weighted Close is configured with : $weight = 2.

Links

http://www.equis.com/free/taaz/weightedclose.html http://www.futuresource.com/industry/wtcl.asp

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