PROTECTED SOURCE SCRIPT

Alternate Day Background

31
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.

Exención de responsabilidad

La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.