OPEN-SOURCE SCRIPT

Availability Hours

194
Draws two vertical lines on the chart to mark a custom daily trading session window.
A green line marks the session open and a red line marks the session close. Both times are fully customizable through the indicator settings using 24-hour format, allowing any trader to define their own available trading hours.
Automatically adjusts between Pacific Daylight Time (UTC-7) from March to November and Pacific Standard Time (UTC-8) from November to March, ensuring the lines always land at the correct local time year-round without any manual input.
Designed for traders who backtest within specific daily time windows and want a clear visual boundary to identify which candles fall inside or outside their chosen trading hours. Helpful for maintaining consistency when journaling trades and reviewing whether entries respected a defined session schedule.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.