New Session¶
Indicators · Levels
Fires on the first bar of the selected session (London / New York / Asia / full day). Use as a per-session RESET — wire into OncePer for 'one entry per session', or into BarCount / running-extreme resets.
New Session fires a single true pulse on the first bar of the chosen session — London, New York, Asia, or the full trading day. It's the timing anchor for session-based logic: the clean "the session just opened" edge you reset counters, ranges and once-per rules on.
How it works¶
From the bars input, using each bar's timestamp, it detects the transition into the selected session and emits True on that first in-session bar only (then False until the next session opens). Session boundaries are evaluated in the session's own exchange timezone, so they land on the right bars regardless of your chart's display zone. Lookahead-free.
When to use it¶
Use it as a reset almost everywhere session structure matters: wire it into Once Per for "one entry per session," into a running-extreme reset for session highs/lows, or into Opening Range-style logic. It's the deterministic per-session heartbeat — mark our own session boundary rather than guessing from a bar count.
Example¶
One trade per London session: wire New Session (session = London) into the reset of Once Per, and your entry trigger into its signal — only the first valid setup each London session gets through. Feed the result into the Tester.
Tips & gotchas¶
- Fires once per session — it's an edge, not a "we're in the session" state (for that, use a session filter).
- Exchange-timezone aware — boundaries are correct regardless of chart display zone.
- The natural reset source for counters, ranges and Once Per.
Related blocks¶
Inputs¶
| Socket | Type | What to wire in |
|---|---|---|
| Bars | bars |
Price bars. |
Outputs¶
| Output | Type | Plots as | Description |
|---|---|---|---|
| Open | signal |
Signal arrows | True on the session's first bar. |
Parameters¶
| Parameter | Type | Default | What it does |
|---|---|---|---|
| Session | choice (asia, london, newyork, day) |
london |
Reference auto-generated from the block catalog · category Indicators.