wd.Multi_ClockPrice Lite version! -MetaTrader 5 Script- MT4/MT5 Resources



The MT5 custom indicator is called "wd.Multi_ClockPrice lite!", which is a streamlined version of "wd.Multi_ClockPrice".
"wd.Multi_ClockPrice Lite!" is designed to provide a visual representation of MT5 terminal server time and bid price on a chart. It contains basic functions for displaying clock and price information.
Clock display using timer() Event function that updates the server time every second. It synchronizes with the PC clock, allowing seamless updates. Even if MT5 is disconnected/offline, server time continues to run and is not dependent on price movements.

The indicator works as follows:
Place the "Server Clock and Bid" label in the designated subwindow:
The subwindow input parameter specifies the subwindow number where the label needs to be placed.
These clock and price information can be placed on the main chart or in sub-windows. The user can also adjust the label distance (Y position).
To place labels in the main chart, simply enter "0" in the "Subwindow Placement" property.
To place them in the subwindow below, enter "1 or 2 or 3, etc." User needs to attach indicator "wd.Multi_SubWindow" {append wd.Multi_SubWindow.mq5} .
Server time display:
this timer() Function updates the server time by adding or subtracting the specified increment (if necessary).
Often, the seconds displayed by the MT5 terminal and server time may not match, so in order to synchronize them, the user needs to adjust the seconds.
For example, if the MT5 server time is 05:28:06 and "wd.Multi_ClockPrice lite!" is displayed as 05:28:03, (it takes 3 seconds to adjust).
To have the displayed server time increase/adjust, in the "Seconds increase" indicator property, the user needs to enter a value of 3.

Prices are updated in real time, showing the current buying price.

Overall, the "wd.Multi_ClockPrice lite!" indicator effectively fulfills the basic needs for clock and price information.
It continuously updates the server clock every second to avoid stop time jumps, and also updates bids in real time.
Its most significant advantage is that it is very useful for users who hide all MT5 control panels (toolbars, market watch, navigator, etc.) and can maximize their monitor screen to display the full multi-chart. It also has an advantage for MT5 users whose brokers do not update server/terminal times frequently.
Use timer() The ability to run multiple EAs and multiple indicators simultaneously may affect the overall performance, especially when other EAs or indicators also use the same timer ID functionality.
Attachment download
📎 wd.multi_clockprice_lite1.jpg (32.65 KB)
📎 wd.multi_clockprice_liteg.mq5 (11.43 KB)
📎 wd.multi_subwindow.mq5 (3.46 KB)
Source: MQL5 #47847
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •