This script calculates upper and lower bands using Chebyshev's inequality formula.
The main pros.: the band doesn't depend on particular distribution. It fits to any type of random variables. Also it allows to calculate bands for instruments with extremely high volatility.
Cons.: formula provides a rough estimation in some special cases like lognormal distribution.