OPEN-SOURCE SCRIPT
4 WMA's

4 WMA's plots four Weighted Moving Averages on the chart at once, giving a quick multi-timeframe view of trend direction and momentum.
By default the lengths are 21, 55, 100 and 200, so you get a short-term, medium-term and two longer-term averages in a single overlay indicator. Each length is fully configurable in the settings.
Unlike a simple moving average, a Weighted Moving Average (WMA) assigns more weight to recent prices, so it reacts faster to price changes while still smoothing out noise. This makes the WMA useful for spotting trend shifts a bit earlier than an SMA.
How to use it:
- When price is above all four WMAs and they are stacked in order (fastest on top), the trend is strongly bullish.
- When price is below all four and they are stacked in reverse, the trend is strongly bearish.
- Crossovers between the faster and slower WMAs can be used as trend-change signals.
All lengths, colors and line widths can be adjusted in the indicator settings. Works on any symbol and timeframe.
By default the lengths are 21, 55, 100 and 200, so you get a short-term, medium-term and two longer-term averages in a single overlay indicator. Each length is fully configurable in the settings.
Unlike a simple moving average, a Weighted Moving Average (WMA) assigns more weight to recent prices, so it reacts faster to price changes while still smoothing out noise. This makes the WMA useful for spotting trend shifts a bit earlier than an SMA.
How to use it:
- When price is above all four WMAs and they are stacked in order (fastest on top), the trend is strongly bullish.
- When price is below all four and they are stacked in reverse, the trend is strongly bearish.
- Crossovers between the faster and slower WMAs can be used as trend-change signals.
All lengths, colors and line widths can be adjusted in the indicator settings. Works on any symbol and timeframe.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.