Bar Closing Timer and News Alert MT5
- Indicators
-
Layth Adil Khalaf Khalaf
Founder of Alphabet Academy | Certified Financial Market Analyst & Algorithmic Trading Systems Developer. - Version: 2.10
Bar Closing Timer and News Alert MT5 is a lightweight, clean, and highly practical utility designed for professional traders. It combines an automatic real-time candle countdown timer with built-in economic calendar alerts, helping you execute trades with precise timing and stay ahead of high-impact market events.
Unlike standard timers, this indicator dynamically positions the countdown text above the live price line, perfectly centered between the current candle and the chart's right edge for optimal visual clarity.
Key Features:
- Dynamic Floating Timer: Follows the live Bid price and stays perfectly centered above the price line without cluttering candles.
- Smooth Second-by-Second Updates: Utilizes OnTimer events to ensure the countdown ticks accurately even during low-volatility or slow-market sessions.
- Multi-Timeframe Compatible: Works seamlessly across all standard and custom MT5 timeframes (from M1 to MN1).
- Native Economic Calendar Integration: Directly connected to the built-in MT5 Economic Calendar (no web requests or third-party APIs required).
- High-Impact USD News Alerts: Pre-configured to monitor major US Dollar events by default, keeping you prepared for volatility spikes.
- Customizable Advance Notice: Triggers pop-up and sound alerts 15 minutes (or your custom duration) before scheduled news releases.
- Fully Configurable Currencies: Easily enable or disable alerts for EUR, GBP, JPY, CAD, and AUD directly from the inputs.
- Clean & Non-Repainting: Lightweight code that consumes minimal CPU and memory resources.
Input Parameters:
- InpTextColor: Customize the color of the countdown display.
- InpFontSize / InpFontName: Adjust text size and font style.
- InpYOffsetPix: Fine-tune the vertical offset above the price line.
- InpShowHours: Display hours for lower timeframes if desired.
- InpEnableCalendar: Toggle the economic calendar alert system on/off.
- InpAlertUSD / EUR / GBP / JPY / CAD / AUD: Select which currencies to monitor.
- InpOnlyHighImpact: Restrict notifications strictly to high-impact releases.
- InpAlertMinutes: Set how many minutes prior to the news release the alert should trigger.
100% Free Edition. Ideal for scalpers, day traders, and price action specialists.
