OPEN-SOURCE SCRIPT

Exponential weighted volatility

1 860
Estimator of current annualized volatility that works for daily, weekly, monthly timeframes.
Lambda should be choosen inside the 0 to 1 range, with a lower lambda giving more weight to the movement in the most recent candlesticks. The literature default is 0.97, I'm setting a default value of 0.94 instead.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.