OPEN-SOURCE SCRIPT

Custom Moving Average Lines

Heylo!

This is a script for basic market trend analysis using moving average lines. It features eight lines with eight choices of moving averages and adjustable sources & time periods. The choice of moving averages are stated below:

1. Simple Moving Average (sma)
2. Exponential Moving Average (ema)
3. Weighted Moving Average (wma)
4. Relative Moving Average (rma)
5. Hull Moving Average (hma)
6. Sine-Weighted Moving Average (swma)
7. Volume Weighted Moving Average (vwma)
8. Volume Weighted Average Price (vwap)

Planning on including other formula based indicators soon. Let me know if there can be some improvements made / errors so I can fix it.

Cheers!
almaMoving AveragesrmasmaTrend AnalysisVolume

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