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.

כתב ויתור

המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.