The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Finance::GeniusTrader::Indicators::GMEAN

Overview

The geometric mean indicator calculates the geometic mean of each days high and low. While the arithmetic mean has an equal absolute distance to high and low, the geometric mean has an equal relative distance to high and low.

arithmetic mean: high - mean = mean - low geometric mean: high / gmean = gmean / low

Calculation

gmean = (high * low)^(1/2)