Time Divergence - TDV
Dec 9, 2020

The Time Divergence - TDV indicator provides a unique perspective on asset strength by calculating the rate of price change relative to time, helping traders identify momentum shifts and potential trend reversals.
Usage
The Usage section describes how the script can be used to analyze market momentum. By normalizing price movement over a specific time period, the indicator allows for the identification of divergences between price action and the "time-adjusted" strength of an impulse.
Traders can use the TDV in the following ways:
- Divergence Analysis: Look for cases where price makes a higher high but the TDV makes a lower high, suggesting a loss in momentum.
- Mean Reversion: Utilizing the integrated Bollinger Bands, traders can identify overextended moves when the TDV line crosses outside the bands. A cross back inside the bands may signal a potential entry point.
- Trend Confirmation: When the TDV is consistently above the zero line, it indicates positive momentum, whereas values below zero suggest negative momentum.
Details
The core logic of the Time Divergence indicator is based on the relationship between price distance and time. Specifically, it calculates the change in price over a user-defined period and divides that change by the period itself. This result effectively represents the "velocity" of the price movement.
To refine the output, the script includes a Finite Impulse Response (FIR) filter option to smooth the source price. Additionally, Bollinger Bands are applied to the TDV output to provide dynamic thresholds for volatility and momentum extremes.
Settings
- Length: Sets the period over which the price change is calculated.
- Enable Smoother: When checked, applies an FIR filter to the source price to reduce noise.
- Bollinger Smoother: Enables the calculation and display of Bollinger Bands on the TDV line.
- Bollinger Bands SMA Period Length: Determines the lookback period for the Bollinger Bands' basis (EMA).
- Bollinger Bands Standard Deviation: Adjusts the width of the bands to control sensitivity to volatility.
FAQ
How do I interpret the zero line in TDV?
The zero line represents a neutral state where there has been no net change in price over the specified period. Values above zero indicate bullish momentum, while values below zero indicate bearish momentum.
What is the FIR filter used for?
The FIR filter is an optional smoothing mechanism that helps remove high-frequency noise from the price data before the TDV is calculated, leading to a smoother indicator line.
How can I access the Time Divergence - TDV?
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.

