Trade Management Mode
Magic = 0 Complete Guide
When Magic = 0, BananaEA transforms into a professional trade manager β it stops creating new trades and focuses exclusively on managing existing positions.
β¨ v4.4.4 Safety Enhancement: EA now starts in PAUSED mode when attached to chart - YOU control when trading begins! Click TC button to activate when ready.
β¨ v4.4.1 Control Enhancement: TC button now cycles through THREE modes (AUTO β MANAGE β PAUSED) for complete workflow control!
β¨ v3.13.1 Enhancement: Trade Management Mode now includes real-time dashboard displays showing entry price, R:R ratio, and directional exposure for instant trade quality assessment!
Overview
What Trade Management Mode Does
Core functionality:
β Automatically applies SL/TP to manual trades
β Maintains consistent risk:reward ratios
β Works with trades from ANY source (manual, copied, other EAs)
β Applies break-even, trailing, and partial close features
β NEW (v3.13.1): Real-time R:R ratio display with color-coded quality indicators
β NEW (v3.13.1): Entry price tracking with current pip difference
β Does NOT create new trades from signals
Perfect for:
Manual traders wanting professional risk management
Prop firm traders needing exact SL/TP ratios
Copy trading with automated risk protection
Managing trades from multiple sources on one symbol
π‘οΈ Professional Safety Features (v4.4.4+)
YOU Control When Trading Begins
NEW: Intelligent Startup Protection
When you attach BananaEA to any chart, it now starts in PAUSED mode automatically:
β Complete Control - Trading only begins when YOU decide β No Surprises - Zero risk of accidental trades during setup β Verify First - Time to check all settings before going live β Professional Workflow - Deliberate activation, not rushed decisions
How It Works:
Real-World Benefits:
Scenario 1: Testing New Settings
Attach EA with new risk parameters
EA waits in PAUSED mode β
Review settings carefully
Activate when confident
Trade with peace of mind!
Scenario 2: Multiple Charts Setup
Load EA on 5 different charts
All stay PAUSED automatically β
Activate each one individually
Organized, professional workflow
Scenario 3: Chart Organization
Switching symbols or timeframes
EA waits patiently in PAUSED mode β
Finish your setup calmly
Activate when chart is ready
Note: In Strategy Tester, EA automatically starts in AUTO mode (no button clicks possible in backtesting) - smart environment detection!
π― Enhanced Mode Control (v4.4.1+)
Complete Three-State Workflow
NEW: TC Button Power Upgrade
The TC button now gives you complete control with three distinct modes:
1οΈβ£ AUTO Mode (Green Background)
Automated signal detection enabled
Trade execution active
Full EA automation running
Click β Switch to MANAGE mode
2οΈβ£ MANAGE Mode (Orange Background)
Existing trades management only
No new signal detection
Trade management features active (BE, Trailing, PC)
Click β Switch to PAUSED mode
3οΈβ£ PAUSED Mode (Red Background)
Complete pause state
No trading activity
EA monitoring only
Click β Switch back to AUTO mode
Complete Control Loop:
Perfect For:
β End of Trading Session - AUTO β MANAGE (handle remaining trades) β PAUSED (safe idle) β News Events - PAUSED during volatility β AUTO when calm returns β Manual Override - Switch to MANAGE when taking manual trades alongside EA trades β Risk Management - Quick pause during uncertain market conditions
Configuration Methods
BananaEA offers two calculation methods for SL/TP placement:
1. ATR-Based (Adaptive)
Best for: Markets with changing volatility (forex, indices, commodities)
How it works:
SL distance =
SL_Multiplier Γ ATR(14 or 15)TP distance =
TP_Multiplier Γ ATR(14 or 15)Adapts to current market conditions automatically
Example calculation:
2. Fixed Pips (Predictable)
Best for: Consistent strategies, prop firm rules, specific R:R requirements
How it works:
SL distance = Fixed pip amount (e.g., 20 pips)
TP distance = Fixed pip amount (e.g., 100 pips)
Never changes regardless of volatility
Example:
Settings Reference
Method Selection
TradeManagement_Method
Choose calculation approach:
ATR_BASEDβ Dynamic distances that adapt to volatilityFIXED_PIPSβ Consistent distances regardless of volatility
Recommendation:
Use ATR_BASED for markets with varying volatility (most forex pairs)
Use FIXED_PIPS for prop firm challenges or strict R:R requirements
ATR-Based Settings
TradeManagement_SL_Multiplier
TradeManagement_SL_MultiplierWhat it does: How many ATR units for stop loss.
Configuration:
Default: 2.0 (balanced protection)
Range: 0.5β5.0
Examples:
1.5 = Tight stops (more frequent SL hits)
2.0 = Balanced (recommended)
3.0 = Wide stops (fewer SL hits, larger losses when hit)
Risk implications:
Lower multiplier = Smaller SL = Less $ risk per trade = More SL hits
Higher multiplier = Larger SL = More $ risk per trade = Fewer SL hits
TradeManagement_TP_Multiplier
TradeManagement_TP_MultiplierWhat it does: How many ATR units for take profit.
Configuration:
Default: 10.0 (approximately 5:1 R:R)
Range: 1.0β20.0
Examples:
6.0 = 3:1 R:R (with SL 2.0)
10.0 = 5:1 R:R (with SL 2.0, recommended)
15.0 = 7.5:1 R:R (with SL 2.0, aggressive)
Risk:Reward Examples
2.0
6.0
3:1 R:R
2.0
10.0
5:1 R:R (default)
1.5
15.0
10:1 R:R
3.0
15.0
5:1 R:R (wider stops)
Fixed Pips Settings
TradeManagement_SL_FixedPips
TradeManagement_SL_FixedPipsWhat it does: Fixed stop loss distance in pips.
Configuration:
Example: 20.0 pips
Range: 5.0β100.0 pips (typical)
Broker adjustment: Account for broker pip definition (5-digit vs 4-digit)
Example scenarios:
Major pairs (EURUSD): 15-30 pips
Volatile pairs (GBPJPY): 30-50 pips
Indices (DAX, NAS100): 20-40 pips
TradeManagement_TP_FixedPips
TradeManagement_TP_FixedPipsWhat it does: Fixed take profit distance in pips.
Configuration:
Example: 100.0 pips (5:1 R:R with 20 pip SL)
Range: 10.0β500.0 pips (typical)
Example scenarios:
Conservative (3:1 R:R): 60 pips TP with 20 pip SL
Balanced (5:1 R:R): 100 pips TP with 20 pip SL
Aggressive (10:1 R:R): 200 pips TP with 20 pip SL
Preservation Settings
PreserveExistingSL
PreserveExistingSLWhat it does: Don't change manual stop loss if already present.
Configuration:
true (recommended): Respect manual SL placement
false: Always apply EA-calculated SL
Use case:
Set to true when you want manual control over stop losses
Set to false when you want EA to enforce consistent SL distances
Behavior:
PreserveExistingTP
PreserveExistingTPWhat it does: Don't change manual take profit if already present.
Configuration:
true (recommended): Respect manual TP placement
false: Always apply EA-calculated TP
Use case:
Set to true for manual profit targeting
Set to false for consistent R:R enforcement
Enhancement Features
AllowTrailingEnhancement
AllowTrailingEnhancementWhat it does: Allow trailing stop in Trade Management Mode.
Configuration:
true: Trail stops only in risk-reducing direction
false: No trailing (SL stays fixed)
Behavior:
Trailing only moves SL toward entry price or profit (never increases risk)
Uses
TrailingDistanceandTrailingTriggersettings from Advanced Featuresπ‘ See Advanced Features for complete trailing documentation
AllowBreakEvenEnhancement
AllowBreakEvenEnhancementWhat it does: Move SL to break-even after profit threshold.
Configuration:
true: Enable automatic break-even
false: SL stays at original distance
Behavior:
When trade reaches profit threshold, SL moves to entry price (zero loss)
Uses
BreakEvenTriggerandBreakEvenOffsetsettingsπ‘ See Advanced Features for complete break-even documentation
π Dashboard Features (v3.13.1+)
Real-Time Trade Monitoring
BananaEA v3.13.1+ includes enhanced dashboard displays for Trade Management Mode:
Enhanced Swing Point Detection (v4.4.3+)
NEW: Perfect Pattern Recognition
When using MANAGE mode with S button pressed, BananaEA now detects ALL swing points including:
β Flat-Top Swing Highs - Multiple bars with same high price β Flat-Bottom Swing Lows - Multiple bars with same low price β Traditional Swing Points - Classic higher/lower patterns β Stable Detection - Uses only closed bars (no flickering)
Why This Matters:
Before: Missed obvious entry points with flat tops/bottoms After: Complete swing point mapping for better trade entries!
Benefits:
π More Accurate Entries - See ALL major support/resistance levels
π― Better Timing - Precise entry point identification
π‘ Professional Analysis - Complete swing structure visibility
β Reliable Patterns - Swing points don't disappear as bars form
Example:
Previously missed, now detected perfectly!
Trade Panel Information (Per Position)
Each managed trade displays:
Entry Price with Pip Difference
Display:
Entry: 24636.4 (+7.0 pips)or(-2.3 pips)Color: Green when profitable, red when losing
Benefit: Instant position status without clicking order
Risk:Reward Ratio (Automatic)
Display:
R:R Ratio: 1:5.0Color Coding:
π’ Green: β₯2.0 (excellent trade quality)
βͺ White: β₯1.5 (acceptable quality)
π‘ Yellow: <1.5 (poor R:R - warning!)
Benefit: Instant trade quality assessment - no manual calculation needed!
Initial Risk vs Current Risk
Shows how much risk has been reduced by break-even/trailing
Locked profit display when SL is in profit territory
Current P&L
Real-time profit/loss in dollars and pips
Color-coded for quick visual assessment
Enhanced Info Panel (Symbol-Level)
When managing multiple trades, the dashboard shows:
Directional Exposure:
Exposure: 2 BUY, 0 SELLConcentration risk warning if all trades same direction
Total Open Trades: Count of managed positions
Daily Range Progress:
Daily Range: 187.2 / 245.3 (76%)Helps time new entries (is most of daily range consumed?)
Visual Benefits
No More Mental Math:
R:R ratio calculated automatically (was your 5:1 target achieved?)
Entry price difference shown in pips (are you +7 or -2 pips?)
Color-coded quality indicators (is this trade meeting standards?)
Quick Decision-Making:
See all managed trades at a glance
Identify concentration risk instantly (all BUY or all SELL?)
Monitor progress toward profit targets visually
Workflow Examples
Example 1: Manual Day Trading with Strict R:R
Goal: Manual entries with guaranteed 5:1 R:R, 20 pip SL.
Configuration:
Workflow:
Identify setup on chart
Place manual BUY (no SL/TP)
EA instantly applies 20 pip SL, 100 pip TP
Dashboard displays:
Entry: 24636.4 (+0.0 pips),R:R Ratio: 1:5.0(green β )EA manages break-even and trailing automatically
Monitor visually: Watch entry price difference turn green as trade profits
Example 2: Copy Trading with Adaptive Risk
Goal: Copy trades from signal provider, apply adaptive SL/TP.
Configuration:
Workflow:
Signal provider trade copied to your account
EA checks for existing SL (preserves if present)
EA applies adaptive TP based on current ATR
Dashboard shows: Current R:R ratio for each copied trade (instantly see if it's 1:3.5 or 1:5.0)
EA manages trailing and break-even
Monitor exposure: Check if all copied trades are same direction (concentration risk warning)
Example 3: Prop Firm Challenge
Goal: Meet prop firm requirements (1:2 R:R minimum, max 2% risk).
Configuration:
Workflow:
Manual entry on chart
EA enforces 30 pip SL (= 2% risk via lot size)
EA enforces 60 pip TP (= 2:1 R:R)
Dashboard confirms:
R:R Ratio: 1:2.0displays in white (acceptable β )Meets prop firm requirements automatically
Visual compliance check: All trades show correct R:R ratio - no manual verification needed!
Best Practices
Choosing Between ATR and Fixed Pips
Use ATR-Based when:
Trading multiple timeframes with varying volatility
Trading across different market sessions (Asian/London/NY)
You want SL/TP to adapt to market conditions
Use Fixed Pips when:
You need exact R:R ratios (prop firms, personal rules)
Trading single timeframe with consistent strategy
You want predictable risk per trade in dollar terms
Preservation Settings Strategy
Preserve Both (Flexible):
Manual control when you set SL/TP
EA fills in when you don't set them
Best for experienced traders
Preserve Neither (Strict):
EA enforces consistent SL/TP every trade
Removes emotional decision-making
Best for beginners or prop firm compliance
Risk:Reward Ratio Selection
Conservative (3:1 to 5:1):
Higher win rate required for profitability
Shorter holding periods
Suitable for ranging markets
Balanced (5:1 to 8:1):
Moderate win rate (40-50%) needed
Most popular for swing trading
Works in trending and ranging markets
Aggressive (10:1+):
Low win rate acceptable (20-30%)
Longer holding periods
Best for strong trending markets
Troubleshooting
Issue: SL/TP Not Applied
Check:
Is
Magic = 0? (Verify in EA inputs)Is EA attached to correct chart symbol?
Are trades on the same symbol as chart?
Check MT4 Experts log for error messages
Issue: Wrong SL/TP Distances
Check:
Verify
TradeManagement_Methodsetting (ATR vs Fixed Pips)If ATR: Check current ATR value on chart
If Fixed Pips: Verify broker pip definition (5-digit vs 4-digit)
Check
ShowDebugLogs = truefor calculation details
Issue: SL/TP Changed Unexpectedly
Check:
PreserveExistingSLandPreserveExistingTPsettingsIf false, EA will override manual settings
Break-even or trailing may have triggered
Check EA logs for management actions
Issue: R:R Ratio Shows Yellow Warning
Understanding the display:
π’ Green (β₯2.0): Excellent R:R ratio - professional quality trade
βͺ White (β₯1.5): Acceptable R:R - meets minimum standards
π‘ Yellow (<1.5): Poor R:R - risk too high for reward!
If ratio is lower than expected:
Check your multiplier settings (TP_Multiplier should be 5-10Γ SL_Multiplier)
For Fixed Pips: Verify TP_FixedPips is at least 3Γ SL_FixedPips
Example fix: If SL = 20 pips, TP should be 60+ pips for 3:1 minimum
Prop Firm Warning: Most firms require minimum 2:1 R:R (green or white display)
Issue: Dashboard Panels Stuck on Chart
Fixed in v3.13.1:
Previous versions: Panels remained after EA removal
Current version: All Trade Panels clean up automatically when EA removed
If still seeing stuck panels: You're using older version - update to v3.13.1+
Manual cleanup (older versions only):
Right-click chart β Objects β Objects List (Ctrl+B)
Delete all objects starting with "BananaEATradeInfo"
Or update to v3.13.1 for automatic cleanup!
Related Settings
General Settings - Magic number configuration
Advanced Features - Break-even, trailing, partial close
Risk Management - Position sizing for calculated risk
Quick Reference
TradeManagement_Method
ATR_BASED
FIXED_PIPS
SL Distance Setting
SL_Multiplier (2.0)
SL_FixedPips (20.0)
TP Distance Setting
TP_Multiplier (10.0)
TP_FixedPips (100.0)
Typical R:R Ratio
5:1
5:1
Mode activation:
Set
Magic = 0to enable Trade Management ModeAttach EA to chart with symbol you want to manage
EA manages ALL trades for that symbol (regardless of origin)
Dashboard displays (v3.13.1+):
β Entry price with current pip difference (
+7.0 pipsor-2.3 pips)β Automatic R:R ratio calculation (
1:5.0with color-coded quality)β Directional exposure tracking (
2 BUY, 0 SELL)β Real-time risk reduction monitoring (initial vs current risk)
No manual calculations needed - dashboard shows everything instantly!
Last updated