AnyChart
API Reference
Still have questions?
Contact support
Top

namespace anychart.math.bbandsB Improve this Doc

Namespace anychart.math.bbandsB
Learn more about indicator mathematics.

Functions Overview

calculationFunction()Calculates %B.
createComputer()Creates the %B computer for the given table mapping.
initContext()Creates context for the %B indicator calculation.
startFunction()Start calculation function for the %B indicator calculation.

Typedefs Overview

anychart.math.bbandsB.ContextType definition for the context.

Functions Description

calculationFunction

createComputer

Creates the %B computer for the given table mapping.

Params:

NameTypeDescription
mappinganychart.data.TableMappingData mapping.
periodnumberIndicator period.
deviationnumberIndicator deviation.

Returns:

anychart.data.TableComputer - Table computer.

initContext

Creates context for the %B indicator calculation.

Params:

NameTypeDefaultDescription
periodnumber
20
Indicator period.
deviationnumber
2
Indicator deviation.

startFunction

Start calculation function for the %B indicator calculation.

Params:

NameTypeDescription
contextanychart.math.bbandsB.ContextContext.