Skip to content

Day of Week

Time · Window

Day of Week node on the canvas

Boolean signal — true on bars whose weekday is enabled. Defaults to Monday–Friday (forex / stock convention; weekend data is rare anyway, but crypto bars include it).

Day of Week emits true only on bars whose weekday is one you've enabled. It lets you trade — or skip — specific days. Markets have day-of-week personalities: Mondays can gap and chop as the week finds direction, Fridays often see position-squaring into the weekend, and crypto trades right through Saturday and Sunday while forex and stocks don't. This block turns those patterns into a simple filter.

How it works

Seven toggles — Mon through Sun — let you switch each weekday on or off; the block outputs true on bars whose day is enabled. It defaults to Monday–Friday on, weekend off, matching the forex/stock convention (and weekend forex/stock data is rare anyway). For crypto, whose bars include Saturday and Sunday, you can enable the weekend or deliberately exclude it. The Bars input aligns the signal; And the On day output with your entry logic.

When to use it

Use Day of Week to exclude or isolate weekdays that don't suit your strategy. Common cases: skipping Mondays if your system struggles with early-week noise, avoiding Friday afternoons before the weekend, or — for a crypto strategy — choosing whether to trade the typically thinner weekend sessions. As with hour-slicing, be disciplined: dropping a weekday purely because it looked bad on past data is curve-fitting unless there's a real, persistent reason.

Example

Skip Mondays: wire Bars into Day of Week with Mon off and Tue–Fri on, then And the On day output with your entry into a Buy Signal. Backtest with and without the Monday exclusion in the Tester to judge whether it's a real effect.

Tips & gotchas

  • Defaults to Mon–Fri — weekend off, the forex/stock convention.
  • Crypto includes weekends — decide deliberately whether to trade Sat/Sun.
  • And it with entries — a gate, not a trigger.
  • Don't curve-fit weekdays — exclude a day only with a real reason, and validate out-of-sample.

Inputs

Socket Type What to wire in
Bars bars Bars to align the signal to.

Outputs

Output Type Plots as Description
On day signal Signal arrows True on bars whose weekday is enabled.

Parameters

Parameter Type Default What it does
Mon on / off True
Tue on / off True
Wed on / off True
Thu on / off True
Fri on / off True
Sat on / off False
Sun on / off False

Reference auto-generated from the block catalog · category Time.