Correlated Sine Oscillator
By LuxAlgoFeb 17, 2026
Correlated Sine Oscillator is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
The Correlated Sine Oscillator tracks the phase of price's cycle at the chosen Cycle Period and draws it as a clean sine wave normalized between -1 and +1. The current phase (rising, falling, peaking, troughing) reads at a glance. It descends from the sinewave indicator school of cycle analysis: price is detrended with a simple moving average, projected onto sine and cosine components over the chosen Cycle Period, and the arctangent of those components gives the phase. A synthetic sine wave is then shifted so it stays correlated with the actual swings rather than drifting out of sync.
How to Trade the Correlated Sine Oscillator?
- Cross above zero: a bullish triangle prints below the bar as the rising phase begins, a long trigger when it agrees with broader structure.
- Cross below zero: a bearish triangle prints above the bar as the falling phase starts, used for shorts or exits.
- Readings near +1 or -1: cycle peak and trough territory; scale out, tighten stops, or watch for turns instead of chasing.
Because signals come from midline crossings rather than fixed overbought and oversold bands, the oscillator holds up better in trending conditions than threshold-style momentum tools, and the normalized range reads identically across crypto, forex, indices, and equities.
Correlated Sine Oscillator Settings
- Cycle Period: the wavelength in bars the oscillator is tuned to. Shorter values chase faster cycles, longer values track broader structure.
- Phase Multiplier: smooths the internal phase components; raise it for steadier output with slightly more lag, lower it for faster response in quick markets.
- Bullish Color / Bearish Color: the plot and gradient fill on each side of zero.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
Run it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





