Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Indicatori

Session Clock - indicatore per MetaTrader 5

Gabriele Volpato
Gabriele Volpato
5 (1)
Eudora Lab è la casa degli Expert Advisor Eudora.
Un Expert Advisor per strumento, validato su tick reali, con la ricetta esatta del backtest pubblicata: puoi riprodurre i numeri prima di comprare.
Ogni messaggio riceve una risposta personale.
Visualizzazioni:
192
Valutazioni:
(1)
Pubblicato:
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

Which sessions are open right now, how long until the next one opens, and how much time is left on the current candle: Session Clock answers at a glance, on a 24-hour dial that turns with the day.


Session Clock on EURUSD M15: opening, live countdown, collapse and expand

The panel is drawn on a canvas with antialiased shapes and smooth transitions. The arcs of the sessions draw themselves in when the panel opens, the hand moves with the GMT clock and the open sessions light up. A button in the header folds the panel into a slim bar with the open sessions and the candle countdown, and the panel can be dragged anywhere on the chart by its header. The code is a single file and uses only the standard Canvas library.

What the panel shows

  • Dial: 24 hours in GMT, midnight at the top, clockwise. One arc per session: Sydney, Tokyo, London and New York. An open session is bright with a soft glow, a closed one is dim. The hand marks the current time.
  • Candle countdown: in the center, the time left before the current candle of the chart timeframe closes, with a ring that fills as the candle progresses. When the market is closed it shows the time to the next trading session of the symbol.
  • Legend: one line per session with its hours and "open, closes in 2h 14m" or "opens in 5h 02m".
  • Spread: the current spread in points against the average collected since the indicator was loaded.
  • Day range: the high-low of today as a percentage of the average daily range of the last 14 trading days.
  • GMT / Server: both clocks.

Daylight saving time

The session hours follow daylight saving time by themselves. London moves with the European rule, New York with the United States rule and Sydney with the Australian rule, each on its own dates, so the weeks of March, October and November in which the three are out of step are shown correctly. Tokyo never moves. The rules were checked hour by hour from 2024 to 2030 against the official time zone data.

Inputs

  • Distance from the left edge / top edge: starting position of the panel, in pixels. After that the panel remembers where it was dragged, chart by chart.
  • Panel size, percent: scales the whole panel; it also follows the DPI of the screen.
  • Accent color: the color of the light on the panel.
  • Start collapsed: opens the panel as a bar the first time.
  • Sydney / Tokyo / London / New York opens at, hour GMT: the opening hours in northern winter (21, 0, 8, 13). Each session lasts nine hours.
  • Adjust the sessions for daylight saving time automatically: on by default. Turn it off to use the hours exactly as entered.

Works on any symbol and timeframe. One copy per chart.

Trade Pad Trade Pad

An animated one-click trading panel for the chart symbol: buy and sell with live prices, lot stepper, close all, close profit, close loss and breakeven, with confirmations, a practice mode and a collapsible, draggable panel.

Equity Drawdown Monitor Equity Drawdown Monitor

An animated chart panel that shows the equity drawdown of the account in real time, the closed result of the day, week and month, and one line for every Expert Advisor running on the account.

Info Panel – candle countdown, spread, ATR and daily range Info Panel – candle countdown, spread, ATR and daily range

Panel showing a candle countdown, spread, daily ATR and the proportion of the daily range already used.

MTF Order Block Zones Indicator MTF Order Block Zones Indicator

MTF order blocks from the chart timeframe or a higher one, shaded on the chart and followed bar by bar: fresh until price comes back, tested after that with every return counted, broken once a close goes through. Sizes are measured in average ranges, so the defaults fit any symbol, and a new zone absorbs the ones it overlaps, so zones never stack.