namespace anychart.math.williamsR Improve this Doc
Namespace anychart.math.williamsR
Learn more about indicator mathematics.
Functions Overview
calculate() | Williams %R calculation. |
calculationFunction() | Calculates Williams %R. |
createComputer() | Creates Williams %R computer for the given table mapping. |
initContext() | Creates context for Williams %R indicator calculation. |
startFunction() | Start calculation function for Williams %R indicator calculation. |
Typedefs Overview
anychart.math.williamsR.Context | Type definition for the context. |
Functions Description
calculate
Williams %R calculation.
Params:
Name | Type | Description |
---|---|---|
context | anychart.math.williamsR.Context | Williams %R context. |
close | number | Close value. |
high | number | High value. |
low | number | Low value. |
Returns:
number - The calculated Williams %R indicator value.calculationFunction
Calculates Williams %R.
Params:
Name | Type | Description |
---|---|---|
row | anychart.data.TableComputer.RowProxy | Row proxy. |
context | anychart.math.williamsR.Context | Context. |
Try it:
createComputer
Creates Williams %R computer for the given table mapping.
Params:
Name | Type | Default | Description |
---|---|---|---|
mapping | anychart.data.TableMapping | Data mapping. | |
period | number | 14 | Indicator period. |
Returns:
anychart.data.TableComputer - Table computer.Try it:
initContext
Creates context for Williams %R indicator calculation.
Params:
Name | Type | Default | Description |
---|---|---|---|
period | number | 10 | Indicator period. |
Returns:
anychart.math.williamsR.Context - Context.Try it:
startFunction
Start calculation function for Williams %R indicator calculation.
Params:
Name | Type | Description |
---|---|---|
context | anychart.math.williamsR.Context | Context. |
Try it: