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

votes: 30
2010.02.11 14:44
2016.11.22 07:32
ctimer.mqh (6.95 KB)view

An indicator can be useful for traders who are working on opening of the new candle, it prints the time to close of the current timeframe.

If the timeframe is lower than H1, it also prints the time to close of the current hourly candle.


While writing this indicator, I have created a class CTimer, it's located in file CTimer.mqh. It's very simple, you can use it if necessary in your own indicators and Expert Advisors.

The button "enables" and "disables" the timer. The source of the indicator is located in two files, before its use, copy both them in the same folder.

Original version: TimerClosingPeriod

Translated from Russian by MetaQuotes Software Corp.
Original code:

ErrorDescription ErrorDescription

The library contains functions that returns description of runtime error codes and trade server return codes.

LoongClock LoongClock

A very simple sample of clock

LoongMAx96 LoongMAx96

Draws 96 line MAs with only 100 lines of code (uses CMyBuffer class).

sChartsSynchroScroll sChartsSynchroScroll

The script provides a synchronous scrolling for all charts opened in the client terminal.