OPEN-SOURCE SCRIPT

Long-Term Trend Detector

Обновлено
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.
Информация о релизе
Tooltip added:
If the channel is not visible, scroll back on the chart for additional historical data.
Информация о релизе
Minor Update: I've added the ability to choose the color of the Mid Line.
Информация о релизе
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.
Информация о релизе
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

Скрипт с открытым кодом

В истинном духе TradingView автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения. Вы можете добавить этот скрипт в избранное и использовать его на графике.

Хотите использовать этот скрипт на графике?


The trend is your friend, until it's not
Мои профили:

Отказ от ответственности