The statistical variance of a price series over N periods — the square of the standard deviation.
Variance is a statistical measure of the dispersion of prices. It is the square of the standard deviation. It rises as volatility grows. Less intuitive than StdDev, since its values are not in the same units as price, but mathematically useful as a component of other calculations.
Formula:
Variance = SUM((Close - SMA(Close, n))^2, n) / n
Parameter Type Default Range / Values Periodint 20 1-200
Trigger Direction Condition Description Level cross up 🟢 Buy The indicator value crossed the set level from below. The variance value crosses the configurable Level from below. Level is set in the trigger parameters. Level cross down 🔴 Sell The indicator value crossed the set level from above. The variance value crosses the Level from above. Level is set in the trigger parameters. Value above level by N 🟢 Buy The indicator value rose above the level by a set distance. The variance value crosses the Level + Distance mark, moving upward. The distance delays entry until the level breakout is confirmed. Value below level by N 🔴 Sell The indicator value dropped below the level by a set distance. The variance value crosses the Level − Distance mark, moving downward. Value rising 🟢 Buy The indicator value is rising relative to the previous bar. The variance value on the current bar is higher than on the previous one — upward momentum. Value falling 🔴 Sell The indicator value is declining relative to the previous bar. The variance value on the current bar is lower than on the previous one — downward momentum. Fires on every declining bar. Slope turns positive 🟢 Buy The indicator’s slope turned positive — an upward reversal. The variance value changes its slope from descending to ascending — the indicator has stopped falling and started rising. Slope turns negative 🔴 Sell The indicator’s slope turned negative — a downward reversal. The variance value changes its slope from ascending to descending — the indicator has stopped rising and started falling.
Parameter Type Default Range / Values Level (Value above level by N, Value below level by N, Level cross up, Level cross down)float 0 Distance (Value above level by N, Value below level by N)float 0 0>