PositionsChangeInformer
This EA monitors trade transactions and raises alerts (popup, sound, or email) when positions are opened, closed, or reversed. It does not execute any trades itself; it functions purely as a notification utility for position change events.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
This EA is not a trading strategy but a position change notification utility. It listens to trade transactions via the OnTradeTransaction event, and when a TRADE_TRANSACTION_DEAL_ADD transaction is detected, it retrieves the latest deal record and determines its type. Entry notification: When the deal entry is DEAL_ENTRY_IN, it reports opening information including price, stop loss, take profit, and volume. Exit notification: When the deal entry is DEAL_ENTRY_OUT, it reports closing information, distinguishes between stop loss closure, take profit closure, or normal closure, and displays the profit/loss result. Reversal notification: When the deal entry is DEAL_ENTRY_INOUT, it reports a reverse operation. Regarding position sizing and money management, this EA does not involve any position or money management logic since it does not execute trades. Its core function is to promptly notify traders of position changes, supporting multi-language translation and multiple alert methods including popup alerts, sound alerts, and email notifications.
Strengths
- Supports three notification methods (alert, sound, email) for flexible use across different scenarios
- Automatically identifies close reason (stop loss / take profit / normal), providing detailed trade information
- Integrated multi-language translation system for international user convenience
- Uses OnTradeTransaction for real-time monitoring with no delay
Weaknesses
- Only notifies on deal executions, missing pending order changes or position modifications
- When email sending fails, it only logs the error without a fallback to alert notification
- Sound file path handling is not robust enough, only searching within the MQL5 terminal files directory
- Line 144 uses a hardcoded English string "Other operation" instead of going through the translation system
Possible improvements
- Add notifications for pending order changes and position modifications for more comprehensive monitoring
- Implement automatic fallback to alert notification when email sending fails to ensure no notifications are missed
Risk assessment
Overall risk: Safe
- This EA does not execute any trading operations, posing no trading risk
- It functions solely as a notification tool with no direct impact on trading accounts
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
InpAlertType | ALERT | Alert type: popup (ALERT), sound (SOUND), or email (EMAIL) |
InpSoundName | alert.wav | Sound alert filename |
InpToLanguage | RU | Language for notification messages |
Similar Utility EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.