OPEN-SOURCE SCRIPT
Nadaraya-Watson Envelope Alternative [CHE] Super Envelope

The problem of the wonderfuls Nadaraya-Watson indicators is that they repainting, so I use a John Ehlers’ 2-pole Butterworth filter “Super Smoother”. With this indicator you are able to make adjustments to the length and using the multiplier out and thus to make the analysis as good as possible.
Settings:
smoothing length: Determines the length of the Super Envelope.
Adjustable multiplier: Multiplier for the bands
Show middle band: On and off center line
Hide Disclaimer: Uncheck to hide the disclaimer
Usage
This tool outlines extremes made by the prices within the selected window size. This is achieved by estimating the underlying trend in the price using Ehlers Super smoothing, calculating the mean absolute deviations from it, and adding/subtracting it from the estimated underlying trend.
We can expect the price to reverse when crossing one of the envelope extremities. Crosses between the price and the envelopes extremities are indicated with triangles on the chart.
I have integrated alerts for this indicator from the crosses between the price and the envelope extremities. However, i do not recommend this tool to be used alone or solely for real time applications.
best regards
Chervolino
Settings:
smoothing length: Determines the length of the Super Envelope.
Adjustable multiplier: Multiplier for the bands
Show middle band: On and off center line
Hide Disclaimer: Uncheck to hide the disclaimer
Usage
This tool outlines extremes made by the prices within the selected window size. This is achieved by estimating the underlying trend in the price using Ehlers Super smoothing, calculating the mean absolute deviations from it, and adding/subtracting it from the estimated underlying trend.
We can expect the price to reverse when crossing one of the envelope extremities. Crosses between the price and the envelopes extremities are indicated with triangles on the chart.
I have integrated alerts for this indicator from the crosses between the price and the envelope extremities. However, i do not recommend this tool to be used alone or solely for real time applications.
best regards
Chervolino
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.