OPEN-SOURCE SCRIPT

Best Volatility Calculator

7 109
Hello traders,

This indicator shows the average volatility, of last N Periods, for the selected time frames.

You can select up to 2 timeframes with this version

Volatility is defined as the close of current candle - close of the previous N candle

Presented as Currency, Pip, percentage labels in a panel below.
Will calculate in real-time only for the current instrument on the chart.

The indicator is coded to not be repainting

Example

In the indicator screenshot, I used a lookback period of 1.
That compares the current candle close versus the previous one for the daily and weekly timeframe

Showing how the results are calculated for the weekly calculations

Snapshot

Enjoy :)

Best regards
Dave

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.