Session and Key Levels Asia London New York
- Indicators
-
Kazuma Uezono
MQL5 / MQL4 / Pine Script v6 developer and active trader.
Seller on the MQL5 Market (indicators for MT4/MT5).
Services:
- TradingView Pine Script to MT5/MT4 conversion (bar-by-bar matching, with tester report)
- MT4 to MT5 migration - Version: 1.0
- Activations: 5
Session & Key Levels draws the Asia, London and New York sessions (plus one optional extra session) as boxes with their high, low and open lines, and adds key levels: previous day, week and month high and low, week and month open, and round numbers. Session times can be set in New York time, London time, UTC or server time, with daylight saving handled automatically.
It is meant for intraday traders who mark session ranges and prior-day levels by hand and want them drawn consistently on any broker's server clock. It is a display tool only: it gives no buy or sell signals and does not place orders. Sessions are time markers; they say nothing about how price will move.
Features
- Up to 4 sessions with name, start, end and color. Defaults in New York time: Asia 19:00-03:00, London 03:00-11:00, New York 08:00-17:00, and "NY Open" 09:30-11:00 (off by default). Sessions may cross midnight.
- Box (filled, outline only or none), dotted open line, high and low lines, and the session name at the top left of the box.
- High and low lines of finished sessions are extended to the right until price takes them, then stop and fade (other choices: hide the extension, inside the box only, off).
- Key levels: previous day high and low (on by default); previous week high and low, previous month high and low, week open, month open and round numbers (off by default).
- Panel: current session, and for each session the range of the latest session, the average range of earlier finished sessions and the ratio of the two.
- Alerts (all off by default): a close breaks a finished session high or low, a session high or low is taken, a close breaks a previous day / week / month level, a key level is taken or a round number is crossed. Pop-up, sound and push notification.
- Panel, chart text and alerts in English or Japanese (Auto follows the terminal language).
Main Inputs
- Sessions: time base (New York, London, UTC or server time), and for each of the 4 sessions show, name, start, end (HH:MM) and color.
- Display: sessions shown per name (1-60, default 5), box style, fill strength, open line, high / low line style, names, line width.
- Key levels: each level on or off, round number step (0 = auto) and count above and below (1-10, default 2), how weekend bars are counted (Monday by default, or Friday), colors.
- Panel: on or off, number of sessions for the average range (1-100, default 20), corner, text size, unit (auto, pips, points or price).
- Alerts: the four events and the three delivery methods.
- Server time: winter UTC offset (99 = auto) and daylight saving rule (auto, US style, European style or none).
How It Is Calculated
- A bar belongs to a session when its opening time is at or after the start and before the end. Sessions are drawn on charts below H4; on H4 and above only key levels are shown. Times with minutes (for example 09:30) work best on M30 and lower.
- "Taken" means a later bar's high reached the session high (or its low reached the session low). The line stops at the first such bar.
- Round numbers: the automatic step is 50 pips (00 and 50) on forex; on other symbols it follows the size of the price.
- Server time: the UTC offset is read from the terminal. The daylight saving rule is detected from the opening times of past weeks on H1. On non-forex charts a major forex pair from Market Watch is used for this check. The panel shows the result, for example "Server UTC+2 (EU DST, auto/history)".
- Month levels use MN1 history; if monthly bars are not available they are not drawn.
Notes and Limits
- Only the session in progress changes: its high, low and box grow while it runs. Finished sessions and the bar on which a level was taken do not change afterwards. Breaks are judged on closed bars only.
- Before release, session highs and lows were compared with an independent recalculation, including the weeks when US and European daylight saving change on different dates; no differences were found in these tests.
- If there is not enough H1 history, a default rule is assumed until it can be checked. If the panel shows a server rule that does not match your broker, set the offset and rule by hand.
- Bar boundaries and the server clock depend on the broker, so the same symbol can show different values at different brokers.
- Past events at loading are not alerted. Right after start, while the indicator catches up with the latest prices, several alerts can come at once.
- Not an entry, take-profit or stop-loss level and not a probability. Past charts do not guarantee future results. Trade decisions are your own.
- Objects whose names start with "SLV_" belong to this indicator and are cleaned up by it. Temporary global variables starting with "SLV" are used to coordinate copies.
Compatibility and Support
- MetaTrader 5 only. The MT4 version is a separate product. Any symbol; sessions on timeframes below H4. Tested on M1 to H4.
- Up to 8 copies on one chart, for example one in New York time and one in server time. Panels in the same corner are stacked, and overlapping fills of two copies are drawn once.
- Works with templates and after a terminal restart. No DLLs, no internet access. No files are written unless the support log option (off by default) is turned on.
- A PDF user guide (English or Japanese) is sent on request through MQL5 messages after purchase.
- Support through MQL5 messages, reply within 3 business days, for installation, settings and bug reports. Questions about market views, trade decisions or how to read a result cannot be answered.
