OPEN-SOURCE SCRIPT
Updated

Trapezoidal Weighted Moving Average and Bollinger Bands

7 043
This weighting method linearly weights a percentage of values from both the beginning and the end of the rolling window in order to minimize the effect of outliers entering and leaving the window.
Release Notes
minor correction

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.