# Cyber Cycle

A Momentum & Oscillators concept (Classic single-name oscillators) in the LuxAlgo Library, with 1 indicator implementation.

## What is the Cyber Cycle?

The Cyber Cycle is John Ehlers' filter for extracting the cyclical component of price. Introduced in his 2004 book Cybernetic Analysis for Stocks and Futures, it first smooths price with a short weighted average of the last four bars, then applies a recursive filter that rejects the slow trend component while the smoothing damps bar-to-bar noise. What remains is the mid-frequency swing, the cycle, oscillating around zero, with a trigger line (the cycle delayed one bar) supplying crossover signals near turns.

Ehlers came to markets from an engineering career in radar and signal processing, and the Cyber Cycle transplants that toolkit directly: price is modeled as trend plus cycle plus noise, and the indicator behaves as a band-pass filter tuned to keep the middle component. A single smoothing constant, alpha, set to 0.07 in the book's published code, governs the trade-off between responsiveness and stability. Unlike bounded tools such as [RSI](https://www.luxalgo.com/library/concept/rsi/), the output has no fixed scale: cycle amplitude is whatever the market currently offers, which is itself information.

The appeal is low lag: in sideways markets the crossings tend to land close to actual swing troughs and crests. The cost is that trends overwhelm it, producing repeated failed counter-trend signals. Ehlers also published normalized variants, including a stochastic version that ranks the cycle within its recent range in [Stochastic Oscillator](https://www.luxalgo.com/library/concept/stochastic-oscillator/) fashion so extremes are comparable across time.

The indicator matters mostly as a clean statement of the cycle-versus-trend problem every oscillator faces. Classical tools like [momentum](https://www.luxalgo.com/library/concept/momentum/), [ROC](https://www.luxalgo.com/library/concept/roc/), and [CCI](https://www.luxalgo.com/library/concept/cci/) blend trend and cycle into one number, which is why they pin at extremes in strong trends; Ehlers' filter makes the separation explicit and accepts the consequence that it is only useful while a cycle actually dominates. That discipline, trade cycle tools in cycle mode and trend tools in trend mode, runs through all of his later adaptive work.

## How to read the Cyber Cycle on a chart

The indicator plots in a lower panel as two nearly identical lines, the cycle and its one-bar-delayed trigger, oscillating around zero.

1. Judge the rhythm first: regular, roughly even swings around zero mean cycle mode; a line pinned on one side of zero or drifting means trend dominates and counter-swing signals should be stood down.
2. Take crossings as timing: the cycle crossing up through the trigger near a trough is the long-side event, crossing down near a crest the short side.
3. Track amplitude: expanding swings say the rhythm is strengthening, while shrinking swings warn the tradable cycle is dying out.
4. Watch for disagreement with price: a lower price low against a higher cycle low reads as standard [bullish divergence](https://www.luxalgo.com/library/concept/regular-bullish-bearish-divergence/), interpreted the same way as on any oscillator.
5. Confirm the regime independently: a trend filter or simple structure read should agree the market is range-bound before crossings are traded against direction.

## How traders use it

- Swing timing in ranging conditions: crossings of the cycle and its one-bar-delayed trigger are taken as entries near cycle troughs and crests, ideally gated by a regime filter that confirms the market is range-bound rather than trending.
- Amplitude and rhythm reads: shrinking cycle amplitude warns that the swing rhythm is dying out, while comparing the oscillation against dominant cycle measurement tools checks whether a tradable cycle exists at all.
- As a building block: the cycle output feeds Ehlers' adaptive and stochastic-normalized versions and other downstream studies rather than always being traded raw.
- Extreme mapping: because raw values are unbounded, practitioners judge extremes relative to recent swing amplitude or switch to the stochastic variant to recover comparable [overbought and oversold](https://www.luxalgo.com/library/concept/overbought-oversold/) readings before fading a move.
- Confluence with conventional oscillators: a Cyber Cycle trough agreeing with a [MACD](https://www.luxalgo.com/library/concept/macd/) turn or a [Stochastic RSI](https://www.luxalgo.com/library/concept/stochastic-rsi/) reset is a common pairing, with the Ehlers filter usually the earlier and twitchier of the two.

## Cyber Cycle vs. other oscillators

- **RSI** (https://www.luxalgo.com/library/concept/rsi/): RSI normalizes momentum onto a fixed 0-100 scale so extremes are comparable across markets and time; the Cyber Cycle is an unbounded filter output with less lag but no universal overbought line, which is why Ehlers also published a stochastic version.
- **MACD** (https://www.luxalgo.com/library/concept/macd/): MACD is built from moving-average differences and deliberately retains trend, making it a trend-following momentum tool; the Cyber Cycle deliberately rejects trend, so the two tools fail in opposite regimes.
- **Stochastic Oscillator** (https://www.luxalgo.com/library/concept/stochastic-oscillator/): The Stochastic Oscillator locates the close within its recent high-low range with only simple smoothing; the Cyber Cycle filters first and oscillates around zero, and Ehlers' Stochastic Cyber Cycle chains the two ideas together.

## FAQ

### What does the Cyber Cycle actually measure?

The cyclical part of price after trend is filtered out. Ehlers models price as trend plus cycle plus noise; the Cyber Cycle smooths the fastest noise and rejects the slow trend so the tradable mid-frequency swing remains, plotted as an oscillator around zero. When a market has no meaningful cycle, the output degenerates into noise-driven whipsaw rather than useful swings.

### When does the Cyber Cycle work poorly?

In strong trends. The filter is built to reject trend, so persistent directional movement pins the oscillator or produces a series of counter-trend crossings that keep failing. Ehlers' own guidance is to use cycle tools when cycle amplitude dominates and trend tools when it does not, which is why the Cyber Cycle is normally paired with a regime or trend filter.

### Who created the Cyber Cycle indicator?

John F. Ehlers, an engineer whose aerospace career centered on radar and digital signal processing and who earlier developed the MESA approach to cycle measurement in markets. The Cyber Cycle appears in his 2004 book Cybernetic Analysis for Stocks and Futures alongside relatives like the Center of Gravity oscillator and his stochastic variants.

### What is the trigger line on the Cyber Cycle?

Simply the cycle value delayed one bar. Plotting a series against its own one-bar delay turns every local peak and trough into a crossing, which is the signal mechanism. The cost is that when amplitude shrinks, the two nearly identical lines weave and produce whipsaw, so small-amplitude crossings are usually ignored.

### What is the Stochastic Cyber Cycle?

A variant that ranks the raw cycle within its recent range, stochastic-style, and typically smooths the result. Because the raw output is unbounded, its extremes are hard to compare across periods; the stochastic version restores fixed reference levels so overbought and oversold thresholds and alerts become meaningful.

### Can the Cyber Cycle show divergence?

Yes. It is an oscillator, so regular and [hidden divergence](https://www.luxalgo.com/library/concept/hidden-divergence/) are read exactly as with RSI or MACD: disagreement between price extremes and cycle extremes. Because the filter removes trend, divergence evidence is most meaningful inside ranges and least meaningful once the market has entered trend mode.

## Implementations in the Library

- Cyber Cycle (LuxAlgo): https://www.luxalgo.com/library/indicator/cyber-cycle/

## Related concepts

- Balance of Power: https://www.luxalgo.com/library/concept/balance-of-power/
- CCI: https://www.luxalgo.com/library/concept/cci/
- Williams %R: https://www.luxalgo.com/library/concept/williams-percent-r/
- Ultimate Oscillator: https://www.luxalgo.com/library/concept/ultimate-oscillator/
- True Strength Index: https://www.luxalgo.com/library/concept/true-strength-index/
- Relative Vigor Index: https://www.luxalgo.com/library/concept/relative-vigor-index/
- Awesome Oscillator: https://www.luxalgo.com/library/concept/awesome-oscillator/
- Accelerator Oscillator: https://www.luxalgo.com/library/concept/accelerator-oscillator/
- Gator Oscillator: https://www.luxalgo.com/library/concept/gator-oscillator/
- Elder Ray: https://www.luxalgo.com/library/concept/elder-ray/

---

Source: https://www.luxalgo.com/library/concept/cyber-cycle/ (LuxAlgo Library, the encyclopedia of trading & technical analysis). Free to use with attribution: https://www.luxalgo.com/library/license/