saolof

Slow/Smooth Exponential Moving Average [SEMA}

saolof Aktualisiert   
An almost impossibly smooth moving average that is convenient for any application where a moving average is needed and where noise reduction is more important than responsiveness to very recent data. You get to choose what the S stands for.

Built by taking a weighted difference between two EMA's in such a way that the contribution of the latest value is cancelled out, while staying a proper moving average with all weights greater than zero, and with the first moment picked to be the same for a given length as the sma. Still has a somewhat ema-like behaviour in the sense that old values are gradually forgotten over time.
Versionshinweise:
Made slight mathematical improvement: since the last valued is canceled out of the moving average it is possible to tune the formula to shift the moving average forward by one candle. This makes it slightly more responsive to recent movements without sacrificing noise reduction.

The old behavior can be regained by simply delaying the new version.
Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?