OPEN-SOURCE SCRIPT
Atualizado

jrhORBChecklist

150
jrhORBChecklist — Documentation

Standalone companion script that automates the ORB entry/exit checklist as a live TradingView table. Built to mirror the rules described for jrhMultiORB (close-only breakout, retest RTC/RTF, Failed-ORB REV/FADE, max-bars expiration, one-signal-per-direction lock).

Input Groups
Group Setting What it controls
Opening Range Window OR Session (exchange time)

The session window used to build the Opening Range (default 09:30–10:00)
Session Timezone IANA timezone for the OR session (default America/New_York)
Plot OR High/Low on Chart Toggles the lime/red OR High/Low step-lines

Retest / Reversal Rules Max Bars to Wait How long a retest or reversal/fade watch stays armed before it's abandoned as stale

Day Bias / Strength Filter ADX/DMI Length, ADX Smoothing Standard ADX/DMI calculation settings
ADX 'Weak Trend' Threshold Below this, bias reads "Weak / Choppy" regardless of DI direction

Checklist Table Show Checklist Table Master on/off
Position Where the table renders on the chart


Table Row Reference

OR Range
Shows the locked Opening Range high–low once the session window closes. Reads "forming..." while the session is still building. Everything else in the table is measured against these two levels.

Day Bias / Strength
Live ADX/DMI reading, recalculated every bar (unlike the rows below, which are historical snapshots). Format: Strong Up/Down (ADX X) or Weak / Choppy (ADX X). A low ADX going into a session means breakouts are more prone to failing/reversing.

Breakout Up / Breakout Down
Shows whether that direction's breakout has fired this session ("used this session" / "not yet"). Each direction can only fire once per session (one-signal-per-direction lock) — a second breakout attempt in the same direction won't retrigger it.

Retest (Up) / Retest (Down)
The core entry-decision row. Cycles through these states:
Status Meaning Action

OR locked — waiting for breakout No breakout yet Wait
Breakout confirmed — awaiting retest Breakout closed beyond the OR level, watching for price to come back and tag it Wait

RTC — continuation confirmed Retest candle closed back through the level, confirming the breakout is holding Entry signal in the breakout direction

RTF — retest failed Retest candle closed back inside the range Do not enter continuation; watch the opposite Reversal/Fade row instead
Retest window expired (stale) No retest touch within Max Bars to Wait Treat as void
Includes a (N bars ago) tag showing how long ago that status last changed — critical for judging whether an RTC/RTF is a live, actionable signal or old context from earlier in the session.

Reversal/Fade (from Up-fail) / (from Dn-fail)
Only activates after the matching Retest row shows RTF. Watches the opposite OR level:
Status Meaning
— Not armed (no RTF has occurred yet)
Armed - watching ORL/ORH for reversal/fade RTF occurred, now watching the opposite level

REV/FADE tagged at OR Low/High Opposite level was reached within the window — a separate, opposite-direction opportunity, distinct from the original breakout
Fade window expired (stale) No touch within Max Bars to Wait
Also includes a (N bars ago) tag.

Signal vs Bias Check
Compares the current Retest status against the live Day Bias reading:
Display Meaning
No conflict No confirmed RTC exists, or it agrees with Day Bias
⚠ Confirmed LONG vs Bearish Bias An RTC long is confirmed while Day Bias reads Strong Down
⚠ Confirmed SHORT vs Bullish Bias An RTC short is confirmed while Day Bias reads Strong Up

This is a caution flag, not a stop signal — it surfaces a judgment call (skip, reduce size, or tighten targets) rather than making it for you.

Important Usage Notes
• Retest/Fade rows are historical snapshots, not live recalculations. Once RTC/RTF/REV/FADE fires, that text stays displayed unchanged until the next session reset — always check the (N bars ago) tag before treating a status as a current signal.
• Day Bias is the opposite — it's a live indicator value recalculated every bar, so it can visibly diverge from an older Retest status as price evolves through the session.
• All session-tracking state (OR levels, breakout-used flags, retest/fade bar counters) resets automatically at the start of each new Opening Range session.
• This script does not compute stop/target levels or position size — pair it with your own risk rules.
Notas de Lançamento
Removed entirely: the "Info Table" input group (show toggle, position, size, and all 8 per-row show/hide toggles), the infoTable table object, and its full display block

Also cleaned up: the four color-helper functions (f_adxColor, f_barRatioColor, f_rsiColor, f_signedPct) and the adxRising variable — those existed only to feed the Info Table and had no other purpose, so they'd have been dead code left behind

Kept untouched: the underlying adxVal, rsiVal, atrVal, barRatio, and day_dir calculations, since your Execution Checklist table still reads several of those (ADX and Day Bias both show up in its "Day Bias / ADX" row)

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.