OPEN-SOURCE SCRIPT

Volatility

已更新
Volatility - The amount of price deviation in the specified time interval.

The calculation is made from the opening point to the closing point, and the maximum and minimum deviation between them is also included. Any timeframes are supported.

Available information: the start date of the calculation (according to the time zone of the exchange), the current volatility from the initial opening point or from the last closing point, the total volatility for all periods.

An indicator of useful use in everyday work.

Thanks for your attention!

版本注释
Updating the code. Adding new parameters.
版本注释
Update for the chart.
版本注释
Code update:
- Fixed calculation starting point error
- Added check for the correctness of the calculation in the absence of time intervals

In markets where there are weekends, it is better to calculate by session when the market is open.
For example: 1H, EURUSD, FXCM, Calculation date: 28.08.2022 17:00 - 02.09.2022 17:00 (UTC-4).
版本注释
Code update. Adding the ability to resize a table.
版本注释
Minor changes. Added rounding to the tick accuracy of the displayed volatility in the table when choosing a deviation - "Pricing". Added more options for table management.
版本注释
Minor changes.
版本注释
Minor changes. Hours, minutes and seconds have been removed from the start time for calculating volatility on the daily, weekly and monthly charts.
版本注释
Minor changes.
版本注释
Updated chart.
informationmaxminopencloseoptionsstatisticstoolusefulVolatilityvolatilityindex

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明