OPEN-SOURCE SCRIPT
ORB & Session Liquidity Model [JOAT]

ORB and Session Liquidity Model [JOAT]
Builds the opening range for your chosen session, maps the liquidity around it, and signals breakouts with session-aware trade control.
What it is
The first minutes of a session set a reference range that the rest of the session repeatedly reacts to. This indicator defines that opening range, tracks the liquidity sitting above and below it, and signals confirmed breakouts — with session timing, a daily trade cap and full trade framing built in. It is an original session-driven model, not a generic breakout line.
How it works
• Opening range — during a user-defined opening window (for example the first N minutes of your session), the tool records the high and low. Once the window closes, that range is locked as the reference for the rest of the day and drawn as a box.

• Session logic — the model resets cleanly each new day using a real session-change test, so counters and levels do not carry stale values across sessions. Trading is only permitted inside the active session window you define.
• Liquidity ladder — levels around the range (its extremes and projections) are drawn and labelled as the liquidity price is likely to seek. These give context for where a breakout may run to or reverse from.
• Breakout signals — a Buy fires on a confirmed close beyond the range high plus a buffer; a Sell on a confirmed close below the range low minus the buffer. A per-day maximum-trades cap and a minimum-gap control prevent the level from generating repeated prints as price oscillates around it.
Trade levels
Each breakout draws a red risk box to the stop and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples. Stops relate to the range, which is the structure the trade is based on.
The dashboard
An adjustable session-console panel shows the current session phase (pre-range, range building, or live), the locked range, the directional bias relative to it, the trades used against the daily cap, the active signal, a conviction estimate, and a live first-target-before-stop tally from closed bars only.
How to use it
• Set the opening window and session to match the market you trade (indices, futures, forex sessions, crypto day boundaries).
• Wait for the range to lock, then trade confirmed breakouts in the direction of your bias; use the liquidity ladder for targets and invalidation.
• The daily cap keeps the model disciplined — respect it rather than overriding on every wiggle.
Settings
Opening-range window, session hours, breakout buffer, maximum trades per day, liquidity options, risk multiple and target R multiples, plus visual and dashboard controls.
Originality and usefulness
Opening-range breakout is a known concept; the contribution here is the integrated liquidity mapping around the range, the strict session reset and daily trade governance, the confirmed-close breakout logic, and the full non-repainting trade framing — assembled into one session-aware model and explained so each element's role is clear.

Notes and limitations
• Breakouts can fail, and range-bound sessions produce whipsaws around the levels — the buffer and daily cap reduce but do not eliminate this.
• Session settings must match the instrument; a mismatched window will define the range at the wrong time.
• The tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Builds the opening range for your chosen session, maps the liquidity around it, and signals breakouts with session-aware trade control.
What it is
The first minutes of a session set a reference range that the rest of the session repeatedly reacts to. This indicator defines that opening range, tracks the liquidity sitting above and below it, and signals confirmed breakouts — with session timing, a daily trade cap and full trade framing built in. It is an original session-driven model, not a generic breakout line.
How it works
• Opening range — during a user-defined opening window (for example the first N minutes of your session), the tool records the high and low. Once the window closes, that range is locked as the reference for the rest of the day and drawn as a box.
• Session logic — the model resets cleanly each new day using a real session-change test, so counters and levels do not carry stale values across sessions. Trading is only permitted inside the active session window you define.
• Liquidity ladder — levels around the range (its extremes and projections) are drawn and labelled as the liquidity price is likely to seek. These give context for where a breakout may run to or reverse from.
• Breakout signals — a Buy fires on a confirmed close beyond the range high plus a buffer; a Sell on a confirmed close below the range low minus the buffer. A per-day maximum-trades cap and a minimum-gap control prevent the level from generating repeated prints as price oscillates around it.
Trade levels
Each breakout draws a red risk box to the stop and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples. Stops relate to the range, which is the structure the trade is based on.
The dashboard
An adjustable session-console panel shows the current session phase (pre-range, range building, or live), the locked range, the directional bias relative to it, the trades used against the daily cap, the active signal, a conviction estimate, and a live first-target-before-stop tally from closed bars only.
How to use it
• Set the opening window and session to match the market you trade (indices, futures, forex sessions, crypto day boundaries).
• Wait for the range to lock, then trade confirmed breakouts in the direction of your bias; use the liquidity ladder for targets and invalidation.
• The daily cap keeps the model disciplined — respect it rather than overriding on every wiggle.
Settings
Opening-range window, session hours, breakout buffer, maximum trades per day, liquidity options, risk multiple and target R multiples, plus visual and dashboard controls.
Originality and usefulness
Opening-range breakout is a known concept; the contribution here is the integrated liquidity mapping around the range, the strict session reset and daily trade governance, the confirmed-close breakout logic, and the full non-repainting trade framing — assembled into one session-aware model and explained so each element's role is clear.
Notes and limitations
• Breakouts can fail, and range-bound sessions produce whipsaws around the levels — the buffer and daily cap reduce but do not eliminate this.
• Session settings must match the instrument; a mismatched window will define the range at the wrong time.
• The tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.