alexgrover

Double Exponential Smoothing

alexgrover Wizard アップデート済   
Single Exponential Smoothing (ema) does not excel in following the data when there is a trend. This situation can be improved by the introduction of a second equation with a second constant gamma.

The gamma constant cant be lower than 0 and cant be greater than 1, higher values of gamma create less lag while preserving smoothness.Higher values of length must be followed by higher values of gamma in order to keep the lag low.

The first smoothing part consist of a classic ema but we add s-s1 to the previous smoothed value, this will help decrease lag.The second smoothing part then updates the trend, which is expressed as the difference between the last two values.
リリースノート:
Single Exponential Smoothing (ema) does not excel in following the data when there is a trend. This situation can be improved by the introduction of a second equation with a second constant gamma.

Like alpha, the gamma constant cant be lower than 0 and cant be greater than 1, higher values of gamma create less lag while preserving smoothness.Lower values of alpha must be followed by higher values of gamma in order to keep the lag low.

The first smoothing part consist of a classic ema but we add s-s1 to the previous smoothed value, this will help decrease lag.The second smoothing part then updates the trend, which is expressed as the difference between the last two values.
リリースノート:
alpha instead of length is added

Check out the indicators we are making at luxalgo: www.tradingview.com/u/LuxAlgo/
オープンソーススクリプト

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

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

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