OPEN-SOURCE SCRIPT

Historical Volatility Percentile: Price and Volume

This is an expansion of the Historical Volatility scripts to include both price and volume volatility.

As Tradingview states:
Historical Volatility is a measure of how much price (and now volume ) deviates from its average in a specific time period that can be set. The more price (or/and volume ) fluctuates, the higher the indicator value. Please note it does not measure the direction of price (and volume ) changes, just how volatile price/ volume has become. There are several reasons to care about volatility but it's mainly a risk measure. As volatility increases, so does risk and uncertainty and vice versa. Traders can use the indicator to flag instruments with high volatility which could point to a trend change. It is often used in combination with other signals.

Example options
快照

Example formats
快照

Link back to some other great ideas:
@Cheatcountry with his prolific sharing, what a great inspiration.
@Picte and his inspired idea.
@Balipour and his great script


Comparing this to other significant HVP indicators
快照
發行說明
Updating to Pinescript Version 5, added titles
Thanks Zettt
Historical VolatilityVolatilityVolume

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明