The historical volatility is simply the standard deviation of the Index Total Returns $//$ within a certain time period.
where   $//$ is the index total return at time  $//$ and  $//$ is the mean total return over period . $//$