OPEN-SOURCE SCRIPT
업데이트됨

Intraday Buy/Sell/Average Zones by Chaitu50c

373
Intraday Buy/Sell/Average Zones by chaitu50c

Timeframe:

Tested on the 5-minute chart.

Recommended timeframe: 5-minute


What it does
This indicator marks intraday Buy (green) and Sell (red) zones made by strong close-confirmed breakouts. These zones act as support/resistance. If price later closes through a zone, the zone changes color from that bar forward (support ↔ resistance). It can flip more than once.

How zones form

Single breakout: an opposite-type candle closes beyond the previous candle’s high/low.

Double breakout: a base candle, then two opposite-type candles, and the second one closes beyond the base high/low.


Zone size

Buy zone: from the combo lowest low up to the nearest open/close of the combo.

Sell zone: from the combo highest high down to the nearest open/close of the combo.


Color shift (optional)
If price closes through a zone, it flips color at that bar and behaves as the other side (support ↔ resistance). Flips can happen again later.

Overlap control
When a new zone overlaps an existing same-color zone in the same session, choose:

Merge (combine), or

Suppress (ignore the new one).
Flipped zones use their current color for this.


Right edge & session
All zones extend to the right (your offset). Detection is limited to your chosen session, and you can show only the last N sessions.


---

How to trade (simple)

A) Initial breakout trade
When a new zone forms, that breakout itself can be a trade idea in the breakout direction, The stoploss will be the zone.

B) Zone breakout trade (flip)
If price later closes out of a zone and it changes color, that breakout is another trade opportunity in the new direction.

C) Retrace & average trade
When price retests a zone, wait for a confirmation candle in the zone’s favor
— bullish close for a green zone, bearish close for a red zone — then average entries inside/near the zone.
Place stops just beyond the opposite edge of the zone.
If the zone flips color, stop averaging; bias changed.


---

Key settings

Breakout type: Single and/or Double

Confirm on Close: strict mode (no intrabar preview) or allow intrabar preview that auto-removes if fail

Color Shift on Breaks: on/off

Same-Type Overlap: Merge/Suppress

Session, Sessions to Display, Right Offset, Colors, Max Zones


Reminder: Best results on the 5-minute timeframe (tested and recommended).

릴리즈 노트
Changes in this Update

1. Clutter Control Mode
We added a new option called Clutter Control Mode.

You can now choose between Min Spacing (blocks new same-type zones too close to each other) or Lock Until Broken (same-type zone won’t repeat until the active one is broken).

This makes it easier to avoid too many overlapping zones in choppy markets.

2. Setting Descriptions
Every input in the indicator now has a short description (tooltip).
This makes it easier for new users to understand what each option controls.

3. Alerts
We added three alert conditions:

New Buy Zone Formed – triggers when a fresh bullish zone appears.

New Sell Zone Formed – triggers when a fresh bearish zone appears.

Zone Broken – triggers when price breaks through an existing zone.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.