StCogitans

Volatility

StCogitans Updated   
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!

Release Notes:
Updating the code. Adding new parameters.
Release Notes:
Update for the chart.
Release Notes:
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).
Release Notes:
Code update. Adding the ability to resize a table.
Release Notes:
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.
Release Notes:
Minor changes.
Release Notes:
Minor changes. Hours, minutes and seconds have been removed from the start time for calculating volatility on the daily, weekly and monthly charts.
Release Notes:
Minor changes.
Release Notes:
Updated chart.
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?

Related Ideas