Multisymbol Slippage Alert
- 유틸리티
- 버전: 1.0
This EA exists to watch a group of symbols (either your entire Market Watch or a custom list) and notify you the moment several of them experience a sudden price separation or gap of a size you define. It does not trade. Its only job is to detect coordinated jumps in real time, optionally compare the current hour against historical patterns, and deliver a clear alert so you can decide what to do next.
Benefits
- Monitors many symbols at once without needing the EA on a specific chart.
- Sends one clean alert per symbol that jumps.
- Offers multiple delivery channels (popup, push, sound, email, Telegram).
- Includes a simple historical scan that can warn you ahead of hours where large moves have repeatedly occurred.
- Optional black-chart mode with a centered logo if you want the window dedicated only to the alert task.
Limitations
- Notification only — it never opens, modifies, or closes positions.
- Depends on the quality and speed of the quotes your broker supplies.
- Historical pattern detection uses M5 bars and a basic statistical check, so it is an aid, not a guarantee.
- Telegram and email require one-time manual setup and (for Telegram) an allowed URL in MetaTrader options.
- A short cooldown exists to prevent alert flooding.
How to turn on Telegram
- Create a bot with @BotFather and copy the token.
- Get your numeric User ID (via @userinfobot or the getUpdates method).
- In MetaTrader: Tools → Options → Expert Advisors → check “Allow WebRequest for listed URL” and add https://api.telegram.org .
- In the EA inputs set UseTelegram = true , paste the token into TelegramBotToken , and paste your User ID into TelegramUserID .
- Send any message to your bot once so Telegram allows it to reply.
How to turn on Email
- In MetaTrader: Tools → Options → Email → fill in your SMTP details and test the connection.
- In the EA inputs set UseEmail = true .
Alerts will then also be sent as email using the same “Breaking News” text.
| Variable | Default / Simple Explanation |
|---|---|
| SymbolSource | Market Watch or Manual list — where the symbols come from. |
| SymbolsList | Comma-separated symbols used only when SymbolSource is Manual. |
| JumpPips | 3.0 — Minimum size (in pips) of a sudden price move that counts as a jump/gap. |
| MinSymbolsToAlert | 3 — Minimum number of symbols that must jump close together before alerts are sent. |
| TimeWindowSeconds | 5 — How many seconds the jumps must occur within to be considered coordinated. |
| CooldownSeconds | 60 — Minimum seconds between alert batches. |
| HistoryDays | 30 — Days of history scanned for repeated large moves. |
| MinRepeatCount | 5 — How many times a large move must appear in history before an hour is noted. |
| SignificanceLevel | 0.05 — Statistical threshold used for the historical pattern. |
| USEveningStartHour | 16 — Start of the evening window used for the consensus warning. |
| USEveningEndHour | 21 — End of the evening window. |
| Use24HourTime | true — Show times as 17:00 (true) or 5:00 PM (false). |
| UseAlert | true — Show a popup Alert(). |
| UsePush | true — Send a push notification to the mobile app. |
| UseEmail | false — Send email (requires email setup in MetaTrader). |
| UseSound | true — Play a WAV sound. |
| SoundFile | alert.wav — Name of the sound file to play. |
| UseTelegram | false — Send to Telegram (requires token, User ID, and URL whitelist). |
| TelegramBotToken | blank — Token from BotFather. |
| TelegramUserID | blank — Your numeric Telegram user ID. |
| TakeOverChart | true — Black out the chart and center a logo. |
| CenterSymbolCode | 169 — Wingdings character used as the centered logo. |
| ShowComment | true — Display a short status comment on the chart. |
