bbands: Bollinger Bands

Description Usage Arguments Value See Also

View source: R/RcppExports.R

Description

Bollinger bands is a mix of Rolling Range and SMA indicators. It shows the average price and its range over n past values based on price volatility.

Usage

1
bbands(x, n, k)

Arguments

x

numeric vectors

n

window size

k

number of standard deviations

Value

Returns data.table with columns upper, lower, sma.

See Also

Other technical indicators: crossover, ema, roll_lm, roll_percent_rank, roll_range, roll_sd, roll_volume_profile, rsi, sma, stochastic


QuantTools documentation built on Oct. 23, 2020, 7:54 p.m.