# Volatility factor

Column "**Volat.**" (volatility of cryptocurrencies) shows the amplitude of changes in the closing price relative to the selected timeframe. The higher the value, the higher the volatility.

<figure><img src="https://3464542099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZTABwQlZM4vDvLFKaqdc%2Fuploads%2FhC9HhLcty4t5EciY3Gjb%2F1.%20Volat%20column.png?alt=media&#x26;token=47b8cb2e-856c-4398-a2cf-78226ec1aa2c" alt=""><figcaption><p>Volatility value for a selected timeframe</p></figcaption></figure>

## Calculation of the volatility factor by timeframe:

| Timeframe | Period                                                                  |
| --------- | ----------------------------------------------------------------------- |
| **5m**    | using the value of **6** previous 5m candlesticks (range 30 min)        |
| **15m**   | using the value of **4** previous 15M candlesticks (range 60 min)       |
| **30m**   | using the value of **4** previous 30M candlesticks (range 120 min)      |
| **1h**    | using the value of **4** previous 1h candlesticks (range 240 min)       |
| **2h**    | using the value of **4** previous 2h candlesticks (range 480 min)       |
| **4h**    | using the value of **4** previous 4h candlesticks (range 960 min)       |
| **12h**   | using the value of **4** previous 12h candlesticks (range 2880 min)     |
| **1d**    | using the value of **4** previous 1d candlesticks (диапазон 5760 минут) |

## Volatility indicator Tradingview

You can visualize the volatility factor calculation as an indicator on the Tradingview chart.

### 1. Adding an indicator to the chart

Open the Tradingview chart window and click on the "Indicators" button.&#x20;

Enter the name of the indicator "Volatility" in the search box and select it from the list.

<figure><img src="https://3464542099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZTABwQlZM4vDvLFKaqdc%2Fuploads%2FLFH37VERPACu4WkwF66r%2F2.%20Add%20indicator.png?alt=media&#x26;token=e62d4a43-70c5-42b4-adce-5610af462786" alt=""><figcaption></figcaption></figure>

### 2. Setting indicator parameters

Indicator has default period settings that match the [table for calculating the volatility factor](#calculation-of-the-volatility-factor-by-timeframe) for timeframes.

{% hint style="info" %}
You don't need to manually set the parameters corresponding to the selected timeframe, the indicator itself changes the period for the desired timeframe
{% endhint %}

<figure><img src="https://3464542099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZTABwQlZM4vDvLFKaqdc%2Fuploads%2F1wjZxNZkmYV8YXYUeVOp%2F3.%20Choose%20arguments.png?alt=media&#x26;token=a7369b8f-9ca8-4fe9-a0a6-f1c42b873daf" alt=""><figcaption></figcaption></figure>

### 3. Setting precision

In the screener we round values depending on the timeframe. A higher timeframe, the lower precision value we use.&#x20;

For example, on timeframes 5,15,30m precision is **4** decimal places - `0.0001`&#x20;

You can set the precison in the indicator settings, in the Style tab.

<figure><img src="https://3464542099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZTABwQlZM4vDvLFKaqdc%2Fuploads%2FZcrCZQLRQTKkoPz9MLef%2F4.%20Choose%20precision.png?alt=media&#x26;token=e955abe2-d6f8-4fa5-ba53-f8d7e9cae195" alt=""><figcaption></figcaption></figure>

### 4. Comparison of the indicator values with the table

Compare the values obtained by the indicator with the table data to make sure you have set it up correctly.&#x20;

You can use the indicator to determine the exact parameters of the volatility values you are interested in to create [single](https://docs.cvizor.com/en/modules/signals/single) or [group](https://docs.cvizor.com/en/modules/signals/group-signals) signals.

<figure><img src="https://3464542099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZTABwQlZM4vDvLFKaqdc%2Fuploads%2FibjQ3xsdQqkkYLZ3Kcnq%2F5.%20Result.png?alt=media&#x26;token=29af3012-0532-41a7-b6e3-5bd2039ce356" alt=""><figcaption><p>The results of the indicator and the data from the screener table</p></figcaption></figure>
