Tool
Fixed Levels (Round / Session)
market.fixed_levels
Inputs
No typed inputs.
Outputs
A set of fixed reference levels for the chosen source and period — prior high/low/open/close, round numbers, or the opening-range edges — each emitted as a horizontal price that holds for the whole period.
Fixed levels are reference prices that stay put for a whole period instead of being recomputed every bar — like yesterday's high and low, the weekly open, round numbers, or the opening-range edges. Traders lean on these as natural magnets and decision points.
How it works
Depending on level_source the tool either draws round-number levels spaced by round_step (with optional finer lines every secondary_step) or anchors to a prior period's high, low, open and close. The period_scope (session, day, week, month, or the opening_range) selects which completed period the high/low/open/close come from, opening_range_minutes sizes the opening-range window, and session_filter restricts session-based levels to a chosen trading session. band_count controls how many round levels are drawn out from price.
Modes
Level source options
Draws horizontal levels at round-number prices spaced by round_step (for example every 0.0100 on EURUSD), with optional finer lines every secondary_step — the psychological 'big figures' price gravitates toward.
When to use: When you trade reactions at round numbers and the figures that order flow naturally clusters around.
Anchors levels to a completed trading period's high, low, open and close rather than round numbers, so the lines reflect actual prior price action instead of fixed figures.
When to use: When you want yesterday's range, the prior session's extremes, or the weekly open as your references.
Period scope options
Takes the high, low, open and close from the prior trading session (Asia, London, or New York) so the references reset each session.
When to use: Intraday session trading where each session's prior range frames the next.
Anchors to the previous calendar day's high, low, open and close — the classic PDH / PDL / prior-day-open references day traders watch.
When to use: Day trading, where yesterday's range and open are the primary reference levels.
Anchors to the previous week's high, low, open and close, giving wider swing-trade references that hold for the whole week.
When to use: Swing trading and higher-timeframe bias, where the weekly range and open matter most.
Anchors to the previous month's high, low, open and close — the widest references, useful for positioning and major-level context.
When to use: Position trading or framing the broader monthly range on lower timeframes.
Marks the high and low of the first opening_range_minutes of the session, the opening-range breakout box that brackets the early auction.
When to use: Opening-range breakout strategies that trade the break of the first few minutes' range.
Session filter options
Builds session levels from whichever session just completed, with no restriction on which one.
When to use: When you want the most recent prior session regardless of region.
Restricts session-based levels to the Asian session, capturing the typically quieter overnight range that often sets the day's initial balance.
When to use: Strategies that trade the break of the Asian range as London opens.
Restricts session-based levels to the London session, the high-liquidity European window where many daily extremes form.
When to use: Strategies anchored to the London range or its open.
Restricts session-based levels to the New York session, the US window whose open and range drive afternoon volatility.
When to use: Strategies focused on the New York open and the US trading range.
Configuration
Where the levels come from: round draws evenly spaced round-number prices, session anchors to a prior period's high/low/open/close.
Price spacing between the main round-number levels in round mode (for example 0.0100 on EURUSD or 100 on an index). Larger spreads the levels further apart.
Spacing for optional finer round levels drawn between the main ones (for example mid-figures). 0 turns the secondary lines off.
How many round-number levels to draw on each side of price in round mode. Larger fills the chart with more figures; smaller keeps only the nearest few.
Which completed period supplies the anchored high/low/open/close: session, day, week, month, or the opening_range window.
How many minutes from the session start define the opening range whose high and low are marked. Used only when period_scope is opening_range.
Which trading session supplies session-based levels: any (most recent), asia, london, or ny.
Connects to
Examples
- Bias: read whether price is above or below the prior-day open with interpretor.sr_level to set a daily directional lean.
- Round-number reactions: in round mode, fade the first test of the nearest big figure.
- Opening-range breakout: with period_scope opening_range and a 15-minute window, trade a close beyond the opening-range high or low.
Common mistakes
- Using session-based levels while the period hasn't completed yet — the high/low keep changing until the period closes, so the 'fixed' level isn't fixed until then.
- Setting round_step to the wrong scale for the symbol (for example 0.01 on an index priced in thousands), which draws levels far off the visible chart.