A faithful Indie conversion of LazyBear's classic WaveTrend Oscillator with Crosses — one of the most widely used momentum indicators in crypto and FX trading. Built for traders who want clean, actionable reversal signals without the noise of stock RSI or MACD setups.
WaveTrend is a smoothed momentum oscillator derived from the Commodity Channel Index family. It tracks how far price is stretched from its average and double-smooths the result with two EMAs, producing a fluid line that oscillates around zero. When the fast line (WT1) crosses the slow signal line (WT2) inside the overbought (+53/+60) or oversold (−53/−60) zones, the indicator flags a high-probability momentum shift.
This port preserves every visual cue of the original PineScript:
Channel Length (n1) — default 10. EMA length for the inner CCI smoothing.
Average Length (n2) — default 21. EMA length applied to the channel index.
Source — default HLC3 (typical price). Fully configurable to any standard price source: open, high, low, close, HL2, OHLC4, etc.
A cross above WT2 in the oversold zone (below −53) is a strong long signal. A cross below WT2 in the overbought zone (above +53) is a strong short signal. Crosses in the neutral zone are weaker and best used only as trend continuation filters. The bar coloring on the main chart makes signals visible without leaving the price pane.
Original PineScript algorithm by LazyBear. This is a 1:1 logical port to Indie. All credit for the underlying math goes to the original author.
Comments