OPEN-SOURCE SCRIPT
VWAP (5 min)

VWAP (5 min) is a session-based market structure indicator for futures/equities traders. It automatically plots the key price levels that ICT and institutional traders reference daily:
Session Levels
RTH (Regular Trading Hours) High, Low, and Open — updated live during the 9:30–4:00 PM session
Overnight (ON) High and Low — covers the 5:00 PM–9:30 AM globex session, with a gray background shading during those hours
Initial Balance (IB) High and Low — the first 60 minutes of RTH (9:30–10:30 AM), drawn as a two-tone box
Prior Day Levels
Yesterday's High (YH) and Yesterday's Low (YL) — carried forward from the prior RTH session
VWAP
A 5-minute timeframe VWAP that can be displayed on a 1-minute chart, colored green when trending up and red when trending down
Includes an adjustable Lookahead toggle in the VWAP Settings group — when off (default), VWAP only updates on confirmed 5-min bar closes, which is safe for backtesting and avoids repainting; when on, VWAP updates in real time as the current 5-min bar develops, which is useful for live trading but will repaint on historical bars
Labels
All levels are labeled dynamically at the right edge of the chart and scale their offset based on how many bars are visible
Session Levels
RTH (Regular Trading Hours) High, Low, and Open — updated live during the 9:30–4:00 PM session
Overnight (ON) High and Low — covers the 5:00 PM–9:30 AM globex session, with a gray background shading during those hours
Initial Balance (IB) High and Low — the first 60 minutes of RTH (9:30–10:30 AM), drawn as a two-tone box
Prior Day Levels
Yesterday's High (YH) and Yesterday's Low (YL) — carried forward from the prior RTH session
VWAP
A 5-minute timeframe VWAP that can be displayed on a 1-minute chart, colored green when trending up and red when trending down
Includes an adjustable Lookahead toggle in the VWAP Settings group — when off (default), VWAP only updates on confirmed 5-min bar closes, which is safe for backtesting and avoids repainting; when on, VWAP updates in real time as the current 5-min bar develops, which is useful for live trading but will repaint on historical bars
Labels
All levels are labeled dynamically at the right edge of the chart and scale their offset based on how many bars are visible
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。