OPEN-SOURCE SCRIPT
Aggiornato High / Low Resistance Liquidity Trend

Description
This indicator is a powerful, algorithmic tool designed for HRLR methodologies. It removes the subjectivity of identifying High Resistance Liquidity Runs (HRLR) and Low Resistance Liquidity Runs (LRLR) by dynamically mapping out the structural flow of liquidity on your chart using clean, point-to-point trendlines.
🎯 Core Concepts
In this methodology, understanding whether price will face "resistance" when drawing to a liquidity pool is critical for trade management:
Low Resistance Liquidity (LRLR): Clean, engineered liquidity. When price fails to sweep a previous structural extreme, it leaves behind smooth, resting stop-losses. This acts as a frictionless magnet for price.
High Resistance Liquidity (HRLR): Swept liquidity. When price violently takes out a previous extreme and reverses, it purges the local stop-losses. Returning to this level is a "High Resistance" run because the liquidity fuel has already been burned.
⚙️ How It Works
The script evaluates price action in real-time, detecting structural Pivot Highs and Pivot Lows. It then dynamically draws trendlines connecting adjacent pivots to reveal the underlying liquidity texture:
🟢 LRLR (Green Lines) - Failed Sweeps:
Highs: Connects a Pivot High to a subsequent Lower High.
Lows: Connects a Pivot Low to a subsequent Higher Low.
Signal: Clean trendline liquidity is building. Expect a fast, low-resistance run through this level.
🔴 HRLR (Red Lines) - Liquidity Sweeps:
Highs: Connects a Pivot High to a subsequent Higher High.
Lows: Connects a Pivot Low to a subsequent Lower Low.
Signal: A Turtle Soup / Sweep has occurred. Price may struggle to break this extreme cleanly.
✨ Visual Polish
This indicator is built with extreme attention to aesthetic detail. Rather than messy labels cluttering the wicks, the text (LRLR / HRLR) is mathematically positioned at the exact midpoint of the connecting trendlines. It features a custom Label Masking engine that dynamically cuts out the line exactly where the text sits, providing a stunning, ultra-clean look. (Note: Use the 'Chart Background Color' setting to ensure the label mask matches your specific TradingView theme).
🔧 Settings
Pivot Left/Right Bars: Fully customize the structural lookback to define exactly what constitutes a valid swing high/low for your timeframe.
Visual Customization: Full control over colors and text labels.
Chart Background Mask: Allows you to swap the label cutout color between Light Mode and Dark Mode backgrounds flawlessly.
This indicator is a powerful, algorithmic tool designed for HRLR methodologies. It removes the subjectivity of identifying High Resistance Liquidity Runs (HRLR) and Low Resistance Liquidity Runs (LRLR) by dynamically mapping out the structural flow of liquidity on your chart using clean, point-to-point trendlines.
🎯 Core Concepts
In this methodology, understanding whether price will face "resistance" when drawing to a liquidity pool is critical for trade management:
Low Resistance Liquidity (LRLR): Clean, engineered liquidity. When price fails to sweep a previous structural extreme, it leaves behind smooth, resting stop-losses. This acts as a frictionless magnet for price.
High Resistance Liquidity (HRLR): Swept liquidity. When price violently takes out a previous extreme and reverses, it purges the local stop-losses. Returning to this level is a "High Resistance" run because the liquidity fuel has already been burned.
⚙️ How It Works
The script evaluates price action in real-time, detecting structural Pivot Highs and Pivot Lows. It then dynamically draws trendlines connecting adjacent pivots to reveal the underlying liquidity texture:
🟢 LRLR (Green Lines) - Failed Sweeps:
Highs: Connects a Pivot High to a subsequent Lower High.
Lows: Connects a Pivot Low to a subsequent Higher Low.
Signal: Clean trendline liquidity is building. Expect a fast, low-resistance run through this level.
🔴 HRLR (Red Lines) - Liquidity Sweeps:
Highs: Connects a Pivot High to a subsequent Higher High.
Lows: Connects a Pivot Low to a subsequent Lower Low.
Signal: A Turtle Soup / Sweep has occurred. Price may struggle to break this extreme cleanly.
✨ Visual Polish
This indicator is built with extreme attention to aesthetic detail. Rather than messy labels cluttering the wicks, the text (LRLR / HRLR) is mathematically positioned at the exact midpoint of the connecting trendlines. It features a custom Label Masking engine that dynamically cuts out the line exactly where the text sits, providing a stunning, ultra-clean look. (Note: Use the 'Chart Background Color' setting to ensure the label mask matches your specific TradingView theme).
🔧 Settings
Pivot Left/Right Bars: Fully customize the structural lookback to define exactly what constitutes a valid swing high/low for your timeframe.
Visual Customization: Full control over colors and text labels.
Chart Background Mask: Allows you to swap the label cutout color between Light Mode and Dark Mode backgrounds flawlessly.
Note di rilascio
TrendScript open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.