1.7 KiB
1.7 KiB
In [5]:
import vectorbtpro as vbt vbt.IF.list_indicators("*SMA") vbt.phelp(vbt.indicator("talib:BBANDS").run)
BBANDS.run(
close,
timeperiod=Default(value=5),
nbdevup=Default(value=2.0),
nbdevdn=Default(value=2.0),
matype=Default(value=0),
timeframe=Default(value=None),
short_name='bbands',
hide_params=None,
hide_default=True,
**kwargs
):
Run `BBANDS` indicator.
* Inputs: `close`
* Parameters: `timeperiod`, `nbdevup`, `nbdevdn`, `matype`, `timeframe`
* Outputs: `upperband`, `middleband`, `lowerband`
Pass a list of parameter names as `hide_params` to hide their column levels, or True to hide all.
Set `hide_default` to False to show the column levels of the parameters with a default value.
Other keyword arguments are passed to `BBANDS.run_pipeline`.