Question
(a) Set up a spreadsheet to calculate the 26-wwek moving average of the index. Set the value of the index at the beginning of the
(a) Set up a spreadsheet to calculate the 26-wwek moving average of the index. Set the value of the index at the beginning of the sample period equal to 100. The index value in each week is then updated by multiplying the previous week's level by (1 + rate of return over previous week).
(b) Identify every instance in which the index crosses through its moving average from below. In how many of the weeks following a cross-through does the index increase? Decrease?
(c) Identify every instance in which the index crosses through its moving average from above. In how many of the weeks following a cross-through does the index increase? Decrease?
(d) How well does the moving-average rule perform in identifying buy or sell?
Week | S&P rate |
2003.52 | |
2004.01 | 1.64 |
2004.02 | 0.17 |
2004.03 | -0.82 |
2004.04 | 0.85 |
2004.05 | 0.59 |
2004.06 | -0.21 |
2004.07 | 0.12 |
2004.08 | 1.19 |
2004.09 | -3.27 |
2004.1 | -1.00 |
2004.11 | -0.03 |
2004.12 | 3.25 |
2004.13 | -0.23 |
2004.14 | -0.47 |
2004.15 | 0.47 |
2004.16 | -2.97 |
2004.17 | -0.91 |
2004.18 | 0.07 |
2004.19 | -0.20 |
2004.2 | 2.77 |
2004.21 | 0.11 |
2004.22 | 1.21 |
2004.23 | -0.27 |
2004.24 | 0.19 |
2004.25 | -0.85 |
2004.26 | -1.02 |
2004.27 | -0.92 |
2004.28 | -1.57 |
2004.29 | 1.72 |
2004.3 | -3.60 |
2004.31 | 0.32 |
2004.32 | 3.07 |
2004.33 | 0.88 |
2004.34 | 0.59 |
2004.35 | 0.85 |
2004.36 | 0.50 |
2004.37 | -1.49 |
2004.38 | 1.96 |
2004.39 | -1.00 |
2004.4 | -1.11 |
2004.41 | -1.13 |
2004.42 | 2.91 |
2004.43 | 3.61 |
2004.44 | 1.29 |
2004.45 | -0.86 |
2004.46 | 0.79 |
2004.47 | 0.76 |
2004.48 | 0.06 |
2004.49 | 0.57 |
2004.5 | 1.11 |
2004.51 | 0.08 |
2004.52 | -2.01 |
2005.01 | -0.17 |
2005.02 | -1.24 |
2005.03 | 0.56 |
2005.04 | 2.38 |
2005.05 | 0.45 |
2005.06 | -0.32 |
2005.07 | 0.87 |
2005.08 | 1.07 |
2005.09 | -1.91 |
2005.1 | -1.15 |
2005.11 | -1.18 |
2005.12 | 0.25 |
2005.13 | 0.48 |
2005.14 | -3.26 |
2005.15 | 1.24 |
2005.16 | 0.16 |
2005.17 | 1.15 |
2005.18 | -1.17 |
2005.19 | 2.93 |
2005.2 | 0.96 |
2005.21 | -0.09 |
2005.22 | 0.05 |
2005.23 | 1.37 |
2005.24 | -1.96 |
2005.25 | 0.46 |
2005.26 | 1.49 |
2005.27 | 1.26 |
2005.28 | 0.57 |
2005.29 | 0.16 |
2005.3 | -0.69 |
2005.31 | 0.14 |
2005.32 | -0.47 |
2005.33 | -1.39 |
2005.34 | 1.24 |
2005.35 | 1.91 |
2005.36 | -0.46 |
2005.37 | -1.67 |
2005.38 | 1.32 |
2005.39 | -2.79 |
2005.4 | -0.78 |
2005.41 | -0.45 |
2005.42 | 1.41 |
2005.43 | 1.93 |
2005.44 | 1.35 |
2005.45 | 1.10 |
2005.46 | 1.60 |
2005.47 | -0.22 |
2005.48 | -0.41 |
2005.49 | 0.55 |
2005.5 | 0.31 |
2005.51 | -1.77 |
2005.52 | 3.15 |
2006.01 | 0.19 |
2006.02 | -2.10 |
2006.03 | 2.04 |
2006.04 | -1.76 |
2006.05 | 0.29 |
2006.06 | 1.72 |
2006.07 | 0.47 |
2006.08 | -0.50 |
2006.09 | -0.13 |
2006.1 | 1.99 |
2006.11 | -0.32 |
2006.12 | -0.29 |
2006.13 | -0.23 |
2006.14 | -0.64 |
2006.15 | 1.90 |
2006.16 | 0.24 |
2006.17 | 0.80 |
2006.18 | -2.48 |
2006.19 | -1.66 |
2006.2 | 1.01 |
2006.21 | 0.48 |
2006.22 | -2.83 |
2006.23 | -0.12 |
2006.24 | -0.17 |
2006.25 | 2.29 |
2006.26 | -0.53 |
2006.27 | -2.44 |
2006.28 | 0.34 |
2006.29 | 3.25 |
2006.3 | 0.17 |
2006.31 | -0.93 |
2006.32 | 2.89 |
2006.33 | -0.67 |
2006.34 | 1.23 |
2006.35 | -0.86 |
2006.36 | 1.73 |
2006.37 | -0.38 |
2006.38 | 1.61 |
2006.39 | 1.08 |
2006.4 | 1.20 |
2006.41 | 0.15 |
2006.42 | 0.78 |
2006.43 | -1.00 |
2006.44 | 1.25 |
2006.45 | 1.58 |
2006.46 | -0.05 |
2006.47 | -0.09 |
2006.48 | 0.85 |
2006.49 | 0.65 |
2006.5 | -1.11 |
2006.51 | 0.62 |
2006.52 | -0.76 |
2007.01 | 1.92 |
2007.02 | -0.29 |
2007.03 | -0.48 |
2007.04 | 1.88 |
2007.05 | -0.60 |
2007.06 | 1.24 |
2007.07 | -0.29 |
2007.08 | -4.57 |
2007.09 | 1.52 |
2007.1 | -1.21 |
2007.11 | 3.51 |
2007.12 | -0.97 |
2007.13 | 1.58 |
2007.14 | 0.74 |
2007.15 | 2.27 |
2007.16 | 0.61 |
2007.17 | 0.93 |
2007.18 | -0.03 |
2007.19 | 1.16 |
2007.2 | -0.61 |
2007.21 | 1.57 |
2007.22 | -1.97 |
2007.23 | 1.78 |
2007.24 | -1.64 |
2007.25 | -0.08 |
2007.26 | 1.70 |
2007.27 | 1.22 |
2007.28 | -0.87 |
2007.29 | -5.46 |
2007.3 | -0.90 |
2007.31 | 0.63 |
2007.32 | 0.00 |
2007.33 | 2.51 |
2007.34 | -0.50 |
2007.35 | -1.03 |
2007.36 | 1.94 |
2007.37 | 2.55 |
2007.38 | 0.40 |
2007.39 | 2.14 |
2007.4 | 0.31 |
2007.41 | -4.26 |
2007.42 | 2.63 |
2007.43 | -1.57 |
2007.44 | -4.01 |
2007.45 | 0.45 |
2007.46 | -1.14 |
2007.47 | 3.15 |
2007.48 | 1.52 |
2007.49 | -2.48 |
2007.5 | 1.18 |
2007.51 | -0.56 |
2007.52 | -4.06 |
2008.01 | -0.82 |
2008.02 | -5.77 |
2008.03 | 0.75 |
2008.04 | 4.91 |
2008.05 | -4.67 |
2008.06 | 1.56 |
2008.07 | 0.35 |
2008.08 | -1.32 |
2008.09 | -3.08 |
2008.1 | -0.07 |
2008.11 | 2.41 |
2008.12 | -0.43 |
2008.13 | 4.09 |
2008.14 | -2.56 |
2008.15 | 3.82 |
2008.16 | 0.81 |
2008.17 | 1.37 |
2008.18 | -1.85 |
2008.19 | 2.70 |
2008.2 | -3.52 |
2008.21 | 1.96 |
2008.22 | -2.89 |
2008.23 | -0.11 |
2008.24 | -2.87 |
2008.25 | -3.08 |
2008.26 | -0.96 |
2008.27 | -1.95 |
2008.28 | 1.72 |
2008.29 | -0.40 |
2008.3 | 0.55 |
2008.31 | 2.54 |
2008.32 | 0.62 |
2008.33 | -0.40 |
2008.34 | -0.66 |
2008.35 | -3.40 |
2008.36 | 1.35 |
2008.37 | -0.99 |
2008.38 | -2.63 |
2008.39 | -8.70 |
2008.4 | -19.79 |
2008.41 | 5.33 |
2008.42 | -6.63 |
2008.43 | 11.25 |
2008.44 | -3.07 |
2008.45 | -7.71 |
2008.46 | -8.19 |
2008.47 | 13.29 |
2008.48 | -2.39 |
2008.49 | 1.20 |
2008.5 | -0.09 |
2008.51 | -1.17 |
2008.52 | 6.66 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started