OPEN-SOURCE SCRIPT

Best Volatility Calculator

By Daveatt
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
alertsautoviewdaveattlabelspipsstrategytradingviewTrend AnalysisVolatilityVolume
Daveatt
👨‍💻 Need help you with your FTMO/TopStep verif?

⭐️ Listed as TradingView Trusted Pine Programmer

📧 dave@best-trading-indicator

Telegram: Daveatt

⏩ Course: best-trading-indicator.com

Twitter: twitter.com/bti_trading

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer