Description: This indicator plots Daily Standard deviation levels on price chart based on Historical Volatility (HV). It uses the most common approach for calculating historical volatility as standard deviation of logarithmic returns, based on daily closing/settlement prices.
Assets: Currency Pairs, Commodities, also works on stocks, some indices. Time Frames: 5min to 60min. This will also work on Daily Chart, by setting "DaystoExpire" to 21
Options:
Use Daily Data to Calculate StdDev HV (default), otherwise use the charts Time Frame
Lookback = number of days/periods to calculate stddev of HV (21 by default)
Annual = number of trading days in a calender year (252 by default)
Days to Expiry = number of days for the life of this option ( for auto calculation this is 1 for intraday, 21 for daily and annual when chart TF used)
Settlement Source = close price by default, can use another source.
Settlement Volume Weighted Average Length = by setting this to >1 then an average is used for settlement.
Display ### Standard Deviation Levels = select what levels are to be displayed.
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının yazarı komut dosyasını açık kaynak olarak yayınlamıştır, böylece yatırımcılar betiği anlayabilir ve doğrulayabilir. Yazar çok yaşa! Ücretsiz olarak kullanabilirsiniz, ancak bu kodun yayında yeniden kullanımı Ev kurallarına tabidir. Bir grafikte kullanmak için favorilere ekleyebilirsiniz.
Bu komut dosyasını bir grafikte kullanmak ister misiniz?
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.