Standard deviation measures how far numbers in a data set are spread out from an average value. In investing, it is used as a measurement of portfolio volatility.
Moving average envelopes are made by computing and displaying lines with a set percentage or standard deviation above and below a moving average of any type that forms a band around the MA.