Nadaraya-Watson Envelope

Oct 18, 2021

Static chart image
Repainting Functionality
Works on the following platforms:
tradingviewSymbolTradingView
For free use on the TradingView platform
ninjatraderNinjaTrader
For free use on the NinjaTrader platform
metatrader4MetaTrader 4
For free use on the MetaTrader 4 platform
metatrader5MetaTrader 5
For free use on the MetaTrader 5 platform
thinkorswimThinkorswim
For free use on the Thinkorswim platform

This innovative trading indicator builds upon the functionality of the Nadaraya-Watson smoothers, elevating it into an envelope indicator relying on Kernel Smoothing. Its standout feature is the integrated alert system triggered by crosses between price points and envelope extremities, catering to traders who favor a contrarian methodology.

The indicator offers a customizable experience but comes with a default setting that may lead to repainting. Users who wish to avoid repainting can choose a non-repainting smoothing method directly from the settings. The triangle labels included in this indicator enhance its real-time application utility.

How to Trade the Kernel Smoothing Envelope Indicator?

Understanding Non-Repainting Settings

indicator image

This tool helps traders identify extreme price levels by estimating the underlying price trend and calculating mean absolute deviations from it. This result is then added to or subtracted from the underlying estimated trend. The non-repainting method achieves this by employing an "endpoint Nadaraya-Watson estimator," delivering results akin to traditional band indicators.

Understanding Repainting Settings

indicator image

For those using the repainting method, it's based on the Nadaraya-Watson estimator to forecast the underlying price trend. The construction of band extremities mirrors the non-repainting approach. Price reversals are anticipated upon crossing envelope extremities, indicated by triangles on the chart. In real-time scenarios, these triangles are fixed at their initial appearance, providing consistent alerts regardless of envelope recalculations.

While alerts for price and envelope extremity crossings are a popular feature, we advise against relying solely on this method for real-time trading. There is currently no comparative data that suggests this indicator outperforms traditional band/envelope/channels indicators.

Customizing Your Indicator Settings

  • Bandwidth: Adjusts the smoothness of the envelopes, with higher values leading to smoother outcomes.
  • Mult: Sets the width of the envelope.
  • Source: Designates the input source for the indicator.
  • Repainting Smoothing: Determines whether a repainting or non-repainting method is used for the indicator's calculations.

Explore Related Scripts

For an in-depth look at the Nadaraya-Watson estimator, click the link below:

Explore Nadaraya-Watson Estimator Script

FAQ

How can I access the Kernel Smoothing Envelope Indicator?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

What does the "Band Range" setting do?

It determines the smoothness of the indicator; higher ranges provide a smoother appearance, which can aid in identifying long-term trends.

Can I use this indicator for day trading?

Yes, but it's recommended to use this tool alongside other indicators to confirm signals due to its contrarian approach.

Trading is risky and many will lose money in connection with trading activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other markets involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.

Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.

Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

As a provider of technical analysis tools for charting platforms, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content or tool we provide.

Charts used on this site are by TradingView in which the majority of our tools are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com. TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.

This does not represent our full Disclaimer. Please read our full disclaimer.

© 2025 LuxAlgo Global, LLC.