GT::Indicators::GAPO

Overview

The Gopalakarishnan Range Index (GAPO) characterizes the price behavior of markets. Although GAPO doesn't generate buy or sell signals, it does help identify the random behavior of price activity. A higher value indicates a more erratic market; a lower value indicates consistent price movement.

Calculation

GAPO = (Log(Highest High (n) - Lowest Low (n))) / Log (n)

Parameters

The standard GAPO index works with a five-day parameter : n = 5

Example

GT::Indicators::GAPO->new() GT::Indicators::GAPO->new([6])

Advice/Idea

I think that the best way to use the results of this indicator is to look after the average or the moving average of the results, in order to have smooth data.

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