標準差
From FxCodeBaseWiki
標準差是測定與均價有關的波動率的一種方法。
標準差低說明所有價格都與均價非常接近,標準差高說明報價在較大的值範圍內變化。
標準差的計算方法是,每個時間週期的收盤價與均價差值的平方和除以時間週期數,然後再開方。
公式為:
<math>\operatorname{StdDev} = \sqrt\dfrac{{\sum_{i=1}^N}({Close_{i} - Avg})^2}{N}</math>
其中:
<math>\operatorname{N}</math> 是用於計算的時間週期數;
<math>\operatorname{Close_i}</math> 是一個時間週期的收盤價;
<math>\operatorname{Avg}</math> 是透過公式計算出的均價:
<math>\operatorname{Avg} = \dfrac{{\sum_{i=1}^N}{Close_{i}}}{N}</math>
其他語言版本
Language: | English • español • français • русский • 中文 • 中文(繁體) |
---|