OPEN-SOURCE SCRIPT

Tunable SWMA

Updated
Dissected the standard SWMA function and added options for user to change just about every part of it. Weights ,Lookback ,Source can all be changed in the settings.
Green is the standard SWMA, Using the Input value selected.(MAs/LRC/VWAP)
Red is the tuned SWMA, with the option of applying a final Output filter (MAs/LRC/VWAP). Uses 8 datapoints instead of 4 for the default.
Customization can really help expand upon the standard SWMA I find. Enjoy tuning to your hearts content
Release Notes
Added more data inputs
Added ability to use ta.highest/ta.lowest for the new values added above
Added More Weight Selections
Updated header
curvedlinescustomisablecustomizableExponential Moving Average (EMA)settingsSimple Moving Average (SMA)Smoothed Moving Average (SMMA)SWMAtweakweightedweighting

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