INVITE-ONLY SCRIPT
已更新 HOB Archive

Historical HOB & PHOB Structural Archive
Distinction: Real-Time Detection vs. Historical Archiving
It is important to distinguish this tool from standard "Hidden Orderblock" detectors (including our own real-time versions). While standard indicators are designed to highlight current trade opportunities by showing only active zones, this Historical Archive is a specialized environment for Quantitative Market Structure Analysis.
Standard indicators typically remove zones once they are breached (mitigation). This script utilizes a Persistence Algorithm that maintains every detected zone, allowing traders to analyze how price interacts with "old" liquidity over hundreds of bars—a feature essential for institutional backtesting that real-time tools cannot provide.
Unique Technical Logic: The Overlap Engine
The core of this script is a unique calculation engine that evaluates the "Hidden" status of a candle based on its geometric relationship with the following Fair Value Gap (FVG):
The 100% Eclipsed Logic (HOB): The script identifies a "Hidden" block only when the entire price range of a candle (including wicks) is mathematically eclipsed by the vacuum of a subsequent FVG.
The Threshold-Based Partial Logic (PHOB): This is where this tool becomes a standalone research utility. Users can input a specific percentage (e.g., 65%). If the FVG only covers that specific portion of the previous candle, it is logged as a PHOB. This allows for a granular study of "Leaking Liquidity," which standard HOB indicators ignore.
Standalone Value & Originality
To comply with TradingView’s House Rules on originality, this script introduces three specific functions not found in basic OB toolsets:
Non-Destructive Data Retention: Every HOB/PHOB is treated as a permanent structural pivot. This allows for the study of "S/R Flips," where an old, broken Hidden Orderblock later acts as a perfect retest level.
Adaptive Label Consolidation: Because historical data can become dense, we developed a custom logic to merge overlapping labels. This ensures that even with 500+ bars of history, the chart remains readable.
Backtest-Optimized Calculations: The script’s backend is optimized to handle high-depth history arrays, ensuring that the visual "Archive" does not cause UI lag, which is a common technical hurdle for historical indicators.
How to Use for Research
Identify Institutional Footprints: Use the HOBs to see where price was delivered so quickly that orders were "trapped" behind an FVG.
Statistical Backtesting: Scroll back through weeks of data to observe the "Sensitivity" of PHOBs compared to full HOBs.
Confluence Mapping: Overlay this with your primary strategy to see if your entries align with these historical high-volume footprints.
Note to Moderators: This script is a unique standalone tool designed for historical data analysis. It uses a proprietary percentage-based detection logic for Partial Hidden Orderblocks and a non-destructive rendering system that differs fundamentally from "live-trading" indicators that delete mitigated zones.
Distinction: Real-Time Detection vs. Historical Archiving
It is important to distinguish this tool from standard "Hidden Orderblock" detectors (including our own real-time versions). While standard indicators are designed to highlight current trade opportunities by showing only active zones, this Historical Archive is a specialized environment for Quantitative Market Structure Analysis.
Standard indicators typically remove zones once they are breached (mitigation). This script utilizes a Persistence Algorithm that maintains every detected zone, allowing traders to analyze how price interacts with "old" liquidity over hundreds of bars—a feature essential for institutional backtesting that real-time tools cannot provide.
Unique Technical Logic: The Overlap Engine
The core of this script is a unique calculation engine that evaluates the "Hidden" status of a candle based on its geometric relationship with the following Fair Value Gap (FVG):
The 100% Eclipsed Logic (HOB): The script identifies a "Hidden" block only when the entire price range of a candle (including wicks) is mathematically eclipsed by the vacuum of a subsequent FVG.
The Threshold-Based Partial Logic (PHOB): This is where this tool becomes a standalone research utility. Users can input a specific percentage (e.g., 65%). If the FVG only covers that specific portion of the previous candle, it is logged as a PHOB. This allows for a granular study of "Leaking Liquidity," which standard HOB indicators ignore.
Standalone Value & Originality
To comply with TradingView’s House Rules on originality, this script introduces three specific functions not found in basic OB toolsets:
Non-Destructive Data Retention: Every HOB/PHOB is treated as a permanent structural pivot. This allows for the study of "S/R Flips," where an old, broken Hidden Orderblock later acts as a perfect retest level.
Adaptive Label Consolidation: Because historical data can become dense, we developed a custom logic to merge overlapping labels. This ensures that even with 500+ bars of history, the chart remains readable.
Backtest-Optimized Calculations: The script’s backend is optimized to handle high-depth history arrays, ensuring that the visual "Archive" does not cause UI lag, which is a common technical hurdle for historical indicators.
How to Use for Research
Identify Institutional Footprints: Use the HOBs to see where price was delivered so quickly that orders were "trapped" behind an FVG.
Statistical Backtesting: Scroll back through weeks of data to observe the "Sensitivity" of PHOBs compared to full HOBs.
Confluence Mapping: Overlay this with your primary strategy to see if your entries align with these historical high-volume footprints.
Note to Moderators: This script is a unique standalone tool designed for historical data analysis. It uses a proprietary percentage-based detection logic for Partial Hidden Orderblocks and a non-destructive rendering system that differs fundamentally from "live-trading" indicators that delete mitigated zones.
版本注释
Update chart仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系HiddenLiquidty。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
仅限邀请脚本
只有作者授权的用户才能访问此脚本。您需要申请并获得使用许可。通常情况下,付款后即可获得许可。更多详情,请按照下方作者的说明操作,或直接联系HiddenLiquidty。
TradingView不建议您付费购买或使用任何脚本,除非您完全信任其作者并了解其工作原理。您也可以在我们的社区脚本找到免费的开源替代方案。
作者的说明
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。