OPEN-SOURCE SCRIPT
已更新

S&R Zones

572
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.
版本注释
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.

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。