Variance vs Price
- Индикаторы
- Valerio Riggi
- Версия: 1.0
Calculate the Variance of prices on the chosen time frame and compare with the price range reached. Or in other words how mutch is price moving in the recent candles?
Two impots:
Candle = 4 (Default) number of previous candle to calculate
Backward = 500 (Default) How many candle to go backward
Variance is calculated as follow:
Variance(X) = Average(X2) – [Average(X)]2
Subsequently Variance is rapported to the price range fo the chosen period (i.e. 4 candles)
Pices taken on min and max values of the candlesIndicator = Variance(X) / (Max Price - Min Price)