OPEN-SOURCE SCRIPT
更新済

Price Reaction Zones

419
Price Reaction Zones identifies price levels created when a confirmed candle changes direction from bearish to bullish or from bullish to bearish.

Each level is drawn from the opening price of the candle that confirms the color change. Active levels remain solid. A level becomes dashed only when a later candle opens on one side of the level and closes on the opposite side. Wick-only touches do not invalidate the level.

Users can select the calculation timeframe, trading-day lookback, maximum number of levels, line extension, colors, width, and whether broken levels remain visible.

Optional reference levels include the previous day, week, and month highs and lows. These are calculated from the regular New York trading session between 9:30 AM and 4:00 PM.

This indicator is designed to highlight areas where price may react, reject, consolidate, or change direction. It is intended as a market-context tool and should not be used as a standalone entry or exit signal.
リリースノート
Price Reaction Zones is a multi-timeframe price-structure indicator designed to identify reaction levels created by confirmed candle color transitions and organize broken levels into cleaner polarity zones.
The indicator detects two types of reaction levels on a user-selected calculation timeframe:

Red → Green: a support-style reaction level is created at the opening price of the confirmed green candle.
Green → Red: a resistance-style reaction level is created at the opening price of the confirmed red candle.
A level is considered broken only when the candle body fully crosses the level, meaning the open and close are on opposite sides of the price. Wick-only penetrations do not count as breaks.

To reduce chart clutter, reaction levels can be restricted to a configurable dollar range above and below the current price. Levels outside that range are hidden from view, allowing the chart to focus on the areas most relevant to current price action.

Broken Polarity Zones

Once a reaction level is broken, it can be displayed as a borderless polarity zone instead of a dashed horizontal line.

Nearby broken levels can automatically merge into a single zone when their total price span is within the user-defined Polarity Zone Merge Distance. This helps consolidate groups of closely spaced historical levels into cleaner support/resistance areas.

The zone color is determined by the dominant reaction type within the group. If both directions are equally represented, the most recent level determines the zone color.

Single broken levels can also be displayed as narrow polarity zones with a configurable thickness.

Additional Features
Configurable calculation timeframe
Adjustable trading-day lookback
Maximum stored level control
Adjustable right-side extension
Configurable dollar range around current price
Custom colors for bullish and bearish reaction levels
Adjustable active line width
Optional broken polarity zones
Configurable polarity-zone merge distance
Adjustable zone fill opacity
Optional Previous Day High / Low
Optional Previous Week High / Low
Optional Previous Month High / Low
Previous-period levels are calculated from regular trading hours: 9:30 AM–4:00 PM New York time

The goal of Price Reaction Zones is to provide a cleaner view of historically relevant reaction prices while keeping attention focused on the levels and polarity areas closest to current market price.


免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。