OPEN-SOURCE SCRIPT
Clean Institutional Levels (ITH/ITL Mitigation)

The Clean Institutional Levels indicator is designed for traders who utilize "Intermediate Term Highs" (ITH) and "Intermediate Term Lows" (ITL) to identify key liquidity levels and market structure shifts. Unlike traditional pivot indicators that clutter the chart with boxes or static zones, this script provides a dynamic, real-time tracking system.
It projects a precise horizontal line from the moment a structural pivot is confirmed and extends that line indefinitely until it is mitigated (touched) by price action.
How it Works
The indicator identifies Intermediate pivots using a three-point peak/trough logic:
ITH (Intermediate Term High): A pivot high that is flanked by two lower pivot highs.
ITL (Intermediate Term Low): A pivot low that is flanked by two higher pivot lows.
Once an ITH or ITL is identified, the script draws a thin, professional level from the pivot point to the current bar. The "Mitigation Engine" monitors every price tick; as soon as price crosses the level, the line is "frozen" at that exact bar, providing a clear historical record of where liquidity was swept or the level was tested.
Key Features
Real-Time Extension: Lines automatically stretch to the right as new candles form until they are hit.
Automatic Truncation: Lines stop precisely at the candle of mitigation, showing you exactly when a level became "invalid" or was run.
Customizable Strength: Adjust the "Pivot Strength" (Left/Right bars) to filter between minor structural points and major institutional swings.
Clean Settings UI: No redundant options. Control line colors, widths, and label visibility with ease.
How to Use :
Liquidity Targets: Use unmitigated lines as "magnets" for price.
Market Structure: Watch for the mitigation of an ITH as a potential sign of bullish intent, or an ITL for bearish intent.
Entry Refinement: Use these levels to find precise "Fair Value" areas where price is likely to react after a sweep.
It projects a precise horizontal line from the moment a structural pivot is confirmed and extends that line indefinitely until it is mitigated (touched) by price action.
How it Works
The indicator identifies Intermediate pivots using a three-point peak/trough logic:
ITH (Intermediate Term High): A pivot high that is flanked by two lower pivot highs.
ITL (Intermediate Term Low): A pivot low that is flanked by two higher pivot lows.
Once an ITH or ITL is identified, the script draws a thin, professional level from the pivot point to the current bar. The "Mitigation Engine" monitors every price tick; as soon as price crosses the level, the line is "frozen" at that exact bar, providing a clear historical record of where liquidity was swept or the level was tested.
Key Features
Real-Time Extension: Lines automatically stretch to the right as new candles form until they are hit.
Automatic Truncation: Lines stop precisely at the candle of mitigation, showing you exactly when a level became "invalid" or was run.
Customizable Strength: Adjust the "Pivot Strength" (Left/Right bars) to filter between minor structural points and major institutional swings.
Clean Settings UI: No redundant options. Control line colors, widths, and label visibility with ease.
How to Use :
Liquidity Targets: Use unmitigated lines as "magnets" for price.
Market Structure: Watch for the mitigation of an ITH as a potential sign of bullish intent, or an ITL for bearish intent.
Entry Refinement: Use these levels to find precise "Fair Value" areas where price is likely to react after a sweep.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。