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

Finance::GeniusTrader::Graphics::DataSource::GenericIndicatorResults

This datasource is a generic module to handle any information provided by an indicator.

Details

This module will return either a serie of single data or a serie of array.

If the input arguments contains a string like "Indicators::BOL/99", we will assume that the user wants to have all data available form the Bollinger indicator and we will return an array with all the data.

If the input arguments contains a string like "Indicators::BOL" (It's the same than "Indicators::BOL/0"), "Indicators::BOL/1" (or / any number), we will assume that the user only wants a serie of single data, which is in our example the third serie (keep in mind that the first serie start at zero).

We will either use only a single data serie or a all data available for the calculation of the value range.

Finance::GeniusTrader::Graphics::DataSource::GenericIndicatorResults->new($calc, $indicator_desc)

Create a new indicator data source.