OPEN-SOURCE SCRIPT

Candle Color Setup (SMA/EMA/VWMA/HMA/T3/WMA/VMA)

57


📘 Candle Coloring by Moving Average — Indicator Explanation (English)
This indicator colors candlesticks based on their position relative to a selected moving average. It helps traders visually identify bullish and bearish momentum by highlighting candles that are above or below the trend line.

🔧 Configurable Parameters
• Price Source: Choose which price to use for the moving average (e.g., close, open, hlc3).
• MA Type: Select from EMA, SMA, VWMA, HMA, Tilson, etc.
• MA Period: Set the number of bars used to calculate the moving average.
• Plot MA Line: Option to display the moving average on the chart.
• Buy Color: Candles above the MA are colored (e.g., blue).
• Sell Color: Candles below the MA are colored (e.g., red).
• Transparency: Adjust how visible the candle colors are (0 = solid, 100 = invisible).
• Tilson vFactor: If using Tilson MA, this controls the smoothing factor.

📈 How It Works
• When the candle’s close is above the moving average → it’s colored with the buy color.
• When the candle’s close is below the moving average → it’s colored with the sell color.
• The moving average acts as a dynamic trend filter, helping you spot directional bias at a glance.

🎯 How to Use It
• Use the colored candles to confirm trend direction.
• Combine with other indicators for entry/exit signals.
• Adjust MA type and period to match your strategy (e.g., short-term EMA for scalping, long-term SMA for swing trading).
• Use Tilson for smoother transitions if you prefer less noise.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.