.
I have the following data from the S&P 500 index ranging from 1990-present. I need to do the following;
- identify all periods of market downturns and market upturns
- market upturn is defined as a period during which there is no downside move in the index greater than 20% and a downturn is defined as a period where there is a downside move greater than 20%.
- Ive started by identifying the peaks and troughs using the following formula =IF(AND((B2>B1),(B2>B3)),"peak",""), but Im not sure how to proceed/