OPEN-SOURCE SCRIPT
RBD Cash Session Focus

Cash Session Focus
Auction-aware indicator that strips overnight noise and focuses on the cash session: Initial Balance + cash-anchored
VWAP.
What it does
Most charts blend overnight, pre-market, and cash-hour price action into one continuous stream — which hides what
actually matters. This indicator:
• Detects the symbol's cash session automatically (US indices, DAX, Nikkei, Gold) and dims everything outside it
• Plots the Initial Balance (1st-hour high/low range) as a translucent box — the day's reference rectangle
• Plots cash-session anchored VWAP (HLC3 × volume, reset each session) — true fair-value benchmark, uncontaminated by
overnight
• Optional ±1σ / ±2σ VWAP bands, prior-day closing VWAP level, and individual IB lines
Supported markets (auto-detected)
▸ US indices (NQ / ES / YM / SPX / NDX / DJI / Nasdaq / S&P / Dow CFDs)
Cash: 09:30–16:00 New York · 1st hour 09:30–10:30
▸ DAX (FDAX / GER40 / DE40)
Cash: 09:00–17:30 Frankfurt · 1st hour 09:00–10:00
▸ Nikkei (NK225 / JP225)
Cash: 09:00–15:30 Tokyo · 1st hour 09:00–10:00
▸ Gold (XAUUSD / GC / MGC)
Cash: 08:00–17:30 London · 1st hour 08:00–09:00
Manual override available for any symbol.
How to read it
• Price above VWAP + above IB box → trend-day long bias; pullbacks to VWAP / IB top are textbook entries
• Price below VWAP + below IB box → trend-day short bias; rallies to VWAP / IB bottom are entries
• Price oscillating inside IB box around VWAP → balanced auction / range day, fade extremes
• VWAP slope → fair-value drift direction (flat = balance, sloped = directional auction)
• ±2σ band touch in a trend → statistical exhaustion, candidate fade toward VWAP
• Prior-day closing VWAP → magnetic level the next day, like a settlement reference
Default view (institutional minimalism)
Only two visual elements are on by default:
1. IB box — cyan translucent rectangle from 1st-hour high to 1st-hour low
2. VWAP — cyan line
Everything else (bands, fill, Cash Open, IBH / IBL / IBC lines, prior VWAP, labels) is a toggle — summon detail only
when you need it.
Best results
Use on real-volume futures (CME E-minis, EUREX FDAX, OSE Nikkei, COMEX GC). VWAP and IB only carry institutional
weight when volume is real exchange volume. On CFDs (IG, OANDA) or spot forex the indicator still works structurally
but VWAP becomes a tick-volume proxy — fine as a reference, less precise as a benchmark.
Notes
• Prior days' levels auto-fade to dashed / thin so today dominates visually
• Keep "Keep N prior days' levels" at 2 for a clean chart, push higher for deeper context
• Indicator is overlay-only, no repaint, no future leak — all calculations run forward-only per bar
• Background dim color, line / box colors, line widths, and styles all customizable
---
Built for traders who treat the cash session as the day's primary auction.
Auction-aware indicator that strips overnight noise and focuses on the cash session: Initial Balance + cash-anchored
VWAP.
What it does
Most charts blend overnight, pre-market, and cash-hour price action into one continuous stream — which hides what
actually matters. This indicator:
• Detects the symbol's cash session automatically (US indices, DAX, Nikkei, Gold) and dims everything outside it
• Plots the Initial Balance (1st-hour high/low range) as a translucent box — the day's reference rectangle
• Plots cash-session anchored VWAP (HLC3 × volume, reset each session) — true fair-value benchmark, uncontaminated by
overnight
• Optional ±1σ / ±2σ VWAP bands, prior-day closing VWAP level, and individual IB lines
Supported markets (auto-detected)
▸ US indices (NQ / ES / YM / SPX / NDX / DJI / Nasdaq / S&P / Dow CFDs)
Cash: 09:30–16:00 New York · 1st hour 09:30–10:30
▸ DAX (FDAX / GER40 / DE40)
Cash: 09:00–17:30 Frankfurt · 1st hour 09:00–10:00
▸ Nikkei (NK225 / JP225)
Cash: 09:00–15:30 Tokyo · 1st hour 09:00–10:00
▸ Gold (XAUUSD / GC / MGC)
Cash: 08:00–17:30 London · 1st hour 08:00–09:00
Manual override available for any symbol.
How to read it
• Price above VWAP + above IB box → trend-day long bias; pullbacks to VWAP / IB top are textbook entries
• Price below VWAP + below IB box → trend-day short bias; rallies to VWAP / IB bottom are entries
• Price oscillating inside IB box around VWAP → balanced auction / range day, fade extremes
• VWAP slope → fair-value drift direction (flat = balance, sloped = directional auction)
• ±2σ band touch in a trend → statistical exhaustion, candidate fade toward VWAP
• Prior-day closing VWAP → magnetic level the next day, like a settlement reference
Default view (institutional minimalism)
Only two visual elements are on by default:
1. IB box — cyan translucent rectangle from 1st-hour high to 1st-hour low
2. VWAP — cyan line
Everything else (bands, fill, Cash Open, IBH / IBL / IBC lines, prior VWAP, labels) is a toggle — summon detail only
when you need it.
Best results
Use on real-volume futures (CME E-minis, EUREX FDAX, OSE Nikkei, COMEX GC). VWAP and IB only carry institutional
weight when volume is real exchange volume. On CFDs (IG, OANDA) or spot forex the indicator still works structurally
but VWAP becomes a tick-volume proxy — fine as a reference, less precise as a benchmark.
Notes
• Prior days' levels auto-fade to dashed / thin so today dominates visually
• Keep "Keep N prior days' levels" at 2 for a clean chart, push higher for deeper context
• Indicator is overlay-only, no repaint, no future leak — all calculations run forward-only per bar
• Background dim color, line / box colors, line widths, and styles all customizable
---
Built for traders who treat the cash session as the day's primary auction.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.