GT::Indicators::VROC

Overview

The VROC is the Volume Rate Of Change.

Calculation

VROC = ((Volume(i) * 100) / Volume(i-n)) - 100

Parameters

The standard VROC is equal to GT::Indicators::ROC->new([12], "VOLUME", $GET_VOLUME)

Example

GT::Indicators::VROC->new() GT::Indicators::VROC->new([20])

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