Complete Suite: all 12 tools. 6 Premium desks inside.All 12 tools $606.98 one by one

$606.98 one by one $299 once Save $307.98Get the SuiteGet it
ProEA Lab · MT5, TradingView and trading research · Evidence standards
Order Flow

ICT Killzones + Pivots [TFO] Settings, Read From the Code

TFO's ICT Killzones + Pivots (61,352 boosts on TradingView) reads all six killzone rows in one Timezone setting: America/New_York by default, which follows New York's clock changes, or one of 27 fixed GMT offsets, which don't. Here is what each of its inputs does, read from its 1,074-line Pine v6 code, with a drill that moves the Timezone and the date across March 2026's clock changes.

· 11 min read
Explainer cover titled ICT Killzones + Pivots, read from the code: TFO's six killzone rows on Tuesday 10 March 2026 drawn twice on a New York clock, with Timezone America/New_York every box on its New York window, and with GMT-5 every box an hour late.
Links to TradingView in this article are partner links: if you open a new TradingView account through one and buy a plan, TradingView may pay ProEA a commission, at no cost to you.
One input decides whether TFO's killzones keep New York's hours. ICT Killzones + Pivots by TFO (61,352 boosts on 26 November 2026) reads all six of its killzone rows in its Timezone setting, America/New_York by default, so the boxes move with New York's daylight saving time. Its 27 other choices are fixed GMT offsets, which its own tooltip says are "not adjusted to reflect Daylight Saving Time changes". Two more defaults to know: New York AM is typed 0930-1100, not 08:30, and a wick through a killzone's high or low ends its line and sends the alert on the live candle. Pick a Timezone and a date below and watch where the boxes land.
Pick the Timezone setting and the date, watch the boxesTFO's six killzone rows at their defaults, placed on New York's clock for the Timezone you pick, on three Tuesdays around March 2026's clock changes.
TUE 10 MAR 2026 · TIMEZONE America/New_York · NEW YORK TIMEON NEW YORK'S CLOCKASIA2000-000020:00–00:00LNDN0200-050002:00–05:00NYAM0930-1100NYL1200-1300 · offNYPM1330-1600RTH0930-1600 · off09:30–16:00New York00:0003:0006:0009:0012:0015:0018:0021:00UTC04:0007:0010:0013:0016:0019:0022:0001:00London04:0007:0010:0013:0016:0019:0022:0001:00filled: where Timezone America/New_York draws the boxdashed: the row on New York's clock
Timezone
Date

Tue 10 Mar: New York on UTC−4, London on UTC. New York changes on 8 March and 1 November 2026, London on 29 March and 25 October.

Tuesday 10 March 2026, Timezone America/New_York: every box sits on its New York window.

LNDN, typed 0200-0500, draws 02:00–05:00 New York time: 06:00–09:00 UTC and 06:00–09:00 in London. New York has been on UTC−4 since 8 March, and America/New_York moved the boxes with it: on UTC each one opens an hour earlier than on 3 March.

Window minutes, not candles: on a chart the script draws a box only over the symbol's own candles, on timeframes up to its Timeframe Limit (30 minutes by default), and its box ends at the last candle inside the window. The times come from our own code of Pine's session rules applied to the defaults the post reads in TFO's code (America/New_York through the IANA time-zone database, GMT offsets fixed all year); it isn't TFO's code and draws no prices, pivots or alerts.

Read as text: each row on Tuesday 10 March 2026, Timezone America/New_York
  • ASIA, 2000-0000: 20:00–00:00 New York (00:00–04:00 UTC, 00:00–04:00 London).
  • LNDN, 0200-0500: 02:00–05:00 New York (06:00–09:00 UTC, 06:00–09:00 London).
  • NYAM, 0930-1100: 09:30–11:00 New York (13:30–15:00 UTC, 13:30–15:00 London).
  • NYL, 1200-1300 (off by default): 12:00–13:00 New York (16:00–17:00 UTC, 16:00–17:00 London).
  • NYPM, 1330-1600: 13:30–16:00 New York (17:30–20:00 UTC, 17:30–20:00 London).
  • RTH, 0930-1600 (off by default): 09:30–16:00 New York (13:30–20:00 UTC, 13:30–20:00 London).

What we read

On 26 November 2026 we read the full source of ICT Killzones + Pivots [TFO] by tradeforopp as TradingView served it that day: 1,074 lines of Pine v6, version 19.0, updated 26 July 2026 (its page says it was first published on 26 June 2023). Line numbers below are the script's own. A search of TradingView's scripts that day for five terms ("ict killzones pivots", "ict killzones and pivots", "killzones pivots", "killzones + pivots" and "tfo killzones") found five scripts with pivots in the name: three open source, one protected and one invite-only. Two others carry nearly the same name, Im_SHIVya's ICT Killzones & Pivots [TFO] (418 boosts) and su6660777's ICT Killzones & Pivots (73); this page reads tradeforopp's own. We read code: we didn't load the script on a chart, and we didn't measure how any setting trades.

Its first line puts it under the Mozilla Public License 2.0. We quote it a line at a time, link it, and describe the rest in our own words; none of its code is in ours, and the drill above is our own arithmetic of Pine's session rules. How TFO's compares with 14 other killzone and session scripts, clock by clock, is in the killzone scripts, code-read; this page reads one script's settings, line by line.

The script's page and its code disagree twice. The page says "There are 5 Killzones / sessions whose times and labels can all be changed to one's liking", and of the cutoff time, "The indicator will apply this logic by default" (both read 26 November 2026). The code has six killzone rows (lines 45–73), and its Drawing Cutoff Time is off (line 172). We go by the code.

The six killzone rows

Each row is four inputs on one line of the Killzones group: a switch, a colour, a label and a session.

RowLabelSessionOn by defaultLine
1ASIA2000-0000yes48
2LNDN0200-0500yes53
3NYAM0930-1100yes58
4NYL1200-1300no63
5NYPM1330-1600yes68
6RTH0930-1600no73

Two settings sit above the rows. Show Boxes is on (line 42), and turning it off only makes the boxes transparent: line 365 still creates each one, with border_color = show_kz ? c : na, so the pivots, labels and table carry on. Session Limit, 3 (line 43), keeps "Only this many drawings" of each kind: three boxes per row, three sets of pivot lines, and so on.

A session is a window of minutes typed HHMM-HHMM, and ASIA's 2000-0000 runs from 20:00 to midnight. None of the rows names days, and "If unspecified, the session applies every day" (Pine manual, sessions, read 26 November 2026), so a row is drawn wherever the chart has candles in its window, a Sunday evening's included. The label is free text, and it goes into the alert: rename LNDN to London and the alert says "Broke London High".

Where a box starts and ends. The first candle of a window opens a box at that candle's high and low (line 365). On each candle inside the window, line 266 moves its right side to that candle's open time, and lines 267 and 268 stretch its top and bottom to the highest high and lowest low so far. So the box ends at the last candle inside the window, and while the window runs it grows with the live candle.

New York AM at 09:30. NYAM is typed 0930-1100, the stock market's open. The New York windows the sources on our killzone clock list start at 07:00, 08:00 or 08:30; to match an 08:30 window, type 0830-1100 in the NYAM row. NYL (12:00 to 13:00) and RTH (09:30 to 16:00, the regular stock session) are there but off. There's no London close row, but row 4 or 6 can become one: rename it and type 1000-1200.

The Timezone setting and daylight saving time

Every row is read in one setting in the Global group. Lines 230 to 235 test each row with Pine's time(), its session and that setting; line 230 is the first:

t_kz1 = not na(time("", kz1_session, gmt_tz))

gmt_tz is the Timezone input on line 174. Its default is America/New_York, and its other 27 options are fixed offsets, GMT-12 to GMT+14 in whole hours. Its tooltip: "Note GMT is not adjusted to reflect Daylight Saving Time changes". Pine's manual gives the reason: a time zone can be a UTC or GMT offset, or an IANA name, and "America/New_York" "follows UTC-5 during standard time and UTC-4 during daylight saving time (DST)" (Pine manual, time, read 26 November 2026). An offset never moves. In 2026 New York changed its clocks on 8 March and 1 November, so here is where LNDN's 0200-0500 lands, from the drill:

Timezone settingLNDN on Tue 3 Mar 2026, New York timeOn Tue 10 Mar 2026Through the year
America/New_York (default)02:00–05:0002:00–05:00Always on New York's clock
GMT-502:00–05:0003:00–06:00An hour late while New York is on summer time, 8 March to 1 November 2026
GMT-401:00–04:0002:00–05:00An hour early while New York is on standard time
GMT+021:00–00:0022:00–01:00Every row read in UTC: 5 hours early in winter, 4 in summer

The offset moves every row at once. By Pine's session rules, with GMT-5 on 10 March NYAM's 0930-1100 draws 10:30 to 12:00 New York time and ASIA's 2000-0000 draws 21:00 to 01:00 (worked from the code; we didn't load the script on a chart).

Your chart's own time zone doesn't move them. The clock under a TradingView chart changes only the labels on its time axis. Pine's manual: the chart time zone "does not affect time calculations in Pine scripts because they cannot access this chart information" (the same page). So a trader in London or Mumbai can leave Timezone on America/New_York, keep New York times in the rows, and set the chart to their own clock to read them; the boxes stay on the same candles. That matters most where the list has no offset at all: it holds whole hours only, so there's no GMT+5:30 for India.

GMT+0 isn't "my time". Picking your own offset doesn't convert the rows; it changes the clock they're read on. With GMT+0, LNDN's 0200-0500 means 02:00 to 05:00 UTC, which on 3 March 2026 was 21:00 to midnight New York time, the evening before London's window. An offset works only if you retype every row in it, and it still won't follow any clock change.

The same setting moves the opening-price lines (line 808), the timestamps (line 781), the cutoff (line 236), the day-of-week labels (line 649) and the dates in the tooltips. It doesn't move the previous day's, week's and month's levels: line 471 starts each of those periods with timeframe.change(n.tf), which takes no time zone, so they follow the chart symbol's own daily, weekly and monthly candles.

Pivots: the high and low it keeps

The Pivots group, lines 77 to 92: Show Pivots on, Solid, width 1; Midpoints off, Dotted, width 1; Pivot Labels on, at the Right; Alert Broken Pivots on; Extend Pivots... "Until Mitigated" (or "Past Mitigation"); ...From Which Sessions "Most Recent" (or "All").

While the window runs, its two pivot lines sit at the window's high and low so far and move with the live candle (lines 273–281). After it ends, each line extends candle by candle until price trades through it. Line 315 is the test for the high:

if high > kz._hi_line.get(i).get_y1() and kz._hi_valid.get(i) == true

A candle's high above the line is enough: a wick through counts, and where the candle closes doesn't matter. The low mirrors it on line 332. The line then stops ("Until Mitigated"), or keeps going ("Past Mitigation", line 310), and either way the level counts as hit.

Most Recent or All. Line 309, if not ext_current or (ext_current and i == 0), means that with Most Recent only each row's newest session is extended and checked. The tooltip on line 92 says so: "With Most Recent, each pivot is tracked until the killzone's next session begins". So yesterday's London high, still untouched, stops extending when today's London window opens. With All, every session the Session Limit keeps, three by default, is checked "until the Session Limit removes them".

Midpoints, off by default, add a dotted line at the middle of each window's range (line 390; they draw only while Show Pivots is on, inside if show_pivots, lines 379 to 389), which keeps extending after price crosses it. Drawing Cutoff Time, off by default, would stop every pivot line at 18:00 (1800-1801, line 173), and its tooltip says "a pivot first broken after the cutoff is recorded as a miss".

Alerts

Both kinds are alert() calls; the script has no alertcondition().

Alert Broken Pivots, on by default (line 90). Line 317:

alert("Broke "+kz._title+" High", alert.freq_once_per_bar)

Line 334 sends the Low. Line 316 adds two conditions: the switch, and i == 0, the row's newest session. With ...From Which Sessions set to All, an older session's line can still be traded through, but it sends no alert. Of alert.freq_once_per_bar, the manual says "Only the first call per realtime bar triggers the alert" (Pine manual, alerts, read 26 November 2026): the alert goes the moment a live candle trades through, not at its close. The tooltip on line 90 adds: "The desired killzones must be enabled at the time that an alert is created, along with the show pivots option, in order for alerts to work".

Alert High/Low Break, off by default (line 117): "Hit PDH", "Hit PDL" and their weekly and monthly versions when the previous day's, week's or month's high or low is traded through (lines 556 and 565), once per period. It names no frequency, so it takes the default, the first call on each live candle.

One alert on the script covers them all: "the alert will trigger on any call the script makes to the alert() function, provided its frequency constraints are met" (the same page). The alert has no switch per killzone, so turn off the rows you don't want alerts for before you create it.

What it decides on the live candle

Nothing in its 1,074 lines checks barstate.isconfirmed. The live killzone's box and pivot lines follow the forming candle (lines 266–281), and the test on line 315 reads that candle's high so far. Pine recomputes a live candle on every update, and before each recalculation it resets that candle's values, which its manual calls rollback (Pine manual, execution model, read 26 November 2026). But a candle's high can only rise and its low only fall while it trades, so a line that a live wick has crossed is still crossed at the close: a level ended mid-candle stays ended. What the live candle changes is when you hear about it. The alert fires on the wick, and a candle that then closes back inside doesn't take it back; a poke through and a close beyond look the same to the script.

It asks for no other timeframe: there's no request.security() in the code, so nothing on past candles is drawn from data a live chart wouldn't have had. The label merge and the data table are redrawn on the last bar only (lines 617 and 1030).

The other groups

Range Data & Levels. Show Data Table on, Top Right, Small (lines 96–98), with Pivot Stats, Range Level Stats and D/W/M Stats on (99–101), a Data Lookback of 20 (103) and Range Measurement "Average", or "Median" or "Standard Deviation" (104). The table sets each row's current range against the average of its last 20, and prints a "hit rate" for each high and low: by the code, the share of tracked sessions whose high or low was traded through while its line was still tracked (lines 319 and 355), with a session counted from the moment it opens. That's the script's own tally on your chart. We haven't checked it, and a share of levels touched isn't a trading result. Show Range Levels, off (106), draws lines above and below each killzone's opening price at 0.25, 0.5 and 1.0 times that measure; 1.5 and 2.0 sit in the list behind // (107).

Day - Week - Month. History "Session Limit" (114); Alert High/Low Break off (117); for each of the day, week and month, the Open off, High/Low on, Midline on and Divider off (119–135); dotted lines (137); Day of Week Labels off (140) and Hide Weekend Labels on (143). The lines are the previous period's high, low and midline, labelled PDH, PDL, PDM and their weekly and monthly versions (lines 526–531).

Opening Prices and Timestamps. Both on, each keeping the Most Recent line per time (147–148, 160–161). Each is a list typed one entry per line: "0930, blue, NY Open", "1200, orange, Midday" and "1600, #ff0000, Close" for horizontal lines at those candles' opens (150), and 0930, 1200 and 1600 for vertical lines (163). Both lists end with a midnight entry behind //; delete the two slashes to draw the 00:00 open. Each time becomes a one-minute window, "+1 minute for the window" (line 690), read in the Timezone setting. An entry it can't read is counted and shown in a "⚠ Settings" table on the chart (lines 1063–1073) instead of vanishing.

Global. Drawing Cutoff Time off, at 1800-1801 (172–173); Timezone America/New_York (174); Label Size Tiny (175); Timeframe Limit 30 (176). The Timeframe Limit's tooltip says "Drawings will not appear on timeframes greater than or equal to this", but line 361 tests timeframe.in_seconds("") <= timeframe.in_seconds(tf_limit): by the code the drawings do appear on a 30-minute chart, and not on anything longer. We haven't loaded it on one to see. Set it to 60 for the hourly chart.

Settings people ask about

  • The boxes don't show. The chart is above 30 minutes, the row is off, or the symbol has no candles in the window: a stock chart at regular hours has none in ASIA or LNDN. With Show Boxes off, the pivots still draw.
  • New York AM at 08:30. Type 0830-1100 in the NYAM row.
  • The midnight open. Delete the // in front of "0000, yellow, Midnight" under Opening Prices, and in front of "0000, yellow" under Timestamps for the vertical line.
  • Your own clock. Leave Timezone on America/New_York and set the chart's time zone to yours.
  • A London close row. Switch on NYL or RTH, rename it, and type 1000-1200.
  • Which settings to trade. We haven't tested any of them, and we don't name one. The windows differ from source to source; fix yours before you test, and test on closed candles with your costs.

Ours

ICT Levels Desk does the same job with different choices. Its Timezone is a typed IANA name, America/New_York by default, so any city's clock, daylight saving time included, can go in; leave it for ICT's windows. Its four killzones are Asia 20:00 to 00:00, London 02:00 to 05:00, New York AM 08:30 to 11:00 and New York PM 13:30 to 16:00, each editable, with no London close. Each box grows on closed candles only. When a window ends, its high and low become lines that read resting until a candle trades through: a close back makes it swept (⚡), a close beyond makes it broken, and the "Session high / low swept" alert fires on the closed candle. Its full Pine v6 source is in Pine Pro Library, $49 once.

Where TFO's does more: it's free to add, it has six rows to the desk's four, and it carries a stats table, range levels and typed lists of opening prices and timestamps. If that's what you need, use it, with the live-candle and Timezone points above in mind.

We haven't tested trading inside a killzone, with either script.

Check one yourself

  • The clock: find the time( calls and their third argument. "America/New_York" follows New York's clock changes; "GMT-5" or "UTC-5" doesn't; none at all reads the exchange's clock.
  • The list: if the Timezone input is a dropdown, read its options. TFO's has one city and 27 offsets.
  • Taken: high > level counts a wick; close > level counts a close.
  • When: search for barstate.isconfirmed, and read the frequency in each alert( call.

What the windows are for in ICT's teaching: ICT killzones, and the day split into accumulation, manipulation and distribution in AMD power of 3. The all-in-one ICT scripts, TFO's among them: ICT indicators, code-read. None of these scripts, ours included, runs on MT5: Pine Script runs only on TradingView.

Limits

One code read, on 26 November 2026, of the version TradingView served that day (docs/seo/research/2026-11-26-tfo-killzones-pivots-scripts.md). Scripts change, so check the version before you rely on a line number, and boosts measure popularity, not quality. We read the code; we didn't load the script on a chart. The drill shows window minutes from our own code of Pine's session rules, not TFO's script, and says nothing about how trading any window goes. We build and sell ICT Levels Desk, and we have no relationship with tradeforopp. Nothing here is financial advice.

Frequently asked questions

What are the default settings of ICT Killzones + Pivots [TFO]?

In version 19.0, read on 26 November 2026: ASIA 2000-0000, LNDN 0200-0500, NYAM 0930-1100 and NYPM 1330-1600 on, NYL 1200-1300 and RTH 0930-1600 off, all read in the Timezone setting, America/New_York. Session Limit 3; Show Pivots and Pivot Labels on, Midpoints off; Alert Broken Pivots on; Extend Pivots Until Mitigated, from the Most Recent session; the data table on, with a 20-session lookback; range levels off; the previous day's, week's and month's high, low and midline on; opening-price and vertical lines at 09:30, 12:00 and 16:00; Drawing Cutoff Time off; Timeframe Limit 30.

Does ICT Killzones + Pivots adjust for daylight saving time?

With its default Timezone, America/New_York, yes: every row is read on New York's clock, which moves between UTC−5 and UTC−4. Its other 27 choices are fixed GMT offsets, and its tooltip says "Note GMT is not adjusted to reflect Daylight Saving Time changes". By Pine's session rules, with GMT-5 every box sits an hour late on New York's clock from 8 March to 1 November 2026.

How do I show TFO's killzones in my own time zone?

Leave the script's Timezone on America/New_York and set your chart's time zone instead, from the clock under the chart. The chart's clock only relabels the time axis; Pine's manual says it "does not affect time calculations in Pine scripts". Picking your own GMT offset in the script doesn't convert the rows: it reads the typed times on that clock, so 0200-0500 at GMT+0 means 02:00 to 05:00 UTC.

How do I set the New York AM killzone to 08:30 in TFO's indicator?

Type 0830-1100 in the NYAM row of the Killzones group. Its default is 0930-1100, the stock market's open. The midnight open is in the Opening Prices list behind two slashes: delete the // in front of 0000, yellow, Midnight.

Why don't TFO's killzone boxes show on my chart?

Check the timeframe first: by the code it draws on charts of 30 minutes or less, its Timeframe Limit, though that input's tooltip says drawings won't appear at 30 or above. Otherwise the row is switched off, Show Boxes is off (the pivots still draw), or the symbol has no candles in the window, as a stock chart at regular hours has none in ASIA or LNDN.

How do the alerts in ICT Killzones + Pivots work?

Alert Broken Pivots, on by default, sends Broke, the row's label and High or Low the first time a live candle trades through the newest session's high or low, without waiting for the close; a wick is enough. An alert for the previous day's, week's and month's highs and lows is off by default. Both are alert() calls, so one alert on the script covers every row that was switched on when you created it.

Does ICT Killzones + Pivots repaint?

It decides on the live candle: the live killzone's box and lines grow with it, and a high or low is marked taken, with its alert, the moment a wick crosses it. A candle's high only rises as it trades, so a level crossed mid-candle is still crossed at the close, and the boxes and levels it drew on closed candles keep their prices. It requests no other timeframe.

What settings should I use for ICT Killzones + Pivots?

We haven't tested any, so we don't name one. Its windows are editable, and the sources on our killzone clock disagree on the Asia and New York ones. Keep Timezone on America/New_York so the boxes follow New York's clock, pick your windows before you test, and test on closed candles with your costs.

Continue reading

LuxAlgo Smart Money Concepts Settings, Read From the Code

LuxAlgo's Smart Money Concepts (180,940 boosts on TradingView) keeps its swing length in an unlabelled box beside Show Swings Points, fixes its internal structure at 5 candles in the code, and filters order blocks with a 200-candle ATR. Here is what each setting changes, read from its 848-line Pine v5 code, with a drill on simulated candles.

Nov 12 · ProEA Lab

Explainer cover titled LuxAlgo Smart Money Concepts settings, read from the code: the same simulated 15-minute candles drawn twice with swing and internal structure labels and order blocks, at swing length 50 with 1 swing break and at swing length 10 with 4.

Best VWAP Indicators on TradingView (2026), Code-Read.

We read the Pine source of eight popular open-source VWAP scripts on TradingView and its built-in VWAP: which compute true cumulative hlc3 volume-weighted variance, which decay volume with an EWMA or reset every 14 bars, which redraw swing polylines, and how to add a 09:30 ET cash-open anchor.

Nov 11 · ProEA Lab

Explainer cover titled Best VWAP indicators, code-read: a scorecard table of six popular TradingView VWAP scripts graded with ticks, halves and crosses across True Cumulative VWAP, Volume-Weighted StDev Bands, and Fixed Historical Bars.

Market Structure Indicators: BOS, CHoCH and MSS, Code-Read

We read the code of the most-boosted market structure scripts on TradingView, the ones that label BOS, CHoCH, MSS or MSB: what each calls a swing, whether a wick can break it, which show inducement (IDM), and whether any waits for the candle to close.

Oct 31 · ProEA Lab

Explainer cover titled Best BOS and CHoCH indicators, code-read: a table of six open-source TradingView scripts with ticks, crosses and halves for three checks: whether a close is needed to break structure, whether the script shows inducement, and whether it decides on a closed candle.