OPEN-SOURCE SCRIPT

Natenberg's Volatility

This indicator is historical volatility indicator created by Sheldon Natenberg, as the standard deviation of the logarithmic price changes measured at regular intervals of time.
In Mr. Natenberg's book, Option Volatility & Pricing, he covers volatility in detail and gives the formula for computing historical volatility.

My changes:
I didn't changed formula, i just added smooth version of volatility it can be used as trigger when cross(over/under) non-smoothed volatility.

Note:
There is two formulas for daily and weekly. Indicator showing only daily formula!
Who wants to display the weekly formula change line 17, namely remove "//"

Enjoy!
natenbergVolatility

開源腳本

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

想在圖表上使用此腳本?

免責聲明