Skip to main content

๐ŸŽจ Visual Customization

structured Chart Enhancement Systemโ€‹

BananaEA features a comprehensive visual customization system with 20+ parameters for trade panels, close buttons, colors, sizing, and positioning.

โœจ v4.4.0 Layout Revolution: Drag ANY window to your perfect position - EA remembers YOUR layout forever!

โœจ v4.4.2 Efficiency Boost: New X button cleans your chart with ONE click while protecting EA interface!


Overview: Visual Elementsโ€‹

BananaEA displays:

  1. Trade Info Panels โ€” Real-time trade information for each open position
  2. Close Buttons โ€” One-click trade management (full close, half close)
  3. Status Panels โ€” EA status, mode, and performance metrics
  4. Watermark โ€” EA branding and version information

Customization categories:

  • Panel colors (background, BUY/SELL titles)
  • Panel sizing (width, height, spacing)
  • Panel positioning (corner, offsets)
  • Button controls (size, colors)
  • Font sizing and transparency

๐ŸŽจ Revolutionary Layout System (v4.4.0+)โ€‹

Drag Anywhere, Remember Foreverโ€‹

NEW: Complete Layout Freedom

All EA windows are now fully draggable with persistent memory:

โœ… Drag Any Window - Dashboard, trade panels, history window - everything! โœ… Smart Memory - EA remembers YOUR perfect layout โœ… Persistent Across:

  • EA reloads
  • MT4 restarts
  • Symbol switches
  • Timeframe changes โœ… Symbol-Specific - Different layouts for different charts!

How to Use:

STEP 1: Click and hold any window title bar
โ†“
STEP 2: Drag to your preferred position
โ†“
STEP 3: Release mouse button
โ†“
โœ… Position saved automatically - FOREVER!

structured Workspace Examples:

Scalper Setup:

  • Dashboard: Bottom-right corner (minimal distraction)
  • Trade panels: Left side (quick access)
  • History window: Hidden or minimized
  • Result: Maximum chart space for price action!

Swing Trader Setup:

  • Dashboard: Top-left (always visible)
  • Trade panels: Right side (monitoring)
  • History window: Bottom (performance tracking)
  • Result: Complete overview at a glance!

Multi-Monitor Setup:

  • Dashboard: Secondary monitor
  • Trade panels: Secondary monitor
  • Charts: Primary monitor (100% clean view!)
  • Result: structured trading station!

Benefits:

๐ŸŽฏ YOUR Layout, YOUR Way - Position windows exactly where YOU want them โฑ๏ธ Zero Repositioning - Set once, use forever across all sessions ๐Ÿ–ฅ๏ธ Multi-Monitor Support - Spread across multiple screens ๐ŸŒŸ No Clutter - Organize for YOUR specific trading style โœ… clear appearance - Clean, organized workspace

Smart Features:

  • Different positions for different symbols (GER40 vs NAS100)
  • Different layouts for different timeframes (M5 vs H1)
  • Instant recall on EA reload
  • Survives MT4 restarts

Set your perfect workspace ONCE - enjoy it FOREVER!


๐Ÿงน One-Click Chart Cleanup (v4.4.2+)โ€‹

Clean Charts Instantly, Safelyโ€‹

NEW: Intelligent Cleanup Button

The X button provides chart management with smart protection:

What It Cleans (YOUR Objects): โœ… Trendlines and drawing tools โœ… Text labels and notes โœ… Fibonacci levels โœ… Old analysis markup โœ… Manual chart objects

What It Protects (EA Objects): โœ… EA dashboard and control buttons โœ… Trade information panels โœ… History/performance window โœ… ALL EA visual elements โœ… X button itself (no self-deletion!)

One-Click Efficiency:

Before v4.4.2:

  • Right-click โ†’ Objects โ†’ Delete all objects
  • Risk accidentally deleting EA interface
  • Multiple clicks and menu navigation
  • Time-consuming process

After v4.4.2:

  • ONE CLICK on X button โœ…
  • EA interface automatically protected
  • Instant clean chart!
  • structured workflow

Perfect Workflow:

1. Draw trendlines for analysis
2. Make trading decisions
3. Click X button when done
4. โœ… Chart clean, EA interface intact!
5. Ready for next analysis

Benefits:

โšก Lightning Fast - One click vs multiple menu steps ๐Ÿ›ก๏ธ Designed to avoid EA interface objects - EA interface never touched ๐ŸŽฏ structured - Clean charts without interruption โœ… Smart Protection - Knows what to clean, what to keep

Note: History window now has enhanced protection (v4.4.5) - stays visible even during cleanup!


Trade Info Panelsโ€‹

ShowTradeInfoPanel - Display Trade Panelsโ€‹

What it does: Shows/hides real-time trade information panels.

Configuration:

  • Default: true (enabled, recommended)
  • Purpose: Monitor open trades without MT4 terminal tab
  • Displays:
    • Trade ticket number
    • Entry price
    • Current profit/loss
    • Stop loss level
    • Take profit level
    • Trade direction (BUY/SELL)

Panel features:

  • โœ… Always visible on chart
  • โœ… Live orders only (excludes pending orders)
  • โœ… Auto-cleanup when trades close
  • โœ… Dynamic positioning (stacks vertically)
  • โœ… One-click close buttons (if enabled)

When to disable:

  • Minimalist chart preferences
  • Using MT4 terminal for trade monitoring
  • Screen space constraints
  • Multiple charts (reduces clutter)

Panel Positioningโ€‹

TradeInfoXOffset - Horizontal Positionโ€‹

What it does: Distance from corner edge (left or right).

Configuration:

  • Default: 5 pixels
  • Range: 0โ€“500 pixels
  • Purpose: Avoid chart overlap with indicators/objects

Example:

TradeInfoXOffset = 5 โ†’ Panel near corner edge
TradeInfoXOffset = 50 โ†’ Panel further from edge (more spacing)
TradeInfoXOffset = 200 โ†’ Panel significantly inset

TradeInfoYOffset - Vertical Positionโ€‹

What it does: Distance from corner edge (top or bottom).

Configuration:

  • Default: 20 pixels
  • Range: 0โ€“500 pixels
  • Purpose: Avoid overlap with chart timeframe labels

Positioning strategy:

Screen layout:
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ [TradeInfoYOffset = 20] โ”‚ โ† Top spacing
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ TRADE PANEL 1 โ”‚ โ”‚
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚ [TradePanel_Spacing = 50] โ”‚ โ† Gap between panels
โ”‚ โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”‚
โ”‚ โ”‚ TRADE PANEL 2 โ”‚ โ”‚
โ”‚ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚
โ”‚ [TradeInfoXOffset=5] โ†’ โ”‚ โ† Side spacing
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Panel Colorsโ€‹

TradePanel_BackgroundColor - Panel Backgroundโ€‹

What it does: Background color for all trade panels.

Configuration:

  • Default: C'10,10,10' (very dark gray, nearly black)
  • Format: RGB color or MT4 color constant
  • Purpose: structured dark theme (reduces eye strain)

Common color options:

Dark theme (default):
TradePanel_BackgroundColor = C'10,10,10' // Near-black (structured)
TradePanel_BackgroundColor = C'20,20,20' // Dark gray
TradePanel_BackgroundColor = C'30,30,40' // Dark blue-gray

Light theme:
TradePanel_BackgroundColor = C'240,240,240' // Light gray
TradePanel_BackgroundColor = C'255,255,255' // White

Custom:
TradePanel_BackgroundColor = C'20,30,40' // Custom dark blue
TradePanel_BackgroundColor = clrMidnightBlue // MT4 constant

TradePanel_BuyTitleColor - BUY Trade Titleโ€‹

What it does: Color for BUY trade panel headers.

Configuration:

  • Default: Lime (bright green)
  • Purpose: Instant visual identification of long positions
  • Alternatives:
    • clrLimeGreen โ€” Softer green
    • clrAqua โ€” Blue-green (colorblind-friendly)
    • clrGold โ€” Gold (alternative positive indicator)

TradePanel_SellTitleColor - SELL Trade Titleโ€‹

What it does: Color for SELL trade panel headers.

Configuration:

  • Default: OrangeRed (bright red-orange)
  • Purpose: Instant visual identification of short positions
  • Alternatives:
    • clrRed โ€” Pure red
    • clrMagenta โ€” Purple-pink (colorblind-friendly)
    • clrOrange โ€” Orange (softer)

Color psychology:

BUY (Long positions):
Lime โ†’ Positive, growth, profit (default)
Aqua โ†’ Cool, calm, trending up

SELL (Short positions):
OrangeRed โ†’ Caution, bearish, trending down (default)
Magenta โ†’ Distinct from BUY, accessible

Panel Sizingโ€‹

TradePanel_Width - Panel Widthโ€‹

What it does: Width of each trade panel in pixels.

Configuration:

  • Default: 260 pixels
  • Range: 150โ€“400 pixels
  • Purpose: Accommodate all trade information without text wrapping

Sizing guidelines:

Compact (200-240 pixels):
- Minimal screen usage
- Some text abbreviation
- Good for multi-chart layouts

Balanced (260-280 pixels) - DEFAULT:
- Full text display
- No abbreviations
- Recommended for most users

Wide (300-350 pixels):
- Extra spacing
- Large fonts comfortable
- Single-chart focus

TradePanel_Height - Panel Heightโ€‹

What it does: Height of each trade panel in pixels.

Configuration:

  • Default: 130 pixels
  • Range: 80โ€“200 pixels
  • Purpose: Fit all trade details vertically

Height requirements:

Minimum (80-100 pixels):
- Compact display
- Small fonts required
- May cut off details

Standard (130-150 pixels) - DEFAULT:
- All information visible
- Comfortable font size
- clear appearance

Large (160-200 pixels):
- Extra spacing
- Large fonts (accessibility)
- Very comfortable viewing

TradePanel_Spacing - Panel Gapโ€‹

What it does: Vertical spacing between stacked trade panels.

Configuration:

  • Default: 50 pixels
  • Range: 10โ€“100 pixels
  • Purpose: Visual separation between multiple trades

Spacing examples:

Tight (10-30 pixels):
- Compact layout
- More panels visible
- May feel cramped

Balanced (50-60 pixels) - DEFAULT:
- Clear separation
- clear appearance
- Easy panel identification

Wide (70-100 pixels):
- Maximum separation
- Very clear distinction
- Good for large screens

Visual example:

TradePanel_Spacing = 50:
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ TRADE PANEL 1 โ”‚ โ† 130 pixels height
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ†“ 50 pixels spacing
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ TRADE PANEL 2 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
โ†“ 50 pixels spacing
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ TRADE PANEL 3 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Panel Text & Transparencyโ€‹

TradeInfoFontSize - Panel Font Sizeโ€‹

What it does: Text size within trade panels.

Configuration:

  • Default: 9 points
  • Range: 7โ€“14 points
  • Purpose: Readability vs space efficiency

Font size recommendations:

Small (7-8 points):
- Compact display
- More info in less space
- May strain eyes

Standard (9-10 points) - DEFAULT:
- Comfortable reading
- clear appearance
- Recommended for most users

Large (11-14 points):
- Accessibility
- Easy reading from distance
- Requires larger panel height

TradeInfoTransparency - Panel Background Transparencyโ€‹

What it does: Transparency level for trade panel backgrounds.

Configuration:

  • Default: 10 (nearly opaque)
  • Range: 0โ€“255
    • 0 = Fully opaque (solid background)
    • 255 = Fully transparent (invisible background)
  • Purpose: See chart through panels while maintaining readability

Transparency levels:

Opaque (0-20) - DEFAULT:
- Solid background
- Maximum text readability
- clear appearance

Semi-Transparent (50-100):
- See chart through panels
- Balanced visibility
- Modern look

Very Transparent (150-200):
- Minimal visual impact
- Chart clearly visible
- May reduce text readability

Nearly Invisible (220-255):
- No background visible
- Text only (hard to read)
- Not recommended

Additional Panel Controlsโ€‹

InfoPanel_Width - Main Status Panel Widthโ€‹

What it does: Width of main EA status panel (not trade panels).

Configuration:

  • Default: 240 pixels
  • Range: 200โ€“400 pixels
  • Purpose: EA version, mode, performance metrics

Status panel displays:

  • EA version number
  • Current mode (Auto Trading vs Trade Management)
  • Active trades count
  • Overall performance stats

PanelTransparency - General Panel Transparencyโ€‹

What it does: Transparency for general panels (non-trade panels).

Configuration:

  • Default: 10 (nearly opaque)
  • Range: 0โ€“255
  • Purpose: Match trade panel transparency for consistent look

PanelFontSize - General Panel Font Sizeโ€‹

What it does: Font size for general panels (non-trade panels).

Configuration:

  • Default: 9 points
  • Range: 7โ€“14 points
  • Purpose: Match trade panel font size

Trade Close Buttonsโ€‹

EnableTradeCloseButtons - Show Close Buttonsโ€‹

What it does: Displays one-click close buttons on each trade panel.

Configuration:

  • Default: true (enabled, highly recommended)
  • Purpose: Quick trade management without MT4 terminal
  • Buttons:
    • โŒ (Full Close) โ€” Closes 100% of position
    • ยฝ (Half Close) โ€” Closes 50% of position (partial close)

Button functionality:

Full Close Button (โŒ):
- Click โ†’ Closes entire position
- Instant execution
- No confirmation prompt
- structured one-click exit

Half Close Button (ยฝ):
- Click โ†’ Closes 50% of position
- Locks in partial profit
- Remaining 50% stays open
- Perfect for risk-free trading

When to disable:

  • Accidental click concerns (use MT4 terminal instead)
  • Minimalist interface preference
  • Prevent one-click closing (safety)

Button Appearanceโ€‹

CloseButton_Size - Button Sizeโ€‹

What it does: Size of close buttons in pixels.

Configuration:

  • Default: 20 pixels (width and height)
  • Range: 15โ€“40 pixels
  • Purpose: Easy clicking without excessive space

Button sizing:

Small (15-18 pixels):
- Compact
- Less intrusive
- May be hard to click precisely

Standard (20-25 pixels) - DEFAULT:
- Easy clicking
- clear appearance
- Recommended

Large (30-40 pixels):
- Very easy clicking
- Accessibility
- More visual space used

CloseButton_FullColor - Full Close Button Colorโ€‹

What it does: Background color for full close (โŒ) button.

Configuration:

  • Default: clrRed (bright red)
  • Purpose: Warning color (permanent action)
  • Alternatives:
    • clrCrimson โ€” Darker red
    • clrMaroon โ€” Dark red-brown
    • clrOrangeRed โ€” Orange-red

CloseButton_HalfColor - Half Close Button Colorโ€‹

What it does: Background color for half close (ยฝ) button.

Configuration:

  • Default: clrOrange (bright orange)
  • Purpose: Caution color (partial action)
  • Alternatives:
    • clrGold โ€” Gold/yellow
    • clrDarkOrange โ€” Darker orange
    • clrYellow โ€” Bright yellow

CloseButton_TextColor - Button Text Colorโ€‹

What it does: Color for button text/symbols (โŒ and ยฝ).

Configuration:

  • Default: clrWhite (white)
  • Purpose: Maximum contrast for readability
  • Alternatives:
    • clrBlack โ€” Black (for light button backgrounds)
    • clrYellow โ€” Yellow (high visibility)

Color scheme examples:

structured (default):
Full Close: Red background, White text
Half Close: Orange background, White text

High Contrast:
Full Close: Crimson background, Yellow text
Half Close: Gold background, Black text

Colorblind-Friendly:
Full Close: Dark blue background, White text
Half Close: Teal background, White text

Trade Arrow Visualizationโ€‹

Automatic Trade Markers on Chartโ€‹

BananaEA v4.5.1 includes automatic trade arrow visualization that marks entry points directly on the chart.

ShowTradeArrows - Display Trade Arrowsโ€‹

What it does: Automatically plots arrow objects on chart at trade entry prices.

Configuration:

  • Default: true (enabled, recommended for learning)
  • Purpose: Visual feedback of EA's entry points
  • Display: Arrows appear immediately when trades open

Arrow types (8 signal types):

ArrowSignalColorDescription
โ–ฒBu1BlueBanana Buy Pattern #1
โ–ฒBu2CyanBanana Buy Pattern #2
โ–ฒBu3DeepSkyBlueBanana Buy Pattern #3
โ–ผBe1RedBanana Sell Pattern #1
โ–ผBe2OrangeBanana Sell Pattern #2
โ–ผBe3PinkBanana Sell Pattern #3
โ—ExtPurpleExternal Signal
โ– ManGrayManual Trade (Magic=0)

When to enable (true):

  • Learning EA behavior and signal detection
  • Performance review and pattern analysis
  • Backtesting visualization
  • Identifying signal clustering/spacing

When to disable (false):

  • Clean chart preference (minimize clutter)
  • Live trading focus (rely on panels only)
  • Multi-chart layouts (reduce visual noise)
  • Performance optimization (marginal improvement)

TradeArrowSize - Arrow Sizeโ€‹

What it does: Controls arrow marker size (1-3 scale).

Configuration:

  • Default: 2 (medium)
  • Range: 1 (small) to 3 (large)
  • Purpose: Balance visibility with chart clarity

Size comparison:

Size 1 (Small):
- Minimal chart clutter
- Hard to see on busy charts
- Good for high-frequency trading

Size 2 (Medium) - DEFAULT:
- Balanced visibility
- clear appearance
- Recommended for most users

Size 3 (Large):
- Maximum visibility
- Easy to see from distance
- Good for presentations/analysis

MaxBarsToPlot - Historical Arrow Limitโ€‹

What it does: Maximum number of historical bars to plot arrows (performance control).

Configuration:

  • Default: 500 bars
  • Range: 0 (unlimited) to 5000 bars
  • Purpose: Control chart attach speed and visual clutter

Performance impact:

MaxBarsToPlot = 100:
- Very fast chart attach (<1 second)
- Minimal historical arrows
- Good for live trading focus

MaxBarsToPlot = 500 (DEFAULT):
- Balanced performance (~1-2 seconds)
- Reasonable historical context
- Recommended for most users

MaxBarsToPlot = 2000:
- Slower chart attach (3-5 seconds)
- Extensive historical view
- Good for pattern analysis

MaxBarsToPlot = 0:
- Unlimited (SLOWEST attach 10+ seconds)
- Complete trade history on chart
- Use only for analysis/presentations

Best practices:

  • Live trading: 100-500 bars (fast attach)
  • Backtesting review: 1000-2000 bars (full analysis)
  • Pattern research: 0 (unlimited, accept slow attach)

CustomArrowColor - Arrow Color Overrideโ€‹

What it does: Overrides default arrow colors with single custom color.

Configuration:

  • Default: clrNONE (use default color-coding by signal type)
  • Purpose: Uniform arrow appearance if preferred
  • Recommendation: Leave as clrNONE to maintain signal type distinction

When to use custom color:

  • Minimalist single-color preference
  • Color coordination with chart theme
  • Simplifying visual appearance

When to use clrNONE (recommended):

  • Distinguish between signal types visually
  • Analyze which patterns perform best
  • Maintain color-coded feedback system

๐Ÿ’ก For complete trade arrow documentation, see: Trade Visualization Settings


structured Theme Systemโ€‹

Centralized Color Managementโ€‹

BananaEA v4.5.1 includes GUIThemeManager for centralized theme control.

Features:

  • โœ… Centralized color management across all UI elements
  • โœ… Consistent appearance between dashboard, panels, buttons
  • โœ… Easy theme switching without individual parameter changes
  • โœ… built-in color schemes optimized for trading

How it works:

Instead of setting 20+ individual color parameters, the theme manager:

  1. Applies built-in color schemes automatically
  2. Ensures visual consistency across all elements
  3. Adapts to different chart backgrounds
  4. Maintains optimal contrast for readability

Current implementation:

The theme system is automatic - it works behind the scenes to:

  • Coordinate panel colors with button colors
  • Match text colors for optimal contrast
  • Adapt watermark visibility to chart background
  • Ensure clear appearance

Customization:

While the theme system provides defaults, you can still override individual elements:

  • Panel background colors
  • Button colors
  • Text colors
  • Watermark display mode

Benefits:

๐ŸŽจ clear appearance out of the box โš™๏ธ Consistent styling across all UI elements ๐Ÿ”„ Easy theme coordination when customizing โœจ Optimized contrast for all lighting conditions

๐Ÿ’ก Note: Future versions may include user-selectable themes (dark/light/custom).


DPI Scaling & High-Resolution Display Supportโ€‹

EnableDPIScaling - High-DPI Display Supportโ€‹

What it does: Enables automatic scaling for high-resolution displays (4K, 5K, Retina).

Configuration:

  • Default: true (enabled, recommended)
  • Purpose: Ensure crisp, properly-sized UI elements on high-DPI screens
  • Applies to: All panels, buttons, text, arrows

When to enable (true) - RECOMMENDED:

  • 4K monitors (3840ร—2160)
  • 5K/6K displays (5120ร—2880 and higher)
  • MacBook Retina displays
  • High-DPI laptop screens (>150 DPI)
  • Multi-monitor setups with mixed DPI

When to disable (false):

  • Standard 1080p monitors (1920ร—1080)
  • Older displays (1280ร—720, 1366ร—768)
  • DPI scaling causes UI issues (rare)

DPIScalingMode - Scaling Algorithmโ€‹

What it does: Controls how UI elements scale on high-DPI displays.

Configuration:

  • Default: 1 (Automatic)
  • Options:
    • 0 โ€” None (no scaling, may appear tiny on 4K)
    • 1 โ€” Automatic (recommended, adapts to display DPI)
    • 2 โ€” Manual (use DPIScalingFactor below)

Recommended: Automatic (1)

Automatically detects your display DPI and scales UI elements appropriately:

  • 1080p (96 DPI) โ†’ No scaling needed
  • 1440p (110 DPI) โ†’ 1.15x scaling
  • 4K (192 DPI) โ†’ 2.0x scaling
  • 5K (220 DPI) โ†’ 2.3x scaling

DPIScalingFactor - Manual Scaling Factorโ€‹

What it does: Manual scaling multiplier when DPIScalingMode = 2.

Configuration:

  • Default: 1.0 (no scaling)
  • Range: 0.5 to 3.0
  • Purpose: Fine-tune UI scaling manually

When to use:

  • Automatic scaling doesn't look right
  • You prefer larger/smaller UI than auto-calculated
  • Mixed monitor setup with different preferences

Example scaling:

DPIScalingFactor = 1.0 (100%):
- Standard size on 1080p
- Tiny on 4K

DPIScalingFactor = 1.5 (150%):
- 50% larger UI elements
- Good for 1440p displays

DPIScalingFactor = 2.0 (200%):
- Double-sized UI
- Perfect for 4K displays

DPIScalingFactor = 2.5 (250%):
- Very large UI
- Good for 5K displays or accessibility

Best practice: Use DPIScalingMode = 1 (Automatic) unless you have specific manual preferences.


Visual Settingsโ€‹

WatermarkColorMode - Watermark Color Schemeโ€‹

What it does: Controls EA watermark color adaptation.

Configuration:

  • Default: 0 (Auto)
  • Options:
    • 0 โ€” Auto (adapts to chart background)
    • 1 โ€” Light (bright colors for dark charts)
    • 2 โ€” Dark (subdued colors for light charts)

Watermark purpose:

  • EA version information
  • version branding
  • Trading mode indicator
  • Non-intrusive chart overlay

Logging & Debugโ€‹

ShowDebugLogs - Console Debug Logsโ€‹

What it does: Enables detailed logging to MT4 Experts tab.

Configuration:

  • Default: false (disabled for normal trading)
  • Purpose: Development, troubleshooting, support
  • Output: Function calls, order details, calculations

When to enable:

  • Troubleshooting issues
  • Support ticket investigation
  • Understanding EA behavior
  • Development/testing

When to disable (default):

  • Normal trading (reduces console clutter)
  • Live accounts (performance optimization)
  • No issues present

EnableTradingLog - Enhanced Trading Logโ€‹

What it does: Creates detailed trading log files.

Configuration:

  • Default: false (disabled)
  • Purpose: Advanced analysis, record keeping
  • Output: Separate log files with trade details

Use cases:

  • Performance analysis
  • Compliance record keeping
  • Detailed backtesting review
  • structured trade journaling

Best Practicesโ€‹

Panel Appearance Configurationโ€‹

structured dark theme (default):

TradePanel_BackgroundColor = C'10,10,10' // Near-black
TradePanel_BuyTitleColor = Lime // Bright green
TradePanel_SellTitleColor = OrangeRed // Red-orange
TradeInfoTransparency = 10 // Nearly opaque
TradeInfoFontSize = 9 // Standard font

Light chart theme:

TradePanel_BackgroundColor = C'240,240,240' // Light gray
TradePanel_BuyTitleColor = clrGreen // Dark green
TradePanel_SellTitleColor = clrRed // Dark red
TradeInfoTransparency = 20 // Slightly transparent
TradeInfoFontSize = 9

High visibility (accessibility):

TradePanel_BackgroundColor = C'0,0,0' // Pure black
TradePanel_BuyTitleColor = clrYellow // Bright yellow
TradePanel_SellTitleColor = clrMagenta // Bright magenta
TradeInfoTransparency = 0 // Fully opaque
TradeInfoFontSize = 11 // Larger font

Panel Sizing Configurationโ€‹

Compact (multi-chart):

TradePanel_Width = 220 // Narrower panels
TradePanel_Height = 110 // Shorter panels
TradePanel_Spacing = 30 // Tight spacing
TradeInfoFontSize = 8 // Smaller font

Balanced (recommended):

TradePanel_Width = 260 // DEFAULT
TradePanel_Height = 130 // DEFAULT
TradePanel_Spacing = 50 // DEFAULT
TradeInfoFontSize = 9 // DEFAULT

Large (single-chart focus):

TradePanel_Width = 300 // Wider panels
TradePanel_Height = 160 // Taller panels
TradePanel_Spacing = 70 // More spacing
TradeInfoFontSize = 11 // Larger font

Close Button Configurationโ€‹

Conservative (default):

EnableTradeCloseButtons = true
CloseButton_Size = 20 // Standard size
CloseButton_FullColor = clrRed // Warning red
CloseButton_HalfColor = clrOrange // Caution orange
CloseButton_TextColor = clrWhite // High contrast

Disabled (safety):

EnableTradeCloseButtons = false // No buttons (use MT4 terminal)

Large buttons (accessibility):

EnableTradeCloseButtons = true
CloseButton_Size = 30 // Larger buttons
CloseButton_FullColor = clrCrimson // Dark red
CloseButton_HalfColor = clrGold // Gold
CloseButton_TextColor = clrWhite

Troubleshootingโ€‹

Issue: Panels Overlap Chart Elementsโ€‹

Solutions:

  1. Adjust offsets:

    • Increase TradeInfoXOffset (move panels right/left)
    • Increase TradeInfoYOffset (move panels down/up)
  2. Reduce panel size:

    • Decrease TradePanel_Width (narrower)
    • Decrease TradePanel_Height (shorter)
  3. Increase transparency:

    • Set TradeInfoTransparency = 100 (see through panels)

Issue: Text Too Small/Hard to Readโ€‹

Solutions:

  1. Increase font size:

    • Set TradeInfoFontSize = 11 or 12
  2. Increase panel height:

    • Set TradePanel_Height = 150 (more vertical space)
  3. Reduce transparency:

    • Set TradeInfoTransparency = 0 (solid background)

Issue: Panels Stacked Too Closeโ€‹

Solutions:

  1. Increase spacing:

    • Set TradePanel_Spacing = 70 or higher
  2. Reduce panel height:

    • Set TradePanel_Height = 110 (shorter panels)

Issue: Can't See Watermarkโ€‹

Solutions:

  1. Change color mode:

    • Dark chart: Set WatermarkColorMode = 1 (light colors)
    • Light chart: Set WatermarkColorMode = 2 (dark colors)
  2. Auto mode may adapt:

    • Try WatermarkColorMode = 0 (auto-detect)


Quick Referenceโ€‹

Visual Customization Parametersโ€‹

ParameterDefaultPurpose
ShowTradeInfoPaneltrueShow/hide trade panels
TradeInfoXOffset5 pixelsHorizontal position
TradeInfoYOffset20 pixelsVertical position
TradePanel_BackgroundColorC'10,10,10'Panel background
TradePanel_BuyTitleColorLimeBUY trade title color
TradePanel_SellTitleColorOrangeRedSELL trade title color
TradePanel_Width260 pixelsPanel width
TradePanel_Height130 pixelsPanel height
TradePanel_Spacing50 pixelsGap between panels
TradeInfoFontSize9 pointsPanel text size
TradeInfoTransparency10Panel transparency (0-255)
EnableTradeCloseButtonstrueShow close buttons
CloseButton_Size20 pixelsButton size
CloseButton_FullColorclrRedFull close button color
CloseButton_HalfColorclrOrangeHalf close button color
CloseButton_TextColorclrWhiteButton text color
WatermarkColorMode0 (Auto)Watermark color scheme
ShowDebugLogsfalseConsole debug output
EnableTradingLogfalseEnhanced log files
// Trade Info Panels
ShowTradeInfoPanel = true
TradeInfoXOffset = 5
TradeInfoYOffset = 20
TradeInfoTransparency = 10
TradeInfoFontSize = 9

// Panel Colors
TradePanel_BackgroundColor = C'10,10,10' // Near-black
TradePanel_BuyTitleColor = Lime // Bright green
TradePanel_SellTitleColor = OrangeRed // Red-orange

// Panel Sizing
TradePanel_Width = 260 // Standard width
TradePanel_Height = 130 // Standard height
TradePanel_Spacing = 50 // Balanced spacing

// Close Buttons
EnableTradeCloseButtons = true // One-click management
CloseButton_Size = 20 // Standard size
CloseButton_FullColor = clrRed // Warning red
CloseButton_HalfColor = clrOrange // Caution orange
CloseButton_TextColor = clrWhite // High contrast

// Visual Settings
WatermarkColorMode = 0 // Auto-adapt

// Logging
ShowDebugLogs = false // Normal trading
EnableTradingLog = false // Not needed

Result:
- structured dark theme appearance
- Clear BUY/SELL visual distinction
- Easy one-click trade management
- Balanced panel sizing and spacing
- Comfortable viewing on all screens

๐Ÿ’ก For visual customization examples and screenshots, visit: https://itradeaims.net/banana-ea/