OPEN-SOURCE SCRIPT
Diupdate Nadaraya-Watson Dynamic Envelopes [identityKa]

Welcome to another premium-grade, free-to-use trading tool developed by identityKa.
The Nadaraya-Watson Dynamic Envelopes [identityKa] is a highly advanced, visually smooth overlay indicator designed to capture dynamic support and resistance zones. Instead of relying on traditional, jagged moving averages, this indicator utilizes a Gaussian-inspired smoothing technique (via an optimized ALMA mathematical engine) to wrap the price action in a flowing, highly responsive channel.
Whether you are a day trader looking for mean-reversion setups or a swing trader identifying macro tops and bottoms, this indicator provides crystal-clear visual guidance without cluttering your chart.
🔥 Key Features:
Dynamic Smoothing Engine: Creates non-jagged, flowing upper (resistance) and lower (support) bands that adapt to market volatility.
Mean Reversion Signals: Prints distinct triangle shapes (Red for Bearish, Green for Bullish) when the price action sharply interacts with the outer envelopes, highlighting high-probability reversal zones.
Smart HUD Dashboard: Includes a clean, fully customizable on-chart dashboard that displays the current engine status, price position relative to the midline, and a real-time AI Suggestion (LONG, SHORT, or Dangerous) based on the algorithmic state.
100% Customizable: Every aspect of the indicator, from bandwidth smoothness and multipliers to theme colors (featuring the signature identityKa neon palette) and dashboard positioning, can be adjusted in the settings menu.
💡 How to Trade with It:
Mean Reversion: Look for bullish (green) triangle signals when the price touches or pierces the lower green envelope for potential long entries. Conversely, look for bearish (red) triangle signals at the upper red envelope for short entries.
Trend Continuation: In strong trending markets, the midline (white) often acts as dynamic support/resistance.
Pro Tip: This indicator works best when combined with a primary trend filter (such as our Alpha SuperTrend Signal). Avoid taking reversal signals against a very strong macroeconomic trend unless confirmed by other Price Action concepts.
⚙️ Settings & Alerts:
The script comes with built-in alert conditions for both Support Bounces (Bullish) and Resistance Rejections (Bearish), allowing you to automate your workflow. All settings are globally accessible in English.
Elevate your chart quality. Trade with precision. Trade with identityKa.
The Nadaraya-Watson Dynamic Envelopes [identityKa] is a highly advanced, visually smooth overlay indicator designed to capture dynamic support and resistance zones. Instead of relying on traditional, jagged moving averages, this indicator utilizes a Gaussian-inspired smoothing technique (via an optimized ALMA mathematical engine) to wrap the price action in a flowing, highly responsive channel.
Whether you are a day trader looking for mean-reversion setups or a swing trader identifying macro tops and bottoms, this indicator provides crystal-clear visual guidance without cluttering your chart.
🔥 Key Features:
Dynamic Smoothing Engine: Creates non-jagged, flowing upper (resistance) and lower (support) bands that adapt to market volatility.
Mean Reversion Signals: Prints distinct triangle shapes (Red for Bearish, Green for Bullish) when the price action sharply interacts with the outer envelopes, highlighting high-probability reversal zones.
Smart HUD Dashboard: Includes a clean, fully customizable on-chart dashboard that displays the current engine status, price position relative to the midline, and a real-time AI Suggestion (LONG, SHORT, or Dangerous) based on the algorithmic state.
100% Customizable: Every aspect of the indicator, from bandwidth smoothness and multipliers to theme colors (featuring the signature identityKa neon palette) and dashboard positioning, can be adjusted in the settings menu.
💡 How to Trade with It:
Mean Reversion: Look for bullish (green) triangle signals when the price touches or pierces the lower green envelope for potential long entries. Conversely, look for bearish (red) triangle signals at the upper red envelope for short entries.
Trend Continuation: In strong trending markets, the midline (white) often acts as dynamic support/resistance.
Pro Tip: This indicator works best when combined with a primary trend filter (such as our Alpha SuperTrend Signal). Avoid taking reversal signals against a very strong macroeconomic trend unless confirmed by other Price Action concepts.
⚙️ Settings & Alerts:
The script comes with built-in alert conditions for both Support Bounces (Bullish) and Resistance Rejections (Bearish), allowing you to automate your workflow. All settings are globally accessible in English.
Elevate your chart quality. Trade with precision. Trade with identityKa.
Catatan Rilis
OverviewThe Nadaraya-Watson Dynamic Envelopes [identityKa] is a volatility-adjusted, mean-reversion indicator. Traditional Nadaraya-Watson estimators are notoriously prone to repainting, which makes them unreliable for real-time trading. This script solves that critical issue by utilizing a highly responsive Arnaud Legoux Moving Average (ALMA) to mimic the Gaussian smoothing of a Nadaraya-Watson kernel, resulting in a strictly non-repainting dynamic envelope.Underlying Concepts & CalculationsThe engine calculates the midline and the outer bands using two distinct mathematical components:The Smooth Midline (ALMA): Instead of a repainting kernel, the script calculates an ALMA on the closing price. The window size is dynamically derived from the user's "Bandwidth" input ($h \times 10$), with a fixed offset of 0.85. This ensures the midline is exceptionally smooth but heavily biased towards the most recent price action to reduce lag.Volatility Bands (ATR): The upper and lower envelopes are not fixed percentages. They are dynamically calculated using a 100-period Average True Range (ATR). The script multiplies this ATR value by the user-defined "Envelope Multiplier" and adds/subtracts it from the ALMA midline. This allows the bands to expand during high volatility and contract during consolidation.Dynamic Visualization & SignalsThe script visualizes structural boundaries and flags extreme mean-reversion zones:Reversal Buy/Sell Shapes: A mechanical signal is plotted when the price action pierces the envelopes. A Bullish Reversal is flagged when the low crosses under the lower band. A Bearish Reversal is flagged when the high crosses over the upper band.Zone Fills: The areas between the midline and the outer bands are shaded to visually represent the upper (resistance) and lower (support) halves of the current dynamic range.HUD Dashboard & AI State LogicTo streamline the decision-making process, the indicator features a customizable, on-chart HUD panel. The "AI Suggestion" evaluates the current closing price strictly relative to the volatility bands:LONG: Triggered when the current closing price is completely below the lower envelope (extreme oversold/deviation).SHORT: Triggered when the current closing price is completely above the upper envelope (extreme overbought/deviation).Dangerous: Displayed whenever the price is fluctuating inside the bands between the upper and lower limits, indicating a ranging or balanced state where edge is minimal.How to Use ItThis tool is exceptionally powerful for traders employing Price Action methodologies, particularly on 15-minute and 1-hour timeframes where intraday volatility creates distinct swings. Rather than trading blindly when a signal appears, traders should use the outer bands as dynamic Support/Resistance zones. When the AI Suggestion flashes "LONG" or "SHORT", wait for a confirming Price Action candlestick pattern (like a pin bar or engulfing candle) rejecting the envelope boundaries before executing a mean-reversion trade back toward the ALMA midline.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.