TLA20 - Multi-Session Box and Level Tool

Key Features:
- Session Visualization: Mark up to three custom trading sessions with distinct start and end times, adjustable for different time zones and weekend inclusions.
- Dynamic Highlights: Automatically draw session highs, lows, midlines, and open prices with options to extend beyond session bounds.
- Custom Styling: Configure border colors, styles, and fill options for each session box to match your chart preferences.
- Historical Levels: Highlight previous daily highs/lows, weekly highs/lows, and monthly highs/lows for improved context in your trading.
- Intuitive Adjustments: Enable or disable each feature and customize settings for precise alignment with your trading strategy.
Use Cases:
- Track trading sessions across different markets and time zones.
- Identify key price levels like session midpoints and opens for entry/exit strategies.
- Overlay historical levels to recognize potential support and resistance areas.
This indicator does not provide direct trading signals but serves as a robust tool for enhancing technical analysis.
Disclaimer: The script is provided “as is” without warranties of any kind. Always test on a demo account before applying in live markets.
- Check if current timeframe bars are larger than session duration and avoid drawing boxes in that case (i.e. for 12H timeframes)
- On PWH/PWL, PDH/PDL and PMH/PML, also checking if the timeframe is larger than 1W, 1D and 1M to avoid drawing unnecessary lines
- Making PDLs/PDHs/PWLs/PWHs, etc. more dynamic introducing Previous Periods
- Splitting Ignore Last Candle setting in 2, so it integrates better with my other indicator
- Improved overall performance pre-calculating user variables on first bar
- Disabling session range border by default
- Added option to define the time of the new day in PDL/PDH/PWL/PWH
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.