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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。