PROTECTED SOURCE SCRIPT

Alternate Day Background

29
Alternate Day Background (Interactive)

This indicator automatically alternates the chart background color every trading day based on a custom start time you choose.

Set the hour and minute that define the beginning of your trading day. Each time that clock time is reached, the background color switches between two shades. This makes it easy to visually separate trading sessions and identify day-by-day price behavior.

Useful for:
- Crypto traders using midnight resets (00:00)
- Stock traders using session opens (e.g., 09:30)
- Backtesting and session-based strategies
- Quickly spotting overnight vs intraday movement

Simple, lightweight, and works on any timeframe.

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.