Skip to content

Trading hours

Trading hours only control when a strategy may open a position. Stops, take-profit, trailing exits, and other exit rules keep running around the clock. Without hours, entries can happen any time.

Set them in the strategy builder (Create or Edit), under Entry → Trading hours.

How a candle counts

A candle of the strategy's main timeframe counts only if it starts and ends inside the hours. Example: 1-hour candles with hours from 13:30 — first entry candle is 14:00–15:00; with hours ending at 20:00, the last is 19:00–20:00.

  • On candle close: the candle that just closed must be inside (the fill at the next open can still land outside the hours).
  • On candle touch: the forming candle must be inside.
  • Only the main timeframe is checked against the hours; other timeframes are read as usual.

Settings

Setting Default What it does
Hours Custom Custom, or a market session (Tokyo, London, New York). Sessions use that city's clock; custom uses Time zone.
From / To empty Custom only. Window start and end (HH:MM).
Time zone your time zone Custom only. IANA zone or UTC.
Weekdays off (every day) Custom only. Limit entries to the days you pick.
Every day off (Mon–Fri) Sessions only. Use session hours on weekends too.
Max entries per session off Cap how many entries are allowed in one window.

One position / Multiple positions, Cool-down, and Daily loss limit still apply. An armed trailing entry is cancelled on the first main candle outside the hours.

Custom hours

From and To use the Time zone below. If To is earlier than From, the window crosses midnight. + Add hours adds another window (up to 4).

Zones with daylight saving keep wall-clock times (for example 08:30 Chicago stays 08:30 Chicago year-round). UTC does not shift. New hours default to your Settings → Time zone; a strategy saved without a zone uses UTC.

Weekdays (Mon–Sun) limit entries to those days in the hours' zone. A window past midnight belongs to the day it starts. The session-end exit uses the same days.

Market sessions

  • Tokyo 09:00–15:00 Tokyo time
  • London 08:00–16:30 London time
  • New York 09:30–16:00 New York time

Sessions follow that city's clock (including daylight saving where it applies; Tokyo has none). By default they only enter Monday–Friday in that city; turn on Every day to include weekends. The builder shows today's window on your clock.

Max entries per session

Caps how many entries count in one window, then resets for the next. Each window and each day count separately. An entry counts toward the window of the candle that decided it. Whole number from 1 to 100 (placeholder 1).

Warnings

Yellow warnings in Entry don't block save. Common ones: no main-timeframe candle fits inside the hours; hours start/end mid-candle so the real window is the first/last full candle; main timeframe is long for the window; a Friday window ends Saturday; overlapping custom windows; Every day ignored on custom hours.

These block Save until fixed: missing From/To; times not HH:MM (00:00–24:00); From equals To (empty window; 00:00–24:00 is a full day and is allowed); no weekdays picked; max entries on with no number, or not 1–100.

Clock changes

The time-zone note states the rule for every zone that has daylight saving: a skipped time runs later by the jump (02:30 becomes 03:30), and a time that happens twice is used once, the first time. If a From/To time is skipped or repeated on a daylight-saving day in the next year, the builder also names that day under the time zone (save still works). Backtests and live trading match.

Good to know

  • A buy at a set UTC time is the Schedule entry condition Scheduled buy is due. Trading hours stay a window for other entries.
  • Exchange holidays aren't modelled.
  • Backtests use the same hours as live. The Buy and Hold benchmark in backtest results ignores hours.
  • Entry alerts follow the hours; exit alerts do not.