π Alert Configuration
Comprehensive Alert Systemβ
BananaEA v4.5.1+ includes alert controls for trade, risk, and system events. Configure which event types should trigger alerts so the platform only shows messages you need.
π― EnableAlerts - Master Switchβ
What It Doesβ
Global on/off switch for ALL alerts. Disabling this parameter silences every alert type regardless of individual settings.
Configurationβ
EnableAlerts = true // Enable alert system (individual alerts still need enabling)
EnableAlerts = false // Disable ALL alerts (complete silence)
Default Valueβ
- Setting:
true(alerts enabled) - Why: Traders generally want notification of important events
- Recommendation: Keep enabled, use individual toggles to fine-tune
π Alert Categoriesβ
BananaEA organizes alerts into three categories for easy management:
- Trade Execution Alerts - Order placement, closures, modifications
- Risk Management Alerts - Break-even, trailing stops, drawdown warnings
- System & Session Alerts - Trading hours, order rejections, spread warnings
πΌ Trade Execution Alertsβ
Alert_Signalβ
What It Does: Notifies when a signal results in trade placement (market or pending order)
Alert_Signal = true // Alert when trades are opened
Alert_Signal = false // Silent trade openings
Default: true
Example: "BananaEA: Bu1 Buy signal triggered - Market order placed at 1.0850"
When to Enable:
- Monitoring EA performance remotely
- Learning signal timing patterns
- Verifying EA is trading as expected
When to Disable:
- High-frequency trading setups (too many alerts)
- During optimization (avoids alert spam)
- Watching charts actively (visual confirmation sufficient)
Alert_PendingOrderβ
What It Does: Notifies when pending orders are placed
Alert_PendingOrder = true // Alert when pending orders created
Alert_PendingOrder = false // Silent pending order placement
Default: true
Example: "BananaEA: Be2 Sell Limit placed at 1.0870"
When to Enable:
- Using pending order strategy (need execution awareness)
- Monitoring multiple charts
- Prop firm trading (need full trade visibility)
When to Disable:
- Using market orders only (parameter irrelevant)
- High signal frequency causing alert fatigue
- Backtesting/optimization
Alert_PendingDeleteβ
What It Does: Notifies when pending orders are cancelled (expired, opposite signal, manual delete)
Alert_PendingDelete = true // Alert when pending orders deleted
Alert_PendingDelete = false // Silent pending order deletions
Default: true
Example: "BananaEA: Buy Limit cancelled - Opposite signal detected"
When to Enable:
- Understanding order expiry behavior
- Monitoring order management logic
- Prop firm compliance (track all order activity)
When to Disable:
- Using market orders exclusively
- Alert fatigue from frequent cancellations
- Optimization/backtesting
Alert_PartialCloseβ
What It Does: Notifies when partial close is executed (e.g., 50% closed at profit target)
Alert_PartialClose = true // Alert on partial profit taking
Alert_PartialClose = false // Silent partial closes
Default: true
Example: "BananaEA: 50% partial close executed - Profit locked: $85.50"
When to Enable:
- Using partial close strategy (track profit securing)
- Want confirmation of risk reduction
- Monitoring advanced trade management
When to Disable:
- Not using partial close (
PartialCloseMethod = Disabled) - Alert fatigue
- Trust EA to manage automatically
Alert_TradeCloseβ
What It Does: Notifies when full trade is closed (TP hit, SL hit, manual close, session close)
Alert_TradeClose = true // Alert when trades fully close
Alert_TradeClose = false // Silent trade closures
Default: true
Example: "BananaEA: Buy trade closed at TP - Profit: $127.80"
When to Enable:
- HIGHLY RECOMMENDED - Critical event notification
- Remote monitoring
- Performance tracking
- Psychological confirmation
When to Disable:
- Rarely advisable to disable (too important)
- Possibly during high-frequency scalping
- Backtesting only
π‘οΈ Risk Management Alertsβ
Alert_BreakEvenβ
What It Does: Notifies when Break-Even is triggered (SL moved to entry +/- commission)
Alert_BreakEven = true // Alert when BE activates
Alert_BreakEven = false // Silent BE triggers
Default: true
Example: "BananaEA: Break-Even activated - Trade now risk-free"
When to Enable:
- Using Break-Even strategy (verify activation)
- Want psychological reassurance of risk removal
- Learning BE timing patterns
When to Disable:
- Not using Break-Even (
BreakEvenMethod = Disabled) - Alert fatigue from frequent BE triggers
- Trust EA automation completely
Alert_TrailingStopβ
What It Does: Notifies when Trailing Stop is first activated (not every adjustment)
Alert_TrailingStop = true // Alert when TS starts trailing
Alert_TrailingStop = false // Silent TS activation
Default: true
Example: "BananaEA: Trailing Stop activated - Now following price"
When to Enable:
- Using Trailing Stop strategy
- Want confirmation of profit protection
- Understanding TS activation timing
When to Disable:
- Not using Trailing Stop (
TrailingMethod = Disabled) - Alert fatigue
- Fully trust TS automation
Alert_DailyDrawdownβ
What It Does: Notifies at two thresholds - 80% of daily drawdown limit (warning) and 100% (limit reached)
Alert_DailyDrawdown = true // Alert on DD warnings
Alert_DailyDrawdown = false // Silent DD monitoring
Default: true
Example:
- "β οΈ WARNING: 80% of daily drawdown limit reached"
- "π STOP: Daily drawdown limit exceeded - Trading halted"
When to Enable:
- HIGHLY RECOMMENDED for prop firm trading
- Using daily drawdown control
- Need immediate notification of risk limits
When to Disable:
- Not using drawdown control (
UseDailyDrawdownControl = false) - Confidence in never hitting limits (overconfidence risk!)
- Backtesting
π System & Session Alertsβ
Alert_SessionChangeβ
What It Does: Notifies when trading session transitions Active β Inactive
Alert_SessionChange = true // Alert on session transitions
Alert_SessionChange = false // Silent session changes
Default: true
Example:
- "β Trading Session ACTIVE - Ready to trade"
- "βΈοΈ Trading Session INACTIVE - Outside trading hours"
When to Enable:
- Using time window trading (
UseTimeWindow = true) - Want confirmation EA is respecting trading hours
- Remote monitoring of session status
When to Disable:
- 24/7 trading (
UseTimeWindow = false) - Alert fatigue from session transitions
- Watching charts actively
Alert_OrderRejectedβ
What It Does: Notifies when order placement fails (insufficient margin, invalid price, broker rejection)
Alert_OrderRejected = true // Alert on order failures
Alert_OrderRejected = false // Silent order rejections
Default: true
Example: "β Order REJECTED: Insufficient margin - Trade not placed"
When to Enable:
- HIGHLY RECOMMENDED - Critical failure notification
- Troubleshooting order placement issues
- Prop firm trading (need to know about failed trades)
When to Disable:
- Rarely advisable (too important)
- Possibly during optimization if seeing expected rejections
- Only if EA logs are monitored continuously
Alert_HighSpreadβ
What It Does: Notifies when spread exceeds configured threshold (news events, low liquidity)
Alert_HighSpread = false // Disabled by default (can be noisy)
Alert_HighSpread = true // Enable spread warnings
Default: false
Example: "β οΈ High Spread Detected: 4.5 pips (threshold: 3.0 pips)"
Alert_SpreadThreshold:
Alert_SpreadThreshold = 3.0 // Alert if spread > 3.0 pips
When to Enable:
- Trading during news events
- Broker with variable spreads
- Want early warning of poor execution conditions
When to Disable:
- DEFAULT - Can be very noisy
- Broker has fixed/low spreads
- Using
MaxSpreadfilter (redundant notification) - Alert fatigue
ShowManualTradeConfirmationβ
What It Does: Shows popup confirmation dialog before executing manual BUY/SELL/Close button clicks
ShowManualTradeConfirmation = true // Confirm before manual actions
ShowManualTradeConfirmation = false // One-click manual trading
Default: true
Example: "Confirm: Place Manual BUY order at 1.0850? [Yes] [No]"
When to Enable:
- RECOMMENDED - Prevents accidental clicks
- Learning EA functionality
- Prop firm trading (avoid mistakes)
When to Disable:
- Experienced with EA interface
- Want instant one-click execution
- High-confidence in button clicks
βοΈ Configuration Strategiesβ
Strategy 1: Maximum Awareness (Default)β
EnableAlerts = true
Alert_Signal = true
Alert_PendingOrder = true
Alert_PendingDelete = true
Alert_PartialClose = true
Alert_TradeClose = true
Alert_BreakEven = true
Alert_TrailingStop = true
Alert_DailyDrawdown = true
Alert_SessionChange = true
Alert_OrderRejected = true
Alert_HighSpread = false
ShowManualTradeConfirmation = true
Use When:
- Learning EA behavior
- Remote monitoring
- Prop firm trading
- Need full trade visibility
Strategy 2: Critical Alerts Onlyβ
EnableAlerts = true
Alert_Signal = false
Alert_PendingOrder = false
Alert_PendingDelete = false
Alert_PartialClose = true
Alert_TradeClose = true
Alert_BreakEven = false
Alert_TrailingStop = false
Alert_DailyDrawdown = true
Alert_SessionChange = false
Alert_OrderRejected = true
Alert_HighSpread = false
ShowManualTradeConfirmation = true
Use When:
- Experienced trader
- Reduce alert fatigue
- Focus on outcomes (closures) not processes (openings)
- Trust EA automation
Strategy 3: Silent Mode (Optimization/Backtesting)β
EnableAlerts = false
Use When:
- Running optimizations
- Backtesting
- Fully trust EA automation
- Alerts cause interruptions
Strategy 4: High-Frequency Tradingβ
EnableAlerts = true
Alert_Signal = false
Alert_PendingOrder = false
Alert_PendingDelete = false
Alert_PartialClose = false
Alert_TradeClose = true
Alert_BreakEven = false
Alert_TrailingStop = false
Alert_DailyDrawdown = true
Alert_SessionChange = false
Alert_OrderRejected = true
Alert_HighSpread = false
ShowManualTradeConfirmation = false
Use When:
- Multiple trades per hour
- Alert fatigue is real concern
- Only care about final outcomes
- Need one-click manual intervention
π Alert Delivery Methodsβ
Popup Alertsβ
- Visibility: Center-screen popup with sound
- Interruption: Requires acknowledgment (click OK)
- Best For: Critical events (order rejections, drawdown warnings)
Push Notifications (MT4 Mobile App)β
- Setup: Tools β Options β Notifications β Enable Push
- Delivery: MT4 mobile app on phone
- Best For: Remote monitoring, away from PC
Email Alertsβ
- Setup: Tools β Options β Email β Configure SMTP
- Delivery: Email inbox
- Best For: Historical record, less urgent notifications
π‘ Best Practicesβ
β DO:β
- Keep critical alerts enabled (TradeClose, OrderRejected, DailyDrawdown)
- Test alert system before live trading (trigger a test signal)
- Adjust over time as you gain experience with EA
- Use different strategies for demo vs. live accounts
- Document your alert preferences in trading journal
β DON'T:β
- Disable ALL alerts without good reason (miss critical events)
- Enable ALL alerts if trading high frequency (alert fatigue)
- Ignore alert system - it's there to protect you
- Leave confirmation dialogs disabled on manual buttons (accident-prone)
- Forget to re-enable alerts after optimization/backtesting
π§ Troubleshootingβ
Problem: No Alerts Appearingβ
Possible Causes:
EnableAlerts = false(master switch off)- Individual alerts disabled
- MT4 sounds disabled globally
- System volume muted
Solution:
- Verify
EnableAlerts = truein EA inputs - Check specific alert toggle (e.g.,
Alert_Signal = true) - Tools β Options β Sounds β Enable event sounds
- Check system volume and unmute
Problem: Too Many Alerts (Overwhelming)β
Possible Causes:
- All alerts enabled (default)
- High-frequency trading setup
- Sensitive to interruptions
Solution:
- Use "Critical Alerts Only" strategy
- Disable process alerts (Signal, PendingOrder, PendingDelete)
- Keep outcome alerts (TradeClose, OrderRejected, DailyDrawdown)
- Consider
EnableAlerts = falseduring analysis sessions
Problem: Missing Important Alertsβ
Possible Causes:
- Specific alert toggle disabled
- Master switch off
- Alert fatigue causing you to miss/ignore
Solution:
- Review and re-enable critical alerts
- Verify
EnableAlerts = true - Use distinct sound for critical alerts (MT4 β Options β Sounds)
- Enable push notifications for mobile awareness
π Alert Philosophyβ
Alert Fatigue is Realβ
- Problem: Too many alerts β Ignore all alerts β Miss critical events
- Solution: Strategic alert configuration based on trading style
Alert Hierarchyβ
MUST HAVE (Never disable):
Alert_OrderRejected- Know when trades failAlert_DailyDrawdown- Protect accountAlert_TradeClose- Track performance
SHOULD HAVE (Highly recommended):
Alert_BreakEven- Confirm risk removalAlert_TrailingStop- Verify profit protectionAlert_SessionChange- Confirm EA respects trading hours
NICE TO HAVE (Disable if noisy):
Alert_Signal- Process notificationAlert_PartialClose- Intermediate outcomeAlert_PendingOrder- Order creation confirmation
OPTIONAL (Often disabled):
Alert_HighSpread- Can be very noisyAlert_PendingDelete- Process detail
π Related Settingsβ
- Risk Management - Daily drawdown control triggers alerts
- Advanced Features - BE/PC/TS settings determine alert frequency
- Trading Hours & Filters - Session settings affect SessionChange alerts
- General Settings - Magic number affects Trade Management Mode alerts
π Further Readingβ
- FAQ: Alert System - Common alert-related questions
- Quick Start Guide - Basic setup before configuring alerts
- Troubleshooting - Drawdown and alert-related issues