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

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明