OPEN-SOURCE SCRIPT
Diupdate Today's 5min HH/LL Lines

Overview
This indicator identifies the highest high (HH) and lowest low (LL) formed by the first 5 one-minute candles of the current trading day. Once calculated, it plots continuous horizontal lines at those price levels for the remainder of the day.
How it works
The script internally requests 1-minute data for the current symbol, regardless of your chart’s timeframe.
At the start of each new trading day, it resets counters.
It captures the highest high and lowest low across the first five completed 1-minute candles.
After the 5th one-minute bar closes, it draws:
A green horizontal line at the highest high.
A red horizontal line at the lowest low.
These lines extend to the right, covering the entire trading session, and automatically scale with zoom/pan.
At the next session, the old lines are deleted and recalculated for the new day.
Use cases
Helps spot early intraday support and resistance zones.
Useful for breakout or reversal strategies that monitor when price breaches the first 5-minute range (derived from 5x1m bars).
Can be combined with volume, momentum, or candlestick signals for high-probability entries.
Key features
Works on any timeframe — always uses 1-minute data for precision.
Shows lines only for the current day (no clutter from prior sessions).
Lines are dynamic and adaptive — they remain fixed at the calculated price but extend continuously across the chart.
This indicator identifies the highest high (HH) and lowest low (LL) formed by the first 5 one-minute candles of the current trading day. Once calculated, it plots continuous horizontal lines at those price levels for the remainder of the day.
How it works
The script internally requests 1-minute data for the current symbol, regardless of your chart’s timeframe.
At the start of each new trading day, it resets counters.
It captures the highest high and lowest low across the first five completed 1-minute candles.
After the 5th one-minute bar closes, it draws:
A green horizontal line at the highest high.
A red horizontal line at the lowest low.
These lines extend to the right, covering the entire trading session, and automatically scale with zoom/pan.
At the next session, the old lines are deleted and recalculated for the new day.
Use cases
Helps spot early intraday support and resistance zones.
Useful for breakout or reversal strategies that monitor when price breaches the first 5-minute range (derived from 5x1m bars).
Can be combined with volume, momentum, or candlestick signals for high-probability entries.
Key features
Works on any timeframe — always uses 1-minute data for precision.
Shows lines only for the current day (no clutter from prior sessions).
Lines are dynamic and adaptive — they remain fixed at the calculated price but extend continuously across the chart.
Catatan Rilis
fix scale Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, penulis skrip ini telah menjadikannya sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Hormat untuk penulisnya! Meskipun anda dapat menggunakannya secara gratis, ingatlah bahwa penerbitan ulang kode tersebut tunduk pada Tata Tertib kami.
Pernyataan Penyangkalan
Informasi dan publikasi tidak dimaksudkan untuk menjadi, dan bukan merupakan saran keuangan, investasi, perdagangan, atau rekomendasi lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Persyaratan Penggunaan.