OPEN-SOURCE SCRIPT

Symmetrically Weighted Moving Average

Updated
Symmetrically weighted moving average

Weight distribution starts from median of given period and it's reduced linearly to the sides so the ending and starting point of period have the least weight.
It's smooth and fast but reacts late to trend changes on higher lengths, it could be considered both advantage and disadvantage.
Release Notes
Removed redundant calculations.
Moving AveragesTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer