![Trend Detector [victhoreb] chart preview](https://s3.tradingview.com/s/SXFzSFqG.png?v=1740683642)
Trend Detector uses Pearson correlation coefficient to measure market trends by analyzing the relationship between price and time, providing a quantitative insight into trend direction.
Explore complementary indicator rolesHow it works
The Trend Detector calculates the correlation coefficient between average price and time progression over a user-defined period. By comparing how closely price movement follows the advancement of time, it generates a numeric trend indicator ranging from -1 to 1. A positive correlation suggests an upward price movement, while a negative correlation indicates a downward price trend.
The indicator employs statistical analysis to transform time-based price relationships into a clear, interpretable metric. Traders can quickly understand market direction by examining the correlation value, with values closer to 1 or -1 representing stronger trend confirmations and values near zero suggesting more neutral market conditions.
Why it may be useful
The Trend Detector provides traders with an objective, mathematical approach to identifying market trends, reducing emotional decision-making and offering a systematic method for trend analysis. By quantifying the relationship between price and time, it helps traders cut through market noise and focus on underlying directional movements.
This approach can be particularly valuable in volatile or uncertain market conditions. Unlike subjective trend indicators, the Trend Detector offers a precise, statistically-based measurement of market direction. Its ability to convert complex price movements into a simple, interpretable numeric value makes it a powerful tool for traders seeking to understand market dynamics and make more informed trading decisions.
When to explore it
The Trend Detector is most effective in markets with clear directional movements, such as during strong bullish or bearish trends in stocks, forex, or commodities. It works particularly well in markets experiencing sustained momentum, where price consistently moves in a specific direction over the chosen time period. Traders can use this indicator to confirm existing trend perceptions or identify potential trend reversals.
The indicator is less reliable in choppy, range-bound markets where price movements lack clear direction. Traders should combine the Trend Detector with other technical analysis tools to validate signals and reduce the risk of false trend interpretations. It is most useful when applied to liquid markets with sufficient price data to generate meaningful correlation calculations.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.




![Trend Reversal Probability [Algoalpha] chart preview](/_next/image?url=%2Fmedia%2F21133.png&w=3840&q=90&dpl=dpl_Jt27hmzh6tNsGuJ13vyBBWgv8XSW)

![Aurora Flow Oscillator [QuantAlgo] chart preview](https://s3.tradingview.com/w/WzhVYTel.png?v=1745027273)