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

Finance::GeniusTrader::Indicators::BOL

Bollinger Bands are similar to moving average envelopes. The difference between Bollinger Bands and envelopes is envelopes are plotted at a fixed percentage above and below a moving average, whereas Bollinger Bands are plotted at standard deviation levels above and below a moving average.

The standard Bolling Bands (BOL 20-2) can be called like that : Finance::GeniusTrader::Indicators::BOL->new()

If you need a non standard BOL : Finance::GeniusTrader::Indicators::BOL->new([25, 2.5])

Finance::GeniusTrader::Indicators::BOL::calculate($calc, $day)