OPEN-SOURCE SCRIPT
Telah dikemas kini Moving Average Candles

**Moving Average Candles — MA-Based Smoothed Candlestick Overlay**
This script replaces traditional price candles with smoothed versions calculated using various types of moving averages. Instead of plotting raw price data, each OHLC component (Open, High, Low, Close) is independently smoothed using your selected moving average method.
---
### 📌 Features:
- Choose from 13 MA types: `SMA`, `EMA`, `RMA`, `WMA`, `VWMA`, `HMA`, `T3`, `DEMA`, `TEMA`, `KAMA`, `ZLEMA`, `McGinley`, `EPMA`
- Fully configurable moving average length (1–1000)
- Color-coded candles based on smoothed Open vs Close
- Works directly on price charts as an overlay
---
### 🎯 Use Cases:
- Visualize smoothed market structure more clearly
- Reduce noise in price action for better trend analysis
- Combine with other indicators or strategies for confluence
---
> ⚠️ **Note:** Since all OHLC values are based on moving averages, these candles do **not** represent actual market trades. Use them for trend and structure analysis, not trade entries based on precise levels.
---
*Created to support traders seeking a cleaner visual representation of price dynamics.*
This script replaces traditional price candles with smoothed versions calculated using various types of moving averages. Instead of plotting raw price data, each OHLC component (Open, High, Low, Close) is independently smoothed using your selected moving average method.
---
### 📌 Features:
- Choose from 13 MA types: `SMA`, `EMA`, `RMA`, `WMA`, `VWMA`, `HMA`, `T3`, `DEMA`, `TEMA`, `KAMA`, `ZLEMA`, `McGinley`, `EPMA`
- Fully configurable moving average length (1–1000)
- Color-coded candles based on smoothed Open vs Close
- Works directly on price charts as an overlay
---
### 🎯 Use Cases:
- Visualize smoothed market structure more clearly
- Reduce noise in price action for better trend analysis
- Combine with other indicators or strategies for confluence
---
> ⚠️ **Note:** Since all OHLC values are based on moving averages, these candles do **not** represent actual market trades. Use them for trend and structure analysis, not trade entries based on precise levels.
---
*Created to support traders seeking a cleaner visual representation of price dynamics.*
Nota Keluaran
Update previewSkrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.