WaveTrend Divergences, Candle Colouring and TP Signal
Feb 24, 2025

The WaveTrend Divergences, Candle Colouring and TP Signal indicator is a momentum-based oscillator designed to track trend strength, identify price-momentum divergences, and highlight potential take-profit zones using integrated Bollinger Bands.
Usage
The WaveTrend tool can be used to identify trend direction, reversals, and exhaustion points.
- Trend Direction: Market sentiment is visualized through the relationship between the WT Line and the signal line. A WT Line above the signal line indicates bullish momentum, while a position below indicates bearish momentum.
- Candle Colouring: The script dynamically changes the color of price bars based on crossovers. Bullish crossovers turn candles green (by default), while bearish crossovers turn them red, providing immediate visual confirmation on the price chart.
- Divergence Signals: The indicator automatically detects Regular and "Plus" divergences. "Plus" signals (marked with a +) are considered stronger as they originate from extreme levels (above +60 or below -60), indicating potential reversals from overbought or oversold conditions.
- Take-Profit (TP) Signals: Using Bollinger Bands applied to the oscillator, the tool plots shapes on the chart when the WT Line exceeds its volatility bands. These markers suggest that momentum is overstretched and a retracement or mean reversion may be imminent.
Details
The indicator is constructed using an EMA-smoothed momentum calculation. The WT Line is derived from the difference between price and its EMA, normalized by volatility. This results in an oscillator that fluctuates between defined overbought and oversold levels.
Divergences are calculated by comparing local price pivots with oscillator pivots. A Bullish Divergence occurs when price makes a lower low while the oscillator makes a higher low. Conversely, a Bearish Divergence occurs when price makes a higher high while the oscillator makes a lower high. The Bollinger Band component applies a standard deviation envelope to the oscillator itself, rather than price, to capture momentum extremes.
Settings
- Channel Length: Sets the lookback period for the initial EMA and volatility calculations.
- Average Length: Determines the smoothing factor for the primary WT Line.
- Divergence: Toggles the detection and display of regular and plus divergences.
- Candle Colours: Enables or disables the dynamic trend-based bar coloring on the chart.
- Potential TP Signals: Toggles the display of Bollinger Band-based exit signals.
- Bull/Bear/Neutral Colours: Allows for visual customization of the oscillator, candles, and signals.
FAQ
How do I use the "Plus" divergences?
"Plus" divergences are specific signals where the first pivot occurs at an extreme level (outside the +/- 60 range). These are used by traders to identify high-probability reversal zones where momentum is already exhausted.
What do the crosses on the price chart represent?
The crosses are "Potential TP Signals." They appear when the WaveTrend oscillator crosses outside its Bollinger Bands, suggesting that the current move is overextended and a pullback may occur.
How can I access WaveTrend Divergences, Candle Colouring and TP Signal?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

