Exponential Smoothing Filter

Here are some additional key points about the exponential moving average:
- The EMA can react more quickly to price changes because it can give more weight to current prices - depending on your parameter settings.
- Short-term, disruptive price fluctuations are smoothed out well, making prevailing trends more visible.
- Despite good smoothing properties, it delays the input values slightly, so it can follow sudden trend changes well.
- The EMA is well suited to dynamic markets and trading strategies.
- The filter is a good basis for further processing such as gradient analysis.
[u]How to use[/u]
When you add the script to your charts, you'll immediately see a thin [color=orange]orange line[/orange] across your time series, smoothing out price fluctuations.
There are only two parameters to set
- smoothing factor between 0.0000 = no smoothing and 0.9999 = strong smoothing
- input source: open, high, low, close hl2, etc.
[u]Chart output[/u]
In the example chart above, you can see that the orange line follows the highs and lows better than the [color=blue]blue line[/color], which is a simple moving average (SMA).
Additionally, the orange line has a shorter lag, or reacts faster when the trend of the original price data suddenly changes. These characteristics are critical for buying and selling decisions: quickly reacting and tracking highs and lows while providing a smooth line that filters out distracting noise.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.
Declinazione di responsabilità
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Per un accesso rapido a un grafico, aggiungi questo script ai tuoi preferiti: per saperne di più clicca qui.