OPEN-SOURCE SCRIPT
BOSS_DELTA_XRAY

BOSS DELTA XRAY is a momentum-classification system designed to quantify short-term rate-of-change (ΔROC) behavior using a structured, 7-zone intensity model. The indicator measures 5-bar ROC and maps it into clearly defined thresholds to identify acceleration, deceleration, and momentum degradation with high precision.
The goal of BOSS DELTA XRAY is to provide a continuous, color-coded representation of momentum strength to support trade management, continuation assessment, and early detection of weakening trend velocity. This makes it suitable for intraday trading, momentum confirmation, and exit-timing decisions.
Mathematical Basis
The core metric is a 5-period Rate of Change:
𝑅
𝑂
𝐶
5
=
𝐶
𝑙
𝑜
𝑠
𝑒
−
𝐶
𝑙
𝑜
𝑠
𝑒
5
𝐶
𝑙
𝑜
𝑠
𝑒
5
×
100
ROC
5
=
Close
5
Close−Close
5
×100
This 5-bar ΔROC value is compared against three threshold tiers on both positive and negative sides, creating a symmetric 7-zone classification.
Zone Definitions (Absolute ROC%)
Zone ROC Threshold Classification Color
+3 / –3 > 0.20% High-Intensity Momentum Bright Green
+2 / –2 0.10%–0.20% Moderate Momentum Light Green
+1 / –1 0.05%–0.10% Low Momentum Yellow
0 < 0.05% Neutral / No Significant Δ Tan
The system applies the same structure to positive and negative ROC, maintaining symmetry for upward and downward momentum events.
Indicator Output
A continuously-colored histogram representing real-time ΔROC magnitude.
Color transitions reflect zone boundaries, enabling rapid interpretation of momentum intensity.
A zero-line reference is included for structural orientation.
Intended Use Cases
BOSS DELTA XRAY is designed for:
Momentum verification during trend continuation setups
Exit timing, identifying when momentum begins to degrade
Filtering low-energy environments where continuation probability decreases
Monitoring momentum integrity on breakdowns, pullbacks, and retracement legs
Confirming trade validity based on sustained ΔROC structure
Key Advantages
Objective classification of short-term trend velocity
Fast identification of momentum failure or deceleration
High clarity in intraday environments where momentum shifts rapidly
Supports disciplined, systematic trade management
Minimizes discretionary interpretation by relying on defined ΔROC thresholds
Technical Summary
BOSS DELTA XRAY provides a mathematically precise and visually interpretable momentum framework. By quantifying short-term rate-of-change into discrete operational zones, the indicator enables traders to assess momentum strength, weakness, and transition states with consistency and reliability.
The goal of BOSS DELTA XRAY is to provide a continuous, color-coded representation of momentum strength to support trade management, continuation assessment, and early detection of weakening trend velocity. This makes it suitable for intraday trading, momentum confirmation, and exit-timing decisions.
Mathematical Basis
The core metric is a 5-period Rate of Change:
𝑅
𝑂
𝐶
5
=
𝐶
𝑙
𝑜
𝑠
𝑒
−
𝐶
𝑙
𝑜
𝑠
𝑒
5
𝐶
𝑙
𝑜
𝑠
𝑒
5
×
100
ROC
5
=
Close
5
Close−Close
5
×100
This 5-bar ΔROC value is compared against three threshold tiers on both positive and negative sides, creating a symmetric 7-zone classification.
Zone Definitions (Absolute ROC%)
Zone ROC Threshold Classification Color
+3 / –3 > 0.20% High-Intensity Momentum Bright Green
+2 / –2 0.10%–0.20% Moderate Momentum Light Green
+1 / –1 0.05%–0.10% Low Momentum Yellow
0 < 0.05% Neutral / No Significant Δ Tan
The system applies the same structure to positive and negative ROC, maintaining symmetry for upward and downward momentum events.
Indicator Output
A continuously-colored histogram representing real-time ΔROC magnitude.
Color transitions reflect zone boundaries, enabling rapid interpretation of momentum intensity.
A zero-line reference is included for structural orientation.
Intended Use Cases
BOSS DELTA XRAY is designed for:
Momentum verification during trend continuation setups
Exit timing, identifying when momentum begins to degrade
Filtering low-energy environments where continuation probability decreases
Monitoring momentum integrity on breakdowns, pullbacks, and retracement legs
Confirming trade validity based on sustained ΔROC structure
Key Advantages
Objective classification of short-term trend velocity
Fast identification of momentum failure or deceleration
High clarity in intraday environments where momentum shifts rapidly
Supports disciplined, systematic trade management
Minimizes discretionary interpretation by relying on defined ΔROC thresholds
Technical Summary
BOSS DELTA XRAY provides a mathematically precise and visually interpretable momentum framework. By quantifying short-term rate-of-change into discrete operational zones, the indicator enables traders to assess momentum strength, weakness, and transition states with consistency and reliability.
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.