OPEN-SOURCE SCRIPT
PA Helper - Sessions

PA Helper – Sessions is a session visualization and timing utility designed to give precise intraday context directly on your chart. It allows you to define up to four custom trading sessions with full control over time ranges, colors, fills, and timezone handling, making it suitable for any market or trading style.
The indicator draws clear session start and end markers and can optionally highlight the full session range on the chart. A key capability is that it does not limit itself to historical data only: it can project and display future session boundaries ahead of the current price, allowing you to see upcoming session starts and ends before they happen. This is especially useful for planning trades, managing exposure, and preparing for session-based volatility.
Candles outside active session hours can be visually muted or hidden using a separate color, helping you focus only on relevant trading periods. The script also supports real-time session detection, ensuring accuracy both in replay mode and live markets.
In addition, PA Helper – Sessions includes configurable alerts that can notify you a chosen number of minutes before a session starts or before it ends. These notifications work across all enabled sessions and are designed to trigger reliably without duplicate alerts, making them practical for active intraday traders.
Overall, this tool acts as a clean, precise session framework that combines past, present, and future session awareness, helping you align price action analysis with time-based market behavior.
The indicator draws clear session start and end markers and can optionally highlight the full session range on the chart. A key capability is that it does not limit itself to historical data only: it can project and display future session boundaries ahead of the current price, allowing you to see upcoming session starts and ends before they happen. This is especially useful for planning trades, managing exposure, and preparing for session-based volatility.
Candles outside active session hours can be visually muted or hidden using a separate color, helping you focus only on relevant trading periods. The script also supports real-time session detection, ensuring accuracy both in replay mode and live markets.
In addition, PA Helper – Sessions includes configurable alerts that can notify you a chosen number of minutes before a session starts or before it ends. These notifications work across all enabled sessions and are designed to trigger reliably without duplicate alerts, making them practical for active intraday traders.
Overall, this tool acts as a clean, precise session framework that combines past, present, and future session awareness, helping you align price action analysis with time-based market behavior.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
eBacktesting.com
--------
Check out the most complete backtesting suite integrated on TradingView!
Join our free Discord group for more info, Q&A, and education:
discord.gg/kJSmwSxBpW
--------
Check out the most complete backtesting suite integrated on TradingView!
Join our free Discord group for more info, Q&A, and education:
discord.gg/kJSmwSxBpW
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
eBacktesting.com
--------
Check out the most complete backtesting suite integrated on TradingView!
Join our free Discord group for more info, Q&A, and education:
discord.gg/kJSmwSxBpW
--------
Check out the most complete backtesting suite integrated on TradingView!
Join our free Discord group for more info, Q&A, and education:
discord.gg/kJSmwSxBpW
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.