Navigation: Realtest Script Language > Syntax Element Details > BBTrendF Category Multi-Bar Functions Description Bollinger band trend as a function Syntax BBTrendF(expr, len1, len2, mult) Parameters expr - data series formula len1 - first lookback period len2 - second lookback period mult - number of standard deviations Notes The BBTrend indicator always uses the series of closing prices for its calculations. This function makes it possible to calculate the Bollinger band trend of any series of values. This function supports one-pass calculation when used in the Data Section with a non-variable count. Copyright © 2020-2025 Systematic Solutions, LLC