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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.