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.