OPEN-SOURCE SCRIPT
Diupdate

Session Open Price

9 921
This Indicator displays the ICT kill zones' open price

You will be able to see the following open prices (ALL TIMES ARE IN NEW YORK TIME)
All times and appearances are customisable to your own liking.

The default time setting is recommended
- 00:00 AM Midnight New York Open Price (RED DASH LINE)
- 2:00 AM Frankfurt Open Price (GREEN DASH LINE)
- 3:00 AM London Open Price (BLUE DASH LINE)
- 8:30 AM New York Open Price (ORANGE DASH LINE)


HOW TO USE SESSION OPEN PRICE IN YOUR TRADING

If the price is above the opening price you only look for sells whereas if the price is under the opening price you only look for buys

BUY EXAMPLE

Wait for Midnight New York and Frankfurt open price to display
The price must be under both prices
Look for a Market maker buy model or your own entry model
Stoploss will be at the swing low and Take profit can be a fixed RR or how you calculate your take profit level
Catatan Rilis
Session Open Price marks the opening price of key trading sessions directly on the chart as horizontal reference lines, and optionally in a compact on-chart table. For each session, it tracks the exact price at which that session's candle opened and draws a line from that point forward — useful as reference levels for intraday bias, mean-reversion, or liquidity-run setups.
Supported sessions (each independently configurable):

Session times follow the chart's timezone setting, not a fixed exchange timezone

New York Open
London Open
New York Midnight Open
Asia Open
Frankfurt Open (off by default)
Sydney Open (off by default)

For each session, you can set: the exact session time, line style/color, whether to show a price label, and a custom name used in the table.
Key features

Historical session-open lines persist on the chart (each capped off when the next session begins, rather than overwritten)
Line extension modes: fixed length (hours), extend to the current bar, or extend infinitely right
Optional price label at the end of each line
Optional summary table (top-right) listing each enabled session's name and opening price
Declutter mode — cap the number of historical lines kept per session so lower timeframes don't fill up with old levels
Frankfurt and Sydney sessions available as opt-in toggles for traders who want a fuller session map

Changelog (v5 → v6)

Migrated from Pine Script v5 to v6
Fixed a breaking v6 issue: time() returns an int, and the original code relied on implicit int→bool casting (if tMidnighty), which v6 no longer allows — rewritten using explicit na() checks
Fixed a related v6 issue: booleans can no longer hold na — internal state tracking was reworked to use explicit flags instead
Added Asia session (renamed from an earlier "Tokyo" label)
Added Frankfurt and Sydney sessions as optional, off-by-default toggles
Added configurable line extension modes (previously hardcoded)
Added optional price labels
Added the opening-price summary table
Added custom per-session table labels
Added declutter mode for line history
Removed an earlier re-cross alert feature in favour of a simpler, table-focused display

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.