OPEN-SOURCE SCRIPT

Long-Term Trend Detector

Atualizado
The Long-Term Trend Detector is a powerful tool designed to identify sustainable trends in price movements, offering significant advantages for traders and investors.

Key Benefits:

1. Projection Confidence: This indicator leverages Pearson's R, a statistical measure that indicates the strength of the linear relationship between price and trend projection. A higher Pearson's R value reflects a stronger correlation, providing increased confidence in the identified trend direction.

2. Adaptive Channel Detection: By calculating deviations and correlations over varying lengths, the indicator dynamically adapts to changing market conditions. This adaptive nature ensures robust trend detection across different time frames.

3. Visual Clarity: The indicator visually displays long-term trend channels on the chart, offering clear insights into potential price trajectories. This visualization aids in decision-making by highlighting periods of strong trend potential.

4. Flexibility and Customization: Users can customize parameters such as deviation multiplier, line styles, transparency levels, and display preferences. This flexibility allows traders to tailor the indicator to their specific trading strategies and preferences.

5. Historical Analysis: The indicator can analyze extensive historical data (up to 5000 bars back) to provide comprehensive trend insights. This historical perspective enables users to assess trends over extended periods, enhancing strategic decision-making.

In summary, the Long-Term Trend Detector empowers traders with accurate trend projections and confidence levels, facilitating informed trading decisions. Its adaptive nature and customizable features make it a valuable tool for identifying and capitalizing on long-term market trends.
Notas de Lançamento
Tooltip added:
If the channel is not visible, scroll back on the chart for additional historical data.
Notas de Lançamento
Minor Update: I've added the ability to choose the color of the Mid Line.
Notas de Lançamento
The Annualized Return corresponding to the period of the Selected Trend drawn by the indicator has been added. This feature is currently displayed only in the Daily timeframe.
Notas de Lançamento
Major Update:
This update introduces the 'Most Active Levels' feature.
Users can now visualize the price level with the highest trading activity within the trend channel.
This level is calculated based on either the number of price touches or trading volume.
To achieve this, the indicator divides the trend channel into multiple levels (user-defined).
Linear RegressionregressionsTrend Analysis

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?


The trend is your friend, until it's not
Também em:

Aviso legal