OPEN-SOURCE SCRIPT
Telah dikemas kini

S&R Zones

1 173
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.
Nota Keluaran
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.

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.