LZ Candle Timer
- Indicatori
- Lukasz Tomasz Zychal
- Versione: 1.6
LZ Candle Timer displays the remaining time before the current bar closes and a new bar forms. It helps you manage entries and exits around candle closes. The indicator uses server time, updates every second, and is optimized for smooth display with minimal CPU use.
Feature highlights
- Selectable location: place the timer in any of the four chart corners (Upper Left, Upper Right, Lower Left, Lower Right). Offsets and padding are configurable.
- Alarm colour: when fewer than X seconds remain (default 10), the timer text switches to an alarm colour (default red). The threshold and colour are configurable; you can disable this.
- Optional sound alarm: play a sound (e.g. alert.wav) in the last seconds before bar close. Cooldown avoids repeated alerts; sound file is configurable.
- Customisable text: clock colour, font size, and positioning (X/Y offset, padding between logo and timer) are adjustable.
- Optional logo and author footer: show or hide the product logo and "Dev: Lukasz Zychal" signature; both are clickable.
- Lightweight: timer-based updates, no tick dependency; works consistently even when the market is quiet.
Input parameters
Timer settings
- Clock colour: colour of the countdown text.
- Font size: size of the timer digits.
- Corner: Upper Left, Upper Right, Lower Left, or Lower Right.
- X offset, Y offset: distance from the chart edge (pixels).
- Padding: space between logo and timer text.
- Alarm colour enabled: turn the countdown colour change on/off.
- Alarm below X seconds: seconds threshold for the colour change (default 10).
- Alarm colour: colour when in countdown (e.g. red).
- Sound alarm: enable/disable sound in the final seconds.
- Sound cooldown (seconds): minimum interval between sound plays (default 60).
- Sound file: name of the WAV file in MQL5/Sounds/ (e.g. alert.wav).
Branding
- Show logo, logo size: display and size of the indicator logo.
- Show author, author colour: display and colour of the author footer.
Installation
Copy CandleTimer.ex5 to MQL5/Indicators/ (or your preferred subfolder). Restart MetaTrader 5 or refresh the Navigator, then drag the indicator onto a chart.
Compatibility
MetaTrader 5, build 3815 or higher. All symbols and timeframes.
