Question: how to calculate the standard deviation of returns?
Answer: Calculate the average (mean) price for the number of periods or observations.
Determine each period's deviation (close less average price).
Square each period's deviation.
Sum the squared deviations.
Divide this sum by the number of observations.