Concept
Sinewave Indicator
Sinewave Indicator is a Statistics concept. The Library holds 3 implementations, each one a working definition you can pull into Quant.
Top Sinewave Indicator indicators
3 total
What is the Sinewave Indicator?
The Sinewave Indicator is John Ehlers' cycle-timing tool. Instead of smoothing price the way a conventional oscillator does, it estimates the phase of the market's dominant cycle (see dominant cycle measurement, classically done with the Hilbert Transform) and plots two lines: the sine of that phase, and a lead line, the sine of the phase advanced by 45 degrees. When price is genuinely cycling, the two lines cross close to cycle troughs and crests, so turns register with little of the lag a fixed-length oscillator carries.
Its second property is just as useful: trend detection by silence. In a trending market the phase stops advancing at a steady rate, and the sine and lead lines flatten out and run roughly parallel without crossing. Active, regular crossings say the market is cycling and turn-timing applies; a quiet, uncrossed pair says the market is trending and cycle signals should be stood down. The indicator only anticipates turns when a reasonably stable cycle actually exists, which is why implementations condition the input first.
How traders use it
- Timing cycle turns in ranges: crossings of the sine and lead-sine lines flag expected troughs and crests of the measured cycle, so mean-reversion entries can be taken toward the opposite extreme rather than after a lagging oscillator confirms.
- As a trend/cycle regime filter: when the two lines stop crossing and run parallel, the market is treated as trending and cycle-based fade signals are disabled. Some traders use the indicator purely for this mode call.
- With conditioned input: the phase estimate degrades when trend and noise leak into the measurement, so implementations typically detrend or bandpass price first (a roofing filter is the standard Ehlers preprocessing) before computing the sinewave.
Related concepts · Ehlers DSP cluster
Concept family
Statistics
45 concepts mapped · 37 in the Library
Sinewave Indicator FAQ
How is the Sinewave Indicator different from a normal oscillator?
A conventional oscillator transforms recent price and therefore lags it. The Sinewave Indicator plots the sine of a measured dominant-cycle phase, so in a cleanly cycling market its crossings can coincide with price turns instead of trailing them. The cost is conditionality: the phase estimate is only meaningful when a stable cycle exists, and the indicator deliberately goes quiet in trends.
What do the two lines of the Sinewave Indicator represent?
One line is the sine of the current dominant-cycle phase; the other is a lead line, the sine of that phase advanced by 45 degrees. Crossings of the pair mark expected cycle turns. When the lines flatten and run parallel without crossing, Ehlers reads the market as trending rather than cycling, which is itself the signal.
Build Sinewave Indicator your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.


