OPEN-SOURCE SCRIPT
TDI - (Crossover Visual Upgrade)

TDI - (Crossover Visual Upgrade) - Enhanced Momentum Tracking
This script is an optimized version of the classic Traders Dynamic Index (TDI). While keeping the original calculation logic, I have introduced visual enhancements and alert features to help traders react faster to market momentum changes.
Why this version is useful:
The original TDI can sometimes be difficult to read during fast-moving markets. This version features a dynamic RSI line that changes color based on its position relative to the Bollinger Band midline. This allows traders to instantly spot trend reversals and crossovers without needing to squint at the screen.
Key Features:
Dynamic Color-Coding: The Fast MA line automatically shifts color when crossing the Bollinger Band midline, providing an immediate visual cue for potential entry or exit points.
Smart Alert System: Integrated alerts for bullish and bearish crossovers, ensuring you never miss a critical setup.
On-Chart Labeling: Option to display crossover labels directly on the main chart for better price-action context (with customizable settings).
Configurable Limits: Adjustable label history to keep your chart clean.
How to use:
Add the indicator to your chart.
The RSI line will turn green when above the midline and red when below, signaling the immediate momentum bias.
Configure alerts via the standard TradingView "Alert" menu by selecting the crossover conditions.
Credits:
This script is based on the original Traders Dynamic Index logic by LazyBear.
Author's Note:
I developed this version of the TDI to improve visual clarity because I personally trade at a fast pace. I wanted to eliminate the need to spend extra time and mental energy double-checking whether the RSI has crossed the Bollinger Band midline.
Since I built this for my own workflow, I decided to share it with the community in case others are facing the same issue. Big thanks to Gemini for helping me craft this description. I hope you find this indicator useful for your trading!
This script is an optimized version of the classic Traders Dynamic Index (TDI). While keeping the original calculation logic, I have introduced visual enhancements and alert features to help traders react faster to market momentum changes.
Why this version is useful:
The original TDI can sometimes be difficult to read during fast-moving markets. This version features a dynamic RSI line that changes color based on its position relative to the Bollinger Band midline. This allows traders to instantly spot trend reversals and crossovers without needing to squint at the screen.
Key Features:
Dynamic Color-Coding: The Fast MA line automatically shifts color when crossing the Bollinger Band midline, providing an immediate visual cue for potential entry or exit points.
Smart Alert System: Integrated alerts for bullish and bearish crossovers, ensuring you never miss a critical setup.
On-Chart Labeling: Option to display crossover labels directly on the main chart for better price-action context (with customizable settings).
Configurable Limits: Adjustable label history to keep your chart clean.
How to use:
Add the indicator to your chart.
The RSI line will turn green when above the midline and red when below, signaling the immediate momentum bias.
Configure alerts via the standard TradingView "Alert" menu by selecting the crossover conditions.
Credits:
This script is based on the original Traders Dynamic Index logic by LazyBear.
Author's Note:
I developed this version of the TDI to improve visual clarity because I personally trade at a fast pace. I wanted to eliminate the need to spend extra time and mental energy double-checking whether the RSI has crossed the Bollinger Band midline.
Since I built this for my own workflow, I decided to share it with the community in case others are facing the same issue. Big thanks to Gemini for helping me craft this description. I hope you find this indicator useful for your trading!
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.