OPEN-SOURCE SCRIPT
Aggiornato Sessions BrockJava

This script is a flexible, timezone-aware Session High/Low indicator for TradingView. It is based on the original work of kurtsmock (Mozilla Public License 2.0) and includes enhancements for UTC offset handling and autoscale compatibility.
Features:
Technical details:
Credit:
Major credit to kurtsmock, the original author. This version adds UTC offset and improved autoscale support.
License: Mozilla Public License 2.0
If you need session-based high/low levels that always fit your chart and your trading hours, this script is for you.
Features:
- Tracks and plots the highest and lowest prices within user-defined trading sessions.
- Session times default to UTC, but you can set a custom UTC offset (e.g., -4 for New York, 0 for London, +8 for Singapore).
- Reset modes: by session, by a set number of hours, or daily.
- Backtesting support: specify a date range to limit indicator activity to historical periods.
- Session constraint: restricts operation to specific sessions, with optional weekend inclusion for crypto or 24/7 markets.
- Visual customization: choose to display session high/low as lines, background color, or filled regions. All colors and transparencies are user-configurable.
- Efficient plotting: session levels are always included in TradingView’s autoscale, so you never lose sight of key levels.
Technical details:
- Session definition uses TradingView’s session string format (e.g., 1800-1500).
- Timezone handling is automatic and accurate, even with custom offsets.
- Designed for high efficiency, supporting up to 5000 bars back and 500 lines.
Credit:
Major credit to kurtsmock, the original author. This version adds UTC offset and improved autoscale support.
License: Mozilla Public License 2.0
If you need session-based high/low levels that always fit your chart and your trading hours, this script is for you.
Note di rilascio
This script is a flexible, timezone-aware Session High/Low indicator for TradingView. It is based on the original work of kurtsmock (Mozilla Public License 2.0) and includes enhancements for UTC offset handling and autoscale compatibility.Features:
- Tracks and plots the highest and lowest prices within user-defined trading sessions.
- Session times default to UTC, but you can set a custom UTC offset (e.g., -4 for New York, 0 for London, +8 for Singapore).
- Reset modes: by session, by a set number of hours, or daily.
- Backtesting support: specify a date range to limit indicator activity to historical periods.
- Session constraint: restricts operation to specific sessions, with optional weekend inclusion for crypto or 24/7 markets.
- Visual customization: choose to display session high/low as lines, background color, or filled regions. All colors and transparencies are user-configurable.
- Efficient plotting: session levels are always included in TradingView’s autoscale, so you never lose sight of key levels.
Technical details:
- Session definition uses TradingView’s session string format (e.g., 1800-1500).
- Timezone handling is automatic and accurate, even with custom offsets.
- Designed for high efficiency, supporting up to 5000 bars back and 500 lines.
Credit:
Major credit to kurtsmock, the original author. This version adds UTC offset and improved autoscale support.
License: Mozilla Public License 2.0
If you need session-based high/low levels that always fit your chart and your trading hours, this script is for you.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.