Daveatt

Best Volatility Calculator (Multi Instruments)

Hello traders

A bit of context

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

This is an alternative version of my Best Volatility Calculator
The other version is displayed on a panel below. This one overlays on the chart using the "overlay=true" setting

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

You can select up to 2 timeframes with this version

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 look like using FOREX instruments (where using the PIPS labels make more sense than with cryptocurrency assets)


Best regards
Dave

👨‍💻 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
Script open-source

Dans le véritable esprit de TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par le règlement. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser ce script sur un graphique ?