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.Context | Type definition for the context. |
Functions Description
calculationFunction
Calculates %B.
Params:
| Name | Type | Description |
|---|---|---|
| row | anychart.data.TableComputer.RowProxy | Row proxy. |
| context | anychart.math.bbandsB.Context | Context. |
Try it:
createComputer
Creates the %B computer for the given table mapping.
Params:
| Name | Type | Description |
|---|---|---|
| mapping | anychart.data.TableMapping | Data mapping. |
| period | number | Indicator period. |
| deviation | number | Indicator deviation. |
Returns:
anychart.data.TableComputer - Table computer.Try it:
initContext
Creates context for the %B indicator calculation.
Params:
| Name | Type | Default | Description |
|---|---|---|---|
| period | number | 20 | Indicator period. |
| deviation | number | 2 | Indicator deviation. |
Returns:
anychart.math.bbandsB.Context - Context.Try it:
startFunction
Start calculation function for the %B indicator calculation.
Params:
| Name | Type | Description |
|---|---|---|
| context | anychart.math.bbandsB.Context | Context. |
Try it:
