saolof

Slow/Smooth Exponential Moving Average [SEMA}

saolof Mis à jour   
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.
Notes de version:
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.
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?