How to Set Alerts in MT4: Push Notifications Guide

To get a working price alert and push notification in MetaTrader 4, open the Terminal (Ctrl+T), click the Alerts tab, right-click and select Create, fill in your symbol, condition, and price level, then go to Tools → Options → Notifications, check Enable Push Notifications, and paste your MetaQuotes ID. Three quick checks confirm everything is working:
- The new alert appears as a row in the Alerts tab with the correct symbol and condition.
- Tapping Test in the Notifications settings sends a sample push to your phone within seconds.
- The mobile MT4 app shows the test message under Messages (or Chat and Messages, depending on your build).
Push messages are capped at 255 characters, and you can register up to 4 MetaQuotes IDs on a single desktop terminal.
Key Takeaways
Setting up MT4 alerts correctly requires the right menu path, a valid MetaQuotes ID, and a tested delivery chain before you rely on any notification for a live trade.
| Point | Details |
|---|---|
| Create alerts in Terminal | Use Ctrl+T → Alerts tab → Insert, or right-click the chart for a faster price-level alert. |
| Enable push with MetaQuotes ID | Go to Tools → Options → Notifications, enter up to 4 MetaQuotes IDs, and press Test to confirm delivery. |
| Respect the 255-character limit | Push messages over 255 characters fail; write alert text like a headline — symbol, direction, level. |
| Respect SendNotification rate limits | MQL4 enforces a maximum of 2 calls per second and 10 calls per minute; use state flags to avoid error 4253. |
| Practice on Ollatrade demo | Ollatrade’s MT4-supported Forex environment lets you test the full alert and push workflow without real capital at risk. |
Table of Contents
- How to create a price alert from the Alerts tab
- How to create an alert directly on a chart
- How to manage alerts: enable, disable, modify, and delete
- How to enable push notifications to your phone with MetaQuotes ID
- How SendNotification works in MQL4 and what rate limits you need to know
- How to verify that your alerts and push notifications actually work
- What to do when alerts don’t trigger or notifications don’t arrive
- Best practices for managing multiple alerts without overload
- The alert setup that actually holds up under pressure
- Ollatrade supports MT4 with live and demo accounts
- Sources
How to create a price alert from the Alerts tab
The canonical route runs through the Terminal window. Here is the exact sequence:
- Press Ctrl+T to open the Terminal (or click View → Terminal).
- Click the Alerts tab along the bottom of the Terminal panel.
- Right-click anywhere in the list and choose Create, or press Insert.
- Fill in each field:
- Symbol — the instrument you want to watch (e.g., EURUSD).
- Condition — choose from Bid >, Bid <, Ask >, Ask <, or Time = for a scheduled alert.
- Value — the exact price or time that triggers the alert.
- Expiration — the date and time after which the alert deactivates automatically.
- Actions — tick any combination of Sound, File, Email, and Notification (push).
- Click OK. The alert appears as a new row in the Alerts list.
Each row shows the symbol, condition, value, expiration, and whether the alert is currently enabled. The Alerts tab in the Terminal is the single place where all active and inactive alerts live, regardless of how they were created.
How to create an alert directly on a chart
The chart method is faster when you already have a price level in mind visually.
- Right-click on the chart at the price level you want to watch.
- Select Alert from the context menu.
- MT4 reads your cursor position and sets the condition automatically: if you clicked above the current price, it creates a Bid > alert; below the current price, a Bid < alert.
- A red arrow appears at the right edge of the chart, marking the alert level.
- To move the level, drag that red arrow up or down. To edit the details, double-click the arrow or right-click and choose Modify.
Expiration is assigned based on the chart timeframe. An alert created on an M15 chart gets a shorter default expiration than one created on a D1 chart, which prevents short-term intraday alerts from staying active indefinitely on longer timeframes.
Pro Tip: For intraday scalping, create alerts on M5 or M15 charts so the auto-expiration matches your trade window. For swing setups, use H4 or D1 charts and extend the expiration manually to cover the full expected move duration.
How to manage alerts: enable, disable, modify, and delete
Once alerts accumulate, keeping them organized matters more than most traders expect. The Alerts tab gives you full control without touching the chart.
| Action | Method |
|---|---|
| Create new alert | Right-click → Create, or press Insert |
| Modify existing alert | Double-click the row, or press Enter |
| Delete alert | Select row, press Delete |
| Enable / Disable alert | Press Space, or click the checkbox in the row |
Disabling an alert is not the same as deleting it. A disabled alert stays in the list with all its settings intact — symbol, condition, value, expiration — but it will not fire. That is useful for setups you want to reuse later, like a weekly support level you monitor periodically. Deleting removes the alert permanently.
For traders running multiple instruments, a simple naming discipline helps: include the symbol and condition in any notes field, and set explicit expirations rather than leaving alerts open-ended. An alert on GBPUSD Bid < 1.2500 with no expiration will keep triggering every time price revisits that level, which gets noisy fast.
How to enable push notifications to your phone with MetaQuotes ID
Push notifications are the fastest delivery channel MT4 offers, typically arriving within 1–5 seconds of a trigger. Setting them up takes about two minutes.
On the desktop terminal:
- Go to Tools → Options → Notifications.
- Check Enable Push Notifications.
- Enter your MetaQuotes ID in the field provided. You can enter up to 4 IDs, separated by commas, to push to multiple devices simultaneously.
- Click Test to send a sample message.
- Click OK to save.
Finding your MetaQuotes ID on mobile:
Open the MT4 app on your phone, go to Settings → Messages (some builds label this Chat and Messages). Your MetaQuotes ID is displayed there — it is unique to each device, so a phone and a tablet each have their own ID.
Common delivery problems and fixes:
| Problem | Fix |
|---|---|
| Push never arrives after Test | Check OS notification permissions for MT4 in your phone’s Settings |
| Wrong MetaQuotes ID error | Copy the ID directly from the mobile app; avoid manual retyping |
| Notifications arrive on desktop but not phone | Confirm the mobile app is logged in and background refresh is allowed |
| Significant delay | Switch from Wi-Fi to mobile data or restart the mobile app |
| Email arrives but push does not | Push and email are separate actions; verify Notification is checked in the alert’s Actions field |
For step-by-step push setup and OS-level troubleshooting, confirm that your phone’s notification settings for the MT4 app are set to “Allow” before assuming the desktop configuration is wrong.
How SendNotification works in MQL4 and what rate limits you need to know
If you write Expert Advisors or indicators, SendNotification is the function that sends push messages from your code to the devices listed in your Notifications settings.
Basic syntax:
bool result = SendNotification("EURUSD crossed 1.0850");
The text string must be 255 characters or fewer. The function returns true on success and false on failure, setting GetLastError() to a relevant code.
Rate limits are strict. The MQL4 reference specifies no more than 2 calls per second and no more than 10 calls per minute. Exceed either limit and the function returns error 4253 (ERR_NOTIFICATION_TOO_FREQUENT). Repeated violations can disable push delivery dynamically for that session.
| Limit | Value | Error code if exceeded |
|---|---|---|
| Max calls per second | 2 | 4253 |
| Max calls per minute | 10 | 4253 |
| Max message length | 255 characters | Wrong parameter error |
Testing when the Test button is absent:
Some MT4 desktop builds do not show a Test button in the Notifications settings. In that case, write a minimal one-shot EA that calls SendNotification("Test") inside OnInit, attach it to any chart, confirm the message arrives on your phone, then remove the EA.
Pro Tip: Use a boolean state flag in your EA to track whether a notification has already been sent for the current signal. Reset the flag only when the condition clears. This prevents a single price level from flooding your phone with repeated pushes every tick.
bool alertSent = false;
void OnTick() {
if (Bid > 1.0850 && !alertSent) {
SendNotification("EURUSD above 1.0850");
alertSent = true;
}
if (Bid <= 1.0850) alertSent = false;
}
How to verify that your alerts and push notifications actually work
A quick checklist before you rely on any alert for a live trade:
- Open the Alerts tab and confirm the alert row shows the correct symbol, condition, value, and expiration.
- If you have a Test button under Tools → Options → Notifications, press it and check your phone within 10 seconds.
- If no Test button is available, attach the one-shot EA described above.
- Open the Journal tab in the Terminal. After a test, look for a line confirming the notification was queued. Error messages like “wrong parameter” or “notification too frequent” appear here.
- On your phone, check the Messages section of the MT4 app and your phone’s notification shade.
Practical setup guides recommend pairing push with email for critical alerts. Push delivers in seconds; email provides a written record you can search later. For a high-stakes trade setup, checking both Actions in the alert’s configuration costs nothing and adds a useful fallback.
Pro Tip: Stage your most important alerts with both Notification and Email checked. If push fails due to a connectivity issue, the email arrives as a backup. For routine monitoring, push alone is sufficient.
What to do when alerts don’t trigger or notifications don’t arrive
Most failures trace back to one of five causes:
Alert is disabled. Check the Alerts tab. A disabled alert has no checkmark in its row. Press Space to re-enable it.
Alert has expired. If the expiration date has passed, the alert will not fire even if the condition is met. Open the alert, extend or remove the expiration, and save.
Push notifications are off at the OS level. This is the most common mobile issue. On iOS, go to Settings → Notifications → MetaTrader 4 and confirm alerts are allowed. On Android, check Apps → MT4 → Notifications. The MT4 app cannot override a system-level block.
Wrong or outdated MetaQuotes ID. If you reinstalled the mobile app or switched devices, your MetaQuotes ID changes. Re-copy it from the mobile app’s Settings and update the desktop Notifications field.
MT4 desktop is not connected. Alerts only fire when the terminal is running and connected to the broker’s server. A disconnected terminal cannot evaluate price conditions or send pushes. Check the connection status bar at the bottom of the MT4 window.
Best practices for managing multiple alerts without overload
More alerts do not mean better coverage. They mean more noise, and noise trains you to ignore notifications.
Keep the active alert count to what you can act on. A practical ceiling for most traders is 10–15 concurrent alerts across all instruments. Beyond that, the cognitive load of deciding which notification matters defeats the purpose of having alerts at all.
Group alerts by priority. Use the Expiration field to enforce discipline: short-term intraday alerts should expire within the trading session; swing alerts can run for days or weeks. Anything without an expiration should be a deliberate choice, not a default.
Pair alerts with the economic calendar when setting time-based triggers. A Time = alert that fires 5 minutes before a major data release gives you a heads-up to check your positions, without requiring you to watch the clock.
For EA-driven alerts, the state flag pattern from the SendNotification section is non-negotiable. An EA that calls SendNotification on every tick at a key level will hit the 10-per-minute cap within seconds and stop delivering entirely. Build the logic once, test it on a demo account, and reuse it.
Finally, review your Alerts tab weekly. Delete anything that has already triggered and served its purpose. Stale alerts clutter the list and make it harder to spot what is actually active.

The alert setup that actually holds up under pressure
Most traders set up alerts once, never test them, and discover the gap at the worst possible moment. The configuration is straightforward; the discipline around it is not.
The biggest practical mistake is treating alerts as a passive safety net rather than an active workflow tool. An alert that fires while your phone is on silent, with no email fallback, and no clear plan for what to do next, is just noise with extra steps. The setup only earns its keep when the action on the other end is already decided.
Push notifications beat email for speed, but email wins for auditability. For any alert tied to a real trade decision, run both. The 255-character limit on push messages is tight enough that you should write the alert text like a headline: symbol, direction, level, and nothing else. “EURUSD Bid > 1.0900 — check H4 resistance” fits. A paragraph does not.
The SendNotification rate limits are the part most EA developers underestimate. Two calls per second sounds generous until you have an EA scanning 10 pairs on every tick. Build the state flag pattern into every notification-enabled EA from the start, not as an afterthought when error 4253 starts appearing in the Journal.

Ollatrade supports MT4 with live and demo accounts
If you want to practice alert setups without risking real capital, Ollatrade’s Forex trading environment runs on MetaTrader 4 with full push notification support. Open a demo account, configure your alerts exactly as described here, and verify delivery under real market conditions before switching to a live account. The trading platform setup guide covers workspace configuration in detail, and the support team can assist with any MT4 connection or notification issue. Start with a demo account on Ollatrade to test your full alert workflow before going live.
Sources
- Notifications – MetaTrader 4 help (Settings Notifications)
- SendNotification – Common Functions – MQL4 Reference
- MetaTrader 4/5 Alert & Push Notification Setup Guide
Recommended
Makaleler yalnızca bilgilendirme ve eğitim amaçlıdır ve yatırım tavsiyesi niteliği taşımaz. CFD işlemleri önemli zarar riski taşır. Geçmiş performans, gelecekteki sonuçların güvenilir bir göstergesi değildir. Olla Trade Ltd. Anguilla'da kayıtlı bir kuruluştur.