OPEN-SOURCE SCRIPT
Keltner Channels + EMA 56 Colorizer

his indicator is a complete trend-following system designed to visually guide you through strong market trends by combining the volatility-based Keltner Channels with a medium-term 56-period Exponential Moving Average (EMA).
Instead of just plotting lines, this script repaints the chart's candles based on the current trend phase, allowing for split-second market context recognition. It also includes a built-in Multi-Timeframe (MTF) Dashboard to check trend alignment across higher timeframes without leaving your current chart.
How the Logic Works:
The indicator analyzes the relationship between the Keltner Channels boundaries and the 56 EMA:
Bullish Trend (Buy Zone): When the Lower Band of the Keltner Channel crosses above the 56 EMA. The market is in a strong uptrend, and candles are colored in bullish tones.
Bearish Trend (Sell Zone): When the Upper Band of the Keltner Channel crosses below the 56 EMA. The market is in a strong downtrend, and candles are colored in bearish tones.
Neutral Zone: When the EMA is trading inside the Keltner Channels. The market is consolidating or transitioning, and candles are colored in neutral (gray/black) tones.
Key Features:
Dynamic Candle Coloring: Total control over candle colors. The script distinguishes between up-candles (close > open) and down-candles (close < open) within each trend phase, giving you 18 independent color settings for bodies, borders, and wicks.
MTF Dashboard: A small, fully customizable table displayed on your chart showing the current signal (Buy, Sell, or Neutral) across 5 different timeframes. Perfect for top-down analysis.
Fully Customizable: You can adjust the Keltner Channel parameters (Length, Multiplier, ATR/True Range/Range style, SMA/EMA basis), the EMA length, and the dashboard position to fit your personal trading strategy.
Usage Tip:
Because this indicator draws custom colored candles over the chart to give you independent control over bodies, borders, and wicks, we highly recommend hiding the default chart candles.
How to hide: Right-click the chart background > Settings > Symbol > Uncheck "Body", "Borders", and "Wick" under the Candlesticks section.
Instead of just plotting lines, this script repaints the chart's candles based on the current trend phase, allowing for split-second market context recognition. It also includes a built-in Multi-Timeframe (MTF) Dashboard to check trend alignment across higher timeframes without leaving your current chart.
How the Logic Works:
The indicator analyzes the relationship between the Keltner Channels boundaries and the 56 EMA:
Bullish Trend (Buy Zone): When the Lower Band of the Keltner Channel crosses above the 56 EMA. The market is in a strong uptrend, and candles are colored in bullish tones.
Bearish Trend (Sell Zone): When the Upper Band of the Keltner Channel crosses below the 56 EMA. The market is in a strong downtrend, and candles are colored in bearish tones.
Neutral Zone: When the EMA is trading inside the Keltner Channels. The market is consolidating or transitioning, and candles are colored in neutral (gray/black) tones.
Key Features:
Dynamic Candle Coloring: Total control over candle colors. The script distinguishes between up-candles (close > open) and down-candles (close < open) within each trend phase, giving you 18 independent color settings for bodies, borders, and wicks.
MTF Dashboard: A small, fully customizable table displayed on your chart showing the current signal (Buy, Sell, or Neutral) across 5 different timeframes. Perfect for top-down analysis.
Fully Customizable: You can adjust the Keltner Channel parameters (Length, Multiplier, ATR/True Range/Range style, SMA/EMA basis), the EMA length, and the dashboard position to fit your personal trading strategy.
Usage Tip:
Because this indicator draws custom colored candles over the chart to give you independent control over bodies, borders, and wicks, we highly recommend hiding the default chart candles.
How to hide: Right-click the chart background > Settings > Symbol > Uncheck "Body", "Borders", and "Wick" under the Candlesticks section.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.