Mirage Trading System | Buy Trading Indicator for MetaTrader 5
This functionality is available in the trading system
Main Manual : Mirage Trading System - Trading Systems - 5 February 2026 - Traders' Blogs
Applies to: Mirage Trading System | PinBar Trading System | Inverted Hammer Trading System Version: 1.15 Author: Ich Khiem Nguyen — https://www.mql5.com/en/users/khiemni/seller
Table of Contents
- What Is the Notification System?
- Input Settings Reference
- LOCAL Alerts — Popup Alerts on Your Chart
- MTF Scanner Notifications — Push to Your Phone
- How to Set Up MetaQuotes ID for Push Notifications
- FAQ
- Tips
1. What Is the Notification System?
The indicator includes two independent notification systems that can run simultaneously or separately:
Type 1: LOCAL Alerts (Current chart alerts)
LOCAL Alerts display a popup dialog on your MT5 terminal screen when a signal on the currently open chart hits a condition (Entry, TP, or SL). These are on-screen alerts with sound — you must be at your computer to see them.
- Monitors only the chart the indicator is attached to
- Requires no additional setup
- Works without any phone or internet configuration
Type 2: MTF Scanner Notifications (Push to phone)
MTF Scanner Notifications send Push Notifications to the MetaTrader 5 app on your phone whenever the MTF Scanner detects a qualifying event across any symbol or timeframe it is scanning.
- Covers all symbols the MTF Scanner is monitoring
- Delivers alerts even when you are away from your computer
- Requires MetaQuotes ID setup (see Section 5)
- Only works when MTF Scanner is enabled
2. Input Settings Reference
When you attach the indicator to a chart, three input groups control notifications.
Group 1: === ALERTS === (LOCAL chart only)
| Input on MT5 | Type | Default | Description |
|---|---|---|---|
| Alert on entry hit | bool | true | Popup when price reaches the Entry zone of a LOCAL signal |
| Alert on TP hit | bool | false | Popup when price reaches Take Profit |
| Alert on SL hit | bool | false | Popup when price reaches Stop Loss |
| Alert cooldown (sec) | int | 30 | Minimum seconds between consecutive LOCAL popups |
Group 2: === MTF SCANNER ALERTS === (Master switch)
| Input on MT5 | Type | Default | Description |
|---|---|---|---|
| Enable Scanner Alerts (master switch) | bool | true | Master switch — enables or disables all MTF Scanner Push Notifications |
| Alert Cooldown (seconds between alerts) | int | 30 | Minimum seconds between consecutive MTF Push Notifications |
Group 3: === MTF SCANNER NOTIFY TYPES === (Events to notify)
| Input on MT5 | Type | Default | Description |
|---|---|---|---|
| Notify: New Pattern Detected | bool | false | Push when a new signal pattern appears on any scanned symbol/TF |
| Notify: Entry Price Hit | bool | true | Push when price reaches the Entry zone |
| Notify: Take Profit Hit | bool | false | Push when price reaches Take Profit |
| Notify: Stop Loss Hit | bool | false | Push when price reaches Stop Loss |
| Notify: Trailing Stop Hit | bool | false | Push when the Trailing Stop is triggered |
Important: Group 2 is the master switch. If Enable Scanner Alerts is false, all Group 3 settings are ignored regardless of their individual state.
3. LOCAL Alerts — Popup Alerts on Your Chart
How It Works
LOCAL Alerts monitor signals on the chart the indicator is attached to. When price satisfies an enabled condition, MT5 produces:
- An audible alert sound (MT5 default alert tone)
- A popup dialog showing signal information
The dialog will identify the symbol, timeframe, signal direction, and which condition was hit (Entry / TP / SL). Click OK to dismiss and resume normal chart operation.
The Four LOCAL Alert Options
Alert on entry hit (Default: ON)
Fires when price enters the Entry zone of a tracked signal. This is the most time-sensitive event — the market is at the point where a trade may be taken. Enabled by default for this reason.
Alert on TP hit (Default: OFF)
Fires when price reaches Take Profit. Off by default to avoid noise when multiple signals are active. Enable if you want to know the exact moment a signal reaches its target.
Alert on SL hit (Default: OFF)
Fires when price reaches Stop Loss. Off by default. Enable if you want immediate notification when a signal invalidates so you can review the trade.
Alert cooldown (Default: 30 seconds)
The minimum wait time between two consecutive LOCAL popups. If an Entry alert fires at 10:00:00 and cooldown is 30 seconds, the next LOCAL alert cannot fire before 10:00:30 — regardless of how many signals are active.
Increase cooldown (60–120 seconds) if you are receiving too many popups. Decrease to 10–15 seconds if you need faster reaction time.
Requirements for LOCAL Alerts to Work
- Indicator must be attached to a chart
- MT5 must be running and connected to the broker server
- The relevant alert option must be set to true
- Tab Common → Allow DLL imports must be checked in indicator properties
4. MTF Scanner Notifications — Push to Your Phone
How It Works
The MTF Scanner monitors all symbols and timeframes in its scan list. When it detects an event that matches your Group 3 settings, it sends a Push Notification to the MetaTrader 5 app on your phone via MetaQuotes servers.
The notification arrives on your phone in real time, showing the symbol, timeframe, signal direction, and the event type (New Pattern / Entry / TP / SL / Trailing Stop).
The Five Event Types
Notify: New Pattern Detected (Default: OFF)
Fires the moment the MTF Scanner detects a new signal on any scanned symbol or timeframe. This is the earliest notification in the signal lifecycle — the pattern has formed but price has not yet reached the entry zone.
Enable this if you want time to evaluate a setup before price reaches entry. Note that in active markets, this can generate a high volume of Push Notifications. Off by default to prevent notification fatigue.
Notify: Entry Price Hit (Default: ON)
Fires when price reaches the Entry zone of a tracked signal. This is the most actionable event — the market is where a trade could be taken. Enabled by default as it is the highest-priority notification for most traders.
Notify: Take Profit Hit (Default: OFF)
Fires when a signal reaches Take Profit. Enable if you want to track wins in real time or adjust open positions at target levels.
Notify: Stop Loss Hit (Default: OFF)
Fires when a signal reaches Stop Loss. Enable if you want immediate awareness when the market moves against a signal, so you can review and adjust your trading plan.
Notify: Trailing Stop Hit (Default: OFF)
Fires when the Trailing Stop is triggered — meaning price reversed and touched the trailing stop level. Useful when monitoring running trades with TSL active.
Requirements for MTF Push Notifications to Work
All five conditions must be met simultaneously:
- MTF Scanner is enabled ( Enable Multi-Symbol Scanner = true in the MTF Scanner input group)
- Enable Scanner Alerts = true (Group 2 master switch)
- At least one event in Group 3 is set to true
- MetaQuotes ID is configured in MT5 (see Section 5)
- MetaTrader 5 app is installed on your phone and logged in
5. How to Set Up MetaQuotes ID for Push Notifications
To receive Push Notifications on your phone, you need to link the MT5 app on your phone to the MT5 terminal on your computer using a MetaQuotes ID.
Step 1: Install MetaTrader 5 on Your Phone
- Android: Download from the Google Play Store — search "MetaTrader 5"
- iOS (iPhone): Download from the App Store — search "MetaTrader 5"
Open the app and log in to the same trading account you use on your desktop MT5.
Step 2: Get Your MetaQuotes ID from the App
In the MetaTrader 5 app on your phone:
- Open Settings (gear icon, usually bottom-right)
- Tap Messages
- Your MetaQuotes ID is displayed — a string in the format Android-XXXXXXXXXXXXXXXX or Apple-XXXXXXXXXXXXXXXX
- Copy this ID (tap and hold to copy, or write it down)
Step 3: Enter Your MetaQuotes ID in MT5 on Your Computer
In the MT5 terminal on your computer:
- Go to Tools → Options
- Select the Notifications tab
- Check the box Enable Push Notifications
- Paste your MetaQuotes ID into the MetaQuotes ID field
- Click Test — your phone should receive a test message
- Click OK to save
Step 4: Verify
After clicking Test, check the MT5 app on your phone. If you receive the test notification, the setup is complete and all Push Notifications from the indicator will now reach your phone.
If the test notification does not arrive:
- Confirm your phone has an active internet connection
- Confirm the MT5 app on your phone is open and logged in
- Close and reopen the MT5 app on your phone
- Verify the MetaQuotes ID is entered exactly (it is case-sensitive)
- Try again — server delays can occasionally cause the test to fail on the first attempt
6. FAQ
Q: I have everything enabled but I am not receiving Push Notifications. What is wrong?
Push Notifications require five conditions to be satisfied simultaneously. Work through them in order: (1) Is MTF Scanner enabled? (2) Is Enable Scanner Alerts set to true? (3) Is at least one Notify Type in Group 3 enabled? (4) Is the MetaQuotes ID entered correctly in Tools → Options → Notifications? (5) Is the MT5 app open on your phone? The most common causes are a missing MetaQuotes ID or the Group 2 master switch being off.
Q: Can LOCAL Alerts and MTF Scanner Push Notifications be active at the same time?
Yes. The two systems are completely independent. You can run both simultaneously — for example, LOCAL Entry Alert for an immediate on-screen popup from the current chart, while MTF Scanner Entry Notify sends Push Notifications from all scanned symbols to your phone at the same time.
Q: Do the cooldown timers for LOCAL and MTF Scanner affect each other?
No. Each system has its own independent cooldown. Alert cooldown (sec) in Group 1 applies only to LOCAL popups. Alert Cooldown in Group 2 applies only to MTF Scanner Push Notifications. One firing does not affect the other.
Q: Will Push Notifications work when my computer screen is off?
Yes, as long as MT5 is still running (not closed), the computer has an internet connection, and the computer is not in sleep mode. Many traders run their terminal 24/7 specifically to keep notifications active around the clock.
Q: I am receiving too many notifications. How do I reduce them?
Increase Alert Cooldown in Group 2 to 60–120 seconds. Turn off Notify: New Pattern Detected if it is currently on — this is the highest-volume event. Keep Notify: Entry Price Hit on (it is the most actionable) and leave TP/SL/TSL off unless you have a specific reason to track them.
Q: Do MTF Scanner Alerts work when the MTF Scanner is disabled?
No. MTF Scanner Alerts are entirely dependent on the MTF Scanner being active. If Enable Multi-Symbol Scanner is false, no MTF Push Notifications will fire. LOCAL Alerts (Group 1) are not affected — they continue to operate independently from the MTF Scanner state.
7. Tips
Tip 1: Optimal setup for traders away from their desk
Enable the MTF Scanner, set Enable Scanner Alerts to true, enable Notify: Entry Price Hit only. Leave all other Notify Types off. Set cooldown to 30–60 seconds. This configuration sends a Push only when there is an actionable entry opportunity — no noise from unconfirmed new patterns or post-trade TP/SL results.
Tip 2: Use "New Pattern" selectively
Notify: New Pattern Detected is valuable when you want preparation time before price reaches entry. However, in active markets it can generate 10–20 pushes per hour. Recommended approach: enable it only during the trading sessions you are actively monitoring, and disable it outside those hours to preserve focus.
Tip 3: Use different cooldown values for LOCAL and MTF
LOCAL Alert cooldown can be shorter (15–30 seconds) because you are at your screen and can act immediately. MTF Scanner cooldown should be longer (60–120 seconds) to prevent your phone from buzzing continuously when the market produces multiple signals across different symbols and timeframes at the same time.
Tip 4: Verify your Push setup once a week
MetaQuotes IDs can change when you reinstall the MT5 app on your phone. Once a week, open Tools → Options → Notifications and click Test to confirm Push is still working. This takes five seconds and prevents missed signals during active market conditions.
This guide is part of the complete documentation set. See also: MTF Scan & Dashboard User Guide, Trailing Stop Loss User Guide, Market Structure User Guide.


