Description Usage Arguments Value Examples
View source: R/BollingerBands.R
Bollinger bands are calculated based on moving averages and moving standard deviations of time-series.
1 | BollingerBands(y, lookback = 20, std = 2)
|
y |
Vector to be tested for a unit root. |
lookback |
number of perioed to look back for testing |
std |
number of standard deviations to calculate BB bands |
A data.frame
with raw time-series and BB bands
1 2 3 | getFX("AUD/USD")
getFX("CAD/USD")
BollingerBands(AUDUSD/CADUSD, lookback = 20, std = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.