# Cycles

## Introduction

A cycle is an event, such as a price high or low, which repeats itself on a regular basis. Cycles exist in the economy, nature and the financial markets. The basic business cycle encompasses an economic downturn, bottom, economic upturn and top. Cycles in nature include the four seasons and solar activity (11 years). Cycles are also part of technical analysis of the financial markets. Cycle theory asserts that cyclical forces, both long and short, drive price movements in the financial markets.

Price and time cycles are used to anticipate turning points. Lows are normally used to define cycle length and then project future cycle lows. Even though there is evidence that cycles do indeed exist, cycles change over time and even disappear at times. While this may sound discouraging, trend is the same way. There is indeed evidence that markets trend. but not all the time. Trend disappears when markets move into a trading range and reverses when prices change direction. Cycles can also disappear and even invert. Do not expect cycle analysis to pinpoint reaction highs or lows. Instead, cycle analysis should be used in conjunction with other aspects of technical analysis to anticipate turning points.

## The Perfect Cycle

The image below shows a perfect cycle with a length of 100 days. Not all cycles are this well-defined. This is just a blueprint for the ideal cycle. The first peak is at 25 days and the second peak is at 125 days (125 - 25 = 100). The first cycle low is at 75 days and the second cycle low is at 175 days (also 100 days later). Notice that the cycle crosses the X-axis at 50, 100 and 150, which is every 50 points or half a cycle.

**Crest**: Cycle high**Trough**: Cycle low**Phase**: Position of cycle on particular point in time. This cycle is at .95 on day 20.**Inflection Point**: This is where the cycle line crosses the X-axis.**Amplitude**: Height of the cycle from X-axis to peak or trough.**Length**: Distance between cycle highs or cycle lows

## Cycle Characteristics

*Cycle Length*: Lows are usually used to define the length of a cycle and project the cycle into the future. A cycle high can be expected somewhere between the cycle lows.

*Translation*: Cycles almost never peak at the exact midpoint nor trough at the expected cycle low. Most often, peaks occur before or after the midpoint of the cycle. Right translation is the tendency of prices to peak in the latter part of the cycle during bull markets. Conversely, left translation is the tendency of prices to peak in the front half of the cycle during bear markets. Prices tend to peak later in bull markets and earlier in bear markets.

*Harmonics*: Larger cycles can be broken down into smaller, and equal, cycles. A 40-week cycle divides into two 20-week cycles. A 20-week cycle divides into two 10-week cycles. Sometimes a larger cycle can divide into three or more parts. The inverse is also true. Small cycles can multiply into larger cycles. A 10-week cycle can be part of a larger 20-week cycle and an even larger 40-week cycle.

*Nesting*: A cycle low is reinforced when several cycles signal a trough at the same time. The 10-week, 20-week and 40-week cycles are nesting when they all trough at the same time.

*Inversions*: Sometimes a cycle high occurs when there should be a cycle low and visa versa. This can happen when a cycle high or low is skipped or is minimal. A cycle low may be short or almost non-existent in a strong uptrend. Similarly, markets can fall fast and skip a cycle high during sharp declines. Inversions are more prominent with shorter cycles and less common with longer cycles. For instance, one could expect more inversions with a 10-week cycle than a 40-week cycle.

## Data Categories

The data points on a price chart can be split into three categories: **trending, cyclical or random**. Trending data points are part of a sustained directional move, usually up or down. Cyclical data points are recurring diversions from the mean. Diversions occur when prices move above or below the mean. Random data points are noise, usually caused by intraday or daily volatility.

Cycles can be found by removing trend and random noise from the price data. Random data points can be removed by smoothing the data with a moving average. The trend can be isolated by de-trending the data. This can be done by focusing on movements above and below a moving average. Alternatively, the **Detrended Price Oscillator** can be used (see below).

## Steps to Find Cycles

**1.** Set chart to log scale. (This option can be found under "chart attributes.")

When looking for cycles, it is important to view price changes in percentage terms instead of absolute terms. On an arithmetic scale, an advance from 100 to 200 will look the same as an advance from 300 to 400. Even though both advances are 100 points, they are much different in percentage terms. A move from 100 to 200 is +100%, while a move from 300 to 400 is +33.3%. On a log scale, the move from 100 to 200 will appear much larger than the move from 300 to 400. This is because the percentage change from 100 to 200 is three times larger. A log scale chart is needed to properly compare price action over a long time period with larger price changes.

**2.** Smooth the price series with a short simple moving average. This is to eliminate the random noise and focus on the general movements. A short 5-day SMA is often adequate. Smoothing also helps to define reaction lows when volatility is high, such as October-November 2008 in the chart below.

**3.** Visually analyze the charts for possible cycle lows. This is perhaps the easiest way to find cycles. Find a few lows that appear to have the same cycle length and extend that cycle into the future.

**4.** Detrend the price series to focus on cycle lows. Detrending can be done with the Detrended Price Oscillator (DPO). This indicator is based on a centered moving average, in other words, a moving average that has been displaced to the left by a factor (N/2 + 1). A 20-day DPO would be based on a 20-day moving average displaced to the left (past) by 11 days [(20/2 + 1) = 11)]. DPO would then be the closing price less the value of the displaced moving average. The resulting oscillator reflects price movements above and below this displaced moving average. We can then use oscillator dips to identify a cycle. Notice that the DPO ends before the last price. This is because the moving average is displaced and the DPO aligns with the displaced moving average. It often helps to set the DPO in line with the cycle length. Use a 10-period DPO when looking for 10-day cycle lows or a 40-day DPO when looking for 40-day cycle lows. The chart below shows the S&P 500 with the Detrended Price Oscillator and Cycle Lines Tool. The chart is shown in log scale to view the movements as percentages. SPX is shown as a 5-day SMA that is displaced 3 days. This puts the plot in the middle of the moving average period. Visual analysis suggests that there is a three month cycle at work. Therefore, the Detrended Price Oscillator is set at 65 days to confirm the suspected cycle. The Detrended Price Oscillator turns negative every few months to confirm a recurring cycle at work. The blue arrows show the initial estimates for the 65-day cycle. The Cycle Lines Tool is then applied to evenly spread the cycles and project into the future.

## Calendar Cycles

As its name suggests, the Presidential Cycle is based on the first and second half of the Presidential term. This cycle is not infallible, but it has produced good results over the last 50 years. Stocks tend to rise in general, but the S&P 500 rose more during the second half of the President's term than the first half. The chart below shows the S&P 500 with the Presidential Cycle over the last 20 years. It starts with Reagan's first two years (1981-1982) and ends with Obama's first year (2009).

Yale Hirsch, founder of the Stock Trader's Almanac. discovered the six month cycle in 1986. This cycle is one of the more popular on Wall Street. The bullish period extends from November to April and the bearish period extends from May to October. "Go away and sell in May" comes from this cycle. Sy Harding took the Six-Month and Presidential Cycles further by adding MACD for timing. **Basically, buy when both cycles are bullish and MACD turns positive. Sell when both cycles are bearish and MACD turns negative.** This is a great example of using other indicators in conjunction with cycles to improve performance.

## Conclusions

Once identified and understood, cycles can add significant value to the technical analysis tool box. Cycles are not perfect though. Some will miss, some will disappear and some will provide a direct hit. This is why it is important to use cycles in conjunction with other aspects of technical analysis. Trend establishes direction, oscillators define momentum and cycles anticipate turning points. Look for confirmation with support or resistance on the price chart or a turn in a key momentum oscillator. It can also help to combine cycles. For example, the stock market is known to have 10-week, 20-week and 40-week cycles. These cycles can be combined with the Six Month Cycle and Presidential Cycle for added value. Signals are enhanced when multiple cycles nest at a cycle low.

## Using with SharpCharts

The Cycle Lines Tool can be accessed when annotating a SharpChart. There are two steps involved. First, click on the Cycle Lines Tool icon at the top. It is the icon with the horizontal green lines. Second, move the cursor to the first cycle low, click and hold the left mouse button and then drag to the right the desired cycle length. It is sometimes helpful to measure the first two cycle lows with vertical lines. For a 20 day cycle, place a vertical line on the first low, count 20 days and then place a second vertical line. Start the Cycle Lines Tool from the first cycle low and extend it to the second cycle low for the first 20-day cycle. The subsequent cycles will also be 20-days.

The snapshot below comes from the SharpCharts settings for cycle analysis. First, a price plot can be made "invisible" under Chart Attribute/Type. Second, the Log Scale box can be selected to view price moves as percentage changes. Third, it is sometimes necessary to add extra bars to the chart to extend cycle lines into the future. Fourth, a displaced 5-day SMA was used as an overlay. Fifth, the Detrended Price Oscillator is set at 20 days and shown in the indicator window below.