Asia London New York Session Key Levels
- Indicadores
-
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 - Versão: 1.0
- Ativações: 5
Session & Key Levels draws trading sessions (Asia, London, New York and one optional extra session) as boxes with their high, low and open lines, and adds key levels: previous day / week / month high and low, week and month open, and round numbers. The highs and lows of finished sessions are extended to the right until price takes them, then they stop and fade. A small panel shows the current session and each session's latest range compared with its recent average. It is a display tool: it gives no buy / sell signals and does not place orders. Sessions are time markers on the chart; they say nothing about how price will move.
SESSIONS (up to 4)
- Defaults in New York time: Asia 19:00-03:00, London 03:00-11:00, New York 08:00-17:00, and a fourth session "NY Open" 09:30-11:00 (off by default). Name, start, end and colour of each session can be changed. Sessions may cross midnight.
- A bar belongs to a session when its opening time is at or after the start and before the end.
- Box: filled, outline only, or none. Open line (dotted) and high / low lines. Session name at the top left of the box.
- High / low lines of finished sessions, four choices: extend until taken, then stop and fade (default) / extend until taken, then hide the extension / inside the box only / off.
- "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.
- The latest 5 sessions of each name are drawn (1-60).
- Sessions are drawn on charts below H4. On H4 and above they are left out and only key levels are shown.
- Times with minutes (for example 09:30) work best on M30 and lower timeframes (tested on M5-H4). On H1 a session starting at 09:30 begins with the 10:00 bar.
KEY LEVELS
- Previous day high / low (on by default).
- Previous week high / low, previous month high / low, week open, month open, round numbers (all off by default).
- Each level is drawn until price takes it, then stops and fades (follows the session line setting "fade" / "hide").
- Round numbers: automatic step is 50 pips (00 and 50) on forex symbols; on other symbols it is taken from the size of the price (for example 50 for a price in the thousands). A fixed step can be entered. 2 lines above and below the current price (1-10).
- Month levels use the MN1 history; if the monthly bars are not available they are not drawn.
TIME ZONE AND SERVER TIME
- Session times can be given in New York time (daylight saving automatic), London time (daylight saving automatic), UTC or the broker's server time.
- To convert, the indicator needs the server's UTC offset and its daylight saving rule. The offset is read from the terminal. The rule (US style, European style or none) is detected from the opening times of past weeks on H1. On non-forex charts (gold, indices, etc.) a major forex pair from Market Watch is used for this check, because their week can open later.
- If there is not enough H1 history, a default rule is assumed until it can be checked. You can also enter the winter offset and the rule by hand.
- In MT4 the current server offset is confirmed when a new price arrives after the start. While the market is closed (for example at the weekend) the panel can show "estimating" and the offset found from past bars is used until then.
- The panel shows the result, for example "Server UTC+2 (EU DST, auto/history)", so you can see which rule is used.
- Weekend bars (Sunday and Saturday) are counted as Monday by default (Friday can be chosen). Previous day, previous week and week open use these day and week boundaries.
PANEL
- Current session ("between sessions" when none).
- For each session: range of the latest session (in progress or last finished), average range of the earlier finished sessions (last 20, 1-100) and the ratio of the two. "*" means fewer finished sessions than the chosen number were available.
- Units: pips for forex, price difference for other symbols (pips, points or price can be chosen).
- Corner and text size can be changed.
ALERTS (all off by default)
- A closed bar's close breaks a finished session high / low.
- A finished session high / low is taken (touched).
- A closed bar's close breaks a previous day / week / month high / low.
- A key level is taken, or price crosses a round number (the same line does not alert again until price has moved at least ATR(14) x 0.5 away from it).
- Pop-up, sound and / or push notification.
- Events found in past bars at loading are not alerted. Right after start, while the indicator catches up with the latest prices, several alerts can come at once.
WHAT CAN CHANGE ON THE CHART (please read)
- Only the session in progress changes: its high, low and box grow while it runs.
- Values of finished sessions and the bar on which a level was "taken" do not change afterwards. Breaks are judged on the close of 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.
TWO COPIES ON ONE CHART
- 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.
- Where filled boxes of two copies overlap, only the copy with the smaller number draws the fill, so colours do not pile up. Overlapping sessions inside one copy (for example London and New York) mix their colours.
IMPORTANT
- Not a buy / sell signal, not a trade, take-profit or stop-loss level, and not a probability. Session ranges and levels only describe where price has been.
- It does not promise any win rate or profit, and past charts do not guarantee future results. Trade decisions are your own responsibility.
- Bar boundaries and the server clock depend on the broker, so the same symbol can show different values at different brokers. If the panel shows a server rule that does not match your broker, set the offset and rule by hand.
- Objects whose names start with "SLV_" are treated as this indicator's drawings and are cleaned up. Do not use such names for your own objects. Temporary terminal global variables starting with "SLV" are used to coordinate copies.
- Push notifications need the terminal's notification settings.
OTHER
- MetaTrader 4 only (the MT5 version is a separate product). Works on any symbol; sessions on timeframes below H4. Tested on MT4, M5 to H4.
- Panel, chart text and alerts in English or Japanese, chosen automatically from the terminal language (can also be set by hand).
- MT4 shows at most 62 bytes in one chart text, so very long chart texts (for example joined line names with long Japanese session names) are shortened.
- 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 available: send a message through MQL5 after purchase and it will be sent to you.
- Support through MQL5 messages, reply within 3 business days: installation, settings and bug reports only. Questions about market views, trade decisions or how to read a result cannot be answered.
