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の精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項