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
Bands and ChannelsMoving AveragesTrend Analysis

Script open-source

In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Vuoi usare questo script sui tuoi grafici?

Declinazione di responsabilità