Stock Exchange and Market Analysis
Technical Analysis (8)
SMAn t : n-day simple moving average on day t (Simple Moving Average, Ref.1)
SMAnt = (Ct + Ct-1 + … + Ct-n+1) / nMDn t : n day standard deviation of the tth day (Standard deviation)
MDn t
= square root ((C t - SMAn t ) 2 +(C t-1 - SMAn t ) 2 +...+(C t-n+1 - SMAn t ) 2 )/n)
C t : the closing price of the tth day
UPn t : the upper limit of the Bollinger Band on the tth day
UPnt = SMAnt + 2 * MDnt
DNn t : the lower limit of the Bollinger Band on the nth day of the tth day
DNnt = SMAnt - 2 * MDnt
%BBn t : n-day Bollinger limit value on day t
BBN% t = (100 t - Don t ) / (UPN t - Don t )
Wn t : nth day Bollinger Band width indicator on day t
Wnt = (UPnt - DNnt) / SMAnt
If you want to know more about the usage of these technical indicators, please refer to the explanation on Ref.2. Finally, in order to facilitate the readers to use the Bollinger Band indicators, the author still uses the model of Juyang to continue to produce analytical samples in Excel format. Reader's reference:
template8.xlsx
This sample provides data for the period 2003/1 / 22-2014 / 01/20 calculated SMAn 10 days and 20 days t , MDn t , UPn t , Dnn t ,% BBn t , Wn t . If left error also requested Do not correct me, so that the information compiled can be more accurate and useful. Thank you! In addition, the author has produced various indicators for stock analysis (moving average, RSI, BIAS, stochastic KD line, William indicator, MACD and Bollinger band, etc.). The EXCEL spreadsheet is for readers' reference and further produces candlestick diagrams and other technical indicator line diagrams on the same chart. Interested readers can refer to Ref.3. Stay tuned.
Reference (Ref):
1. Stock technical analysis (2) - How to use Excel to produce individual stock technical indicators - moving average and deviation rate
2. Wikipedia: Bollinger Bands (BBands )
3. Investment Financial Notes - Stock Technical Analysis
No comments:
Post a Comment