X HL Range

The X Range indicator is a multi-timeframe visualization tool designed to display the high and low price ranges of previous candles from higher timeframes (HTFs) directly on a lower timeframe chart. It helps traders identify significant price zones and potential support/resistance levels by visually representing the price range of up to three previous candles for each selected timeframe.
Key Features:
Multi-Timeframe Support: The indicator supports three configurable higher timeframes (default: 60 min, 15 min, 5 min) which can be independently toggled on or off.
Custom Candle Range Display: For each enabled timeframe, users can choose to display the range of the most recent 1, 2, or 3 completed candles.
Dynamic Box Drawing: Price ranges are highlighted using rectangular boxes that extend across the chart to show where the highs and lows of each selected HTF candle occurred.
Custom Styling: Each timeframe's boxes can be individually styled with user-defined background and border colors to suit visual preferences or chart themes.
Efficient Redrawing: Boxes update in real-time as new higher timeframe candles complete, and previous boxes are removed to prevent chart clutter.
Use Case:
This indicator is particularly useful for intraday traders who want to align entries and exits with higher timeframe levels. By visualizing previous HTF ranges on a lower timeframe chart, traders gain contextual awareness of where price is likely to react or consolidate, aiding in decision-making for breakouts, reversals, or trend continuation setups.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.
Penafian
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Untuk akses pantas pada carta, tambah skrip ini kepada kegemaran anda — ketahui lebih lanjut di sini.