OPEN-SOURCE SCRIPT

Candles by Day of Week

19
Candles by Day of Week

Candles by Day of Week (INLINE) is a lightweight visual indicator that colors price candles based on the day of the week.
It helps traders quickly recognize weekly patterns, market behavior differences, and day-specific tendencies directly on the chart.

🔹 Key Features

Candle coloring for Monday through Sunday

Enable or disable each weekday individually

Custom color selection for every day

Day enable toggle and color input are combined in one line for cleaner settings

Uses barcolor() — no candle shifting or overlay issues

Compatible with all markets: Forex, Crypto, Stocks, Indices

Works on all timeframes

🔹 How It Works

The indicator detects the day of the week for each candle and applies the selected color if that day is enabled.
Disabled days keep the chart’s default candle colors unchanged.

This approach ensures:

No interference with price data

No displacement from the main chart

Full compatibility with other indicators

🔹 Practical Use

Analyze weekday-based market behavior

Spot recurring patterns or volatility by day

Improve discretionary and session-based strategies

Enhance chart readability and visual clarity

🔹 Notes

Saturday and Sunday candles are mainly relevant for Crypto markets

Forex traders may choose to disable weekend days

The indicator is purely visual and does not affect calculations or signals

🔹 Customization

All settings can be adjusted in the indicator’s Inputs:

Toggle individual days on or off

Select custom candle colors per day

Instantly adapt the indicator to your trading style

🔹 Disclaimer

This indicator is intended for visual analysis only and should be used as a supportive tool alongside other forms of technical analysis.
It does not provide buy or sell signals.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.