Import stock prices

Moving Average Crossover

Bollinger Bands

How to interpret moving average crossover

How to interpret bollinger bands

Q1 Import S&P 500 Index.

Q2 Filter for the period between 2018-01-01 and 2018-11-28. Do this for both plots: the moving average crossover and the Bollinger Bands.

Q3 The stock market plummeted since its October high. If you followed the moving average crossover blindly, what should you have done since the last October? Buy or sell?

I would sell after the Daily average crossed bellow the 50 day moving average.

Q4 If you followed the Bollinger Bands instead, what should you have done since the last October? Buy or sell?

I would sell because the Daily close touches the Sd2up. The stocks are over sold. This indicates the stocks should shoot back up to the sma.

Q5 How effective is the Bollinger Bands? For example, would you have made profits by following the Bollinger Bands since the beginning of 2018? Explain.

The Bollinger bands are not realiable to predict the stock buy/sell points

Q6 Which of the two appears to be more appropriate for short-term?

Bollinger bands are a better short term tool for evaluating.

Q7 Construct the Bollinger Band plot of the Nasdaq Composite Index for the same period. Do this by copying and pasting the necessary code from the above. Would you have made profits by following the BB since the beginning of 2018?

If i was to follow the BB for the short term buying selling, then i would make a profit buy selling when the stock is over bought at the Sd2 up then buying at the sd2down when it is over bought.

Q8 (Continued from Q7) What would you consider changing to make it more effective?

I would push the date of the BB back a year to alter the historical time frame. I could also make the sd2up/down to sd3up/down for a larger comparisson.