OPEN-SOURCE SCRIPT
업데이트됨 [blackcat] L1 Trend Detection Index (TDI)

Level: 1
Background
The trend detection index (TDI), which can be used to help detect when a trend has begun and when it has come to an end.
Function
The Trend Detection Index (TDI) is used to identify when a trend has started and when it ends. The TDI can be used as a stand-alone indicator or combined with others; It will work well when it comes to spotting the beginning of trends. However, this does not mean that its signals are absolutely accurate.
Inputs
Price --> Price source as input.
Length --> Length input can be adjusted to tune TDI performance.
Key Signal
MktPos --> 1 for long and -1 for short
Remarks
This is a Level 1 free but closed source indicator.
Feedbacks are appreciated.
Background
The trend detection index (TDI), which can be used to help detect when a trend has begun and when it has come to an end.
Function
The Trend Detection Index (TDI) is used to identify when a trend has started and when it ends. The TDI can be used as a stand-alone indicator or combined with others; It will work well when it comes to spotting the beginning of trends. However, this does not mean that its signals are absolutely accurate.
Inputs
Price --> Price source as input.
Length --> Length input can be adjusted to tune TDI performance.
Key Signal
MktPos --> 1 for long and -1 for short
Remarks
This is a Level 1 free but closed source indicator.
Feedbacks are appreciated.
릴리즈 노트
OVERVIEWThe **TradingView** indicator *[blackcat]* **L1 Trend Detection Index (TDI)** 📈 helps traders identify trends in financial markets by calculating a proprietary index based on price momentum and sums. It provides clear visual signals for market positions, making it easier to spot potential buy or sell opportunities. The script uses advanced mathematical calculations to determine the trend detection level and plots the results in an easy-to-read format. Ideal for both novice and experienced traders looking to enhance their technical analysis toolkit.
FEATURES
- Calculates the Trend Detection Index (TDI) using customizable inputs.
- Plots market positions with distinct colors for bullish and bearish trends.
- Includes horizontal reference lines for quick visual cues.
- Supports up to 5000 bars back for historical data analysis.
- Allows customization of price sources and calculation lengths.
HOW TO USE
1. Add the indicator to your TradingView chart.
2. Customize the **price_source** and **length** parameters as needed:
* Price Source: Select from available options like Close, Open, High, Low, etc.
* Length: Set the period over which to calculate the TDI.
3. Observe the plotted area:
* Yellow indicates a bullish trend.
* Fuchsia indicates a bearish trend.
4. Use the horizontal reference lines (-1, 0, 1) for additional context.
LIMITATIONS
- The indicator may not perform well in highly volatile or sideways markets.
- Users should combine this indicator with other forms of analysis for better decision-making.
- Historical performance does not guarantee future results.
NOTES
- Ensure you understand the underlying mathematics before relying solely on this indicator.
- Regularly review and update the parameters to adapt to changing market conditions.
- Backtest thoroughly before applying strategies derived from this indicator in live trading.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
Avoid losing contact!Don't miss out! The first and most important thing to do is to join my Discord chat now! Click here to start your adventure: discord.com/invite/ZTGpQJq 防止失联,请立即行动,加入本猫聊天群: discord.com/invite/ZTGpQJq
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.