Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2016.02.01 08:59

ClockAnalog - indicator for MetaTrader 4

| English Español Русский Deutsch 日本語 Português

votes: 24
\MQL4\Images\ (9564.94 KB)
CGButton.mqh (12.71 KB)view
CGLabel.mqh (13.91 KB)view
CGraphBase.mqh (47.59 KB)view
CGTrendLine.mqh (10.41 KB)view
CStockClock.mqh (77.72 KB)view

24-hour analog GMT(UTC) market clock displaying in background. The clock displays the Greenwich Mean Time and shows the status of all main stock exchanges according to their schedule.

The clock shows the status of the following stock exchanges:

Tokyo, Singapore, Shanghai, Dubai, Moscow, Johannesburg, London, Zürich, Frankfurt, Riyadh, New York, Toronto, Chicago, Wellington, Sydney.

Transition to daylight saving/standard time is performed as follows:

  • Second Sunday in March: New York, Toronto, Chicago. Transition to daylight saving time.
  • Last Sunday in March: London, Zürich, Frankfurt. Transition to daylight saving time.
  • First Sunday in April: Wellington, Sydney. Transition to standard time.
  • Last Sunday in September: Wellington. Transition to daylight saving time.
  • First Sunday in October: Sydney. Transition to daylight saving time.
  • Last Sunday in October: London, Zürich, Frankfurt. Transition to standard time.
  • First Sunday in November: New York, Toronto, Chicago. Transition to standard time.

Stock exchange working hours in GMT (information from

  • Tokyo. Open — 0:00, close — 6:00.
  • Singapore. Open — 1:00, close — 9:00.
  • Shanghai. Open — 1:30, close — 7:00.
  • Dubai. Open — 6:00, close — 10:00.
  • Moscow. Open — 6:00, close — 14:45.
  • Johannesburg. Open — 7:00, close — 15:00.
  • Riyadh. Open — 8:00, close — 12:30.
  • London, Zürich, Frankfurt. Standard time: open — 8:00, close — 16:30. Daylight saving time: open — 7:00, close — 15:30.
  • New York, Toronto, Chicago. Standard time: open — 14:30, close — 21:00. Daylight saving time: open — 13:30, close — 20:00.
  • Wellington. Standard time: open — 22:00, close — 04:45. Daylight saving time: open — 21:00, close — 03:45.
  • Sydney. Standard time: open — 00:00, close — 06:00. Daylight saving time: open — 23:00, close — 05:00.

The clock has two color schemes for both white and black chart background. You can change the second hand color and style in settings.

Button actions:


Bring to front:

Hide (move function doesn't work in hidden state):

The demo mode allows you to display opening and closing hours for any date:

Files location:

  • archive contains images in BMP format. Extract it to /Images folder maintaining the folder structure. In /Images folder, ClockAnalog folder should appear, containing following sub-folders: /104 (32 files), /110 (36 files), /111 (34 files), /203 (36 files), /403 (36 files), /409 (32 files); /Images/ClockAnalog should contain 5 BMP files.
  • MQH files should be put in /Include/ClockAnalog.
  • You can place ClockAnalog.mq4 in any indicator folder you like, for example, /Indicators/My.

Translated from Russian by MetaQuotes Software Corp.
Original code:

ID Lite Info MA ID Lite Info MA

The indicator displays the values of the Moving Averages (MA), deltas between the values and deltas between МАs.

Grid Grid

Arrangement of the pending orders at equal intervals (steps).

Calc Profit Loss on LinePrice Calc Profit Loss on LinePrice

The calculation of profit/loss in the deposit currency at the desired symbol price level on all open orders.

Ultra Oscillator Ultra Oscillator

Another interpretation of the moving averages indicators.