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.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.