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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.