GT::Indicators::Generic::Cum

Overview

This function keeps a running total of its input. Each period is calculated, it adds the current value of the input to the previous total. For example, {I:Generic:Cum 1} will keep adding 1 for each period of time loaded. In effect, this counts how many records are currently loaded.

GT::Indicators::Generic::Cum::calculate($calc, $day)