OPEN-SOURCE SCRIPT

Closing Range Levels

88
Turn the last few minutes of every block into ready-made support and resistance.

Closing Range Levels captures the high/low of the final X minutes of each block — for example, the last 3 minutes of every 4-hour block — and projects that range as two horizontal levels across the block that follows. Where price closed out a block often acts as reference support/resistance for the next one, and this draws it for you automatically, with full history on the chart.

Highlights

Objective levels drawn automatically — no manual work
Based on where the market actually closed, not round numbers
Full historical projection to see how levels behaved
Boundaries follow the chart's own clock, DST handled automatically

Inputs

Minutes before block end — capture window size (default 3)
Block length (hours) — the projection block (default 4)
Max historical blocks kept
Colors and line width

Notes
Works best when your chart timeframe divides the capture window evenly (e.g. a 3-minute chart with a 3-minute window) and on 24h markets like FX and crypto, where block boundaries land on clean grid times. Treat the band as a reference zone rather than a hard line — on fast blocks price can push through early.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.