Category
Indicator Functions
Description
Bollinger band trend
Syntax
BBTrend(len1, len2, mult)
Parameters
len1 - first lookback period
len2 - second lookback period
mult - number of standard deviations
Notes
The BBTrend indicator is calculated as follows:
lower = ABS(BBBot(len1, mult) - BBBot(len2, mult))
upper = ABS(BBTop(len1, mult) - BBTop(len2, mult))
BBTrend = (lower - upper) / Avg(C, len1)
This indicator is intended to signal both strength and direction of trend.
To calculate BBTrend for something other than Close use BBTrendF.
This function supports one-pass calculation when used in the Data Section with a non-variable count.
|