OPEN-SOURCE SCRIPT
Aggiornato S&R Zones

This indicator automatically detects swing highs and swing lows on the chart using a 3-bar swing structure. Once a swing point is confirmed, it evaluates the price movement and body size of subsequent candles. If the movement meets a volume-based range condition (2.5× the average body size of the last 5 candles), the indicator creates a zone around that swing.
Swing High Zones: Drawn from the highest price of the swing cluster down to its midpoint.
Swing Low Zones: Drawn from the lowest price of the swing cluster up to its midpoint.
These zones act as dynamic support and resistance levels and remain on the chart until they are either:
Broken (price closes beyond the zone), or
Expired (more than 200 bars old).
Zones are color-coded for clarity:
🔴 Red shaded areas = Swing High resistance zones.
🟢 Green shaded areas = Swing Low support zones.
This makes the indicator useful for identifying high-probability reversal areas, liquidity zones, and supply/demand imbalances that persist until invalidated.
Swing High Zones: Drawn from the highest price of the swing cluster down to its midpoint.
Swing Low Zones: Drawn from the lowest price of the swing cluster up to its midpoint.
These zones act as dynamic support and resistance levels and remain on the chart until they are either:
Broken (price closes beyond the zone), or
Expired (more than 200 bars old).
Zones are color-coded for clarity:
🔴 Red shaded areas = Swing High resistance zones.
🟢 Green shaded areas = Swing Low support zones.
This makes the indicator useful for identifying high-probability reversal areas, liquidity zones, and supply/demand imbalances that persist until invalidated.
Note di rilascio
This indicator automatically detects swing highs and swing lows on the chart using a 3-bar swing structure. Once a swing point is confirmed, it evaluates the price movement and body size of subsequent candles. If the movement meets a volume-based range condition (2.5× the average body size of the last 5 candles), the indicator creates a zone around that swing.Swing High Zones: Drawn from the highest price of the swing cluster down to its midpoint.
Swing Low Zones: Drawn from the lowest price of the swing cluster up to its midpoint.
These zones act as dynamic support and resistance levels and remain on the chart until they are either:
Broken (price closes beyond the zone), or
Expired (more than 200 bars old).
Zones are color-coded for clarity:
🔴 Red shaded areas = Swing High resistance zones.
🟢 Green shaded areas = Swing Low support zones.
This makes the indicator useful for identifying high-probability reversal areas, liquidity zones, and supply/demand imbalances that persist until invalidated.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.