πAlert Configuration
Comprehensive Alert System
BananaEA v4.4.6+ includes a sophisticated alert system with granular control over 15+ notification types. Configure exactly which events trigger alerts to avoid notification fatigue while staying informed of critical trading activity.
π― 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)
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
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)
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)
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)
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)
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)
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)
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
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)
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)
Default: false
Example: "β οΈ High Spread Detected: 4.5 pips (threshold: 3.0 pips)"
Alert_SpreadThreshold:
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
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)
Use When:
Learning EA behavior
Remote monitoring
Prop firm trading
Need full trade visibility
Strategy 2: Critical Alerts Only
Use When:
Experienced trader
Reduce alert fatigue
Focus on outcomes (closures) not processes (openings)
Trust EA automation
Strategy 3: Silent Mode (Optimization/Backtesting)
Use When:
Running optimizations
Backtesting
Fully trust EA automation
Alerts cause interruptions
Strategy 4: High-Frequency Trading
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 inputsCheck 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 = trueUse 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 alert setup
Troubleshooting - Resolving alert problems
Last updated