yatrader2

Ehler's Super Smoother 2 and 3 pole (properly initialized)

John Ehlers' Super Smoother 2 and 3 pole - properly initialized

www.stockspotter.com/files/Predic...

Failure to properly initialize early values of the super smoother will result in misleading values early in the output.
Because the SS is an IIR ( infinite impulse response) filter, this error can ring in the filter for a long time, but
is extremely evident in the first 2*len bars.

This is an implementation if the 2 and 3 pole SS filter, with special attention to initializing the early values.

It uses (src+scr)/2 per Ehlers but contains code to just use src if you prefer to calculate that outside
the function as everget does in his SS here: there is code included to make that change.

Many thanks to everget for his terrific implementations of much of John Ehlers' work. It has been tremendously helpful to me.
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?