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.
GAPO = (Log(Highest High (n) - Lowest Low (n))) / Log (n)
The standard GAPO index works with a five-day parameter : n = 5
GT::Indicators::GAPO->new()
GT::Indicators::GAPO->new([6])
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.