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
Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать этот скрипт на графике?