Skip to content

?? Professional MT4 Expert Advisor for Gold trading using institutional pivot strategy. Proven +$7,448.54 profit (49% ROI). Enhanced v2.01 with trade quality scoring and advanced risk management.

Notifications You must be signed in to change notification settings

Monkeyattack/monkeyattack-gold-pivot-ea

Repository files navigation

🐒 Monkey Attack Gold Pivot EA - Enhanced v2.01

Professional MetaTrader 4 Expert Advisor for Gold (XAUUSD) trading using institutional pivot point strategy.

📊 Performance Results

  • Profit: +$7,448.54 (149% ROI)
  • Win Rate: 34.34%
  • Max Drawdown: 37.60%
  • Total Trades: 661
  • Risk per Trade: 1.5%
  • Strategy: Institutional Pivot Points Only

🎯 Key Features

Core Strategy

  • Institutional Pivot Points - Daily and weekly pivot calculations
  • Dynamic Support/Resistance - Real-time fractal-based levels
  • Session-Based Trading - London/NY overlap optimization
  • Multi-Timeframe Analysis - M1 execution with higher timeframe context

Enhanced v2.01 Features

  • Trade Quality Scoring (1-7 scale) - Only takes high-probability setups
  • Consecutive Loss Protection - Automatic risk reduction after losses
  • Volatility-Adjusted Position Sizing - Adapts to market conditions
  • Premium Time Filtering - Avoids low-quality session endings
  • Advanced Risk Management - Institutional-grade protection

Visual Interface

  • Real-time Settings Panel - Monitor EA status and parameters
  • Pivot Level Display - See support/resistance levels on chart
  • Buy/Sell Zone Indicators - Visual trade opportunity areas
  • Signal Arrows - Clear entry/exit points
  • Risk Status Display - Normal/Reduced risk mode indicator

⚙️ Installation

  1. Copy monkey_attack_visual_ea.mq4 to your MT4 Experts folder
  2. Compile in MetaEditor (F7) - should show 0 errors, 0 warnings
  3. Load optimized settings from Settings/pivot_final_settings.set
  4. Attach to XAUUSD H1 chart
  5. Enable AutoTrading
  6. See Documentation/ folder for detailed installation guides

📋 Key Settings

// Core Parameters (Live-Optimized)
LotSize = 0.01                    // Fixed lot size
UseAutoLotSizing = true           // Enable dynamic sizing
RiskPercent = 1.5                 // Risk percentage per trade
RSI_Overbought = 65               // Optimized RSI levels
RSI_Oversold = 35                 // Optimized RSI levels
RiskRewardRatio = 2.5             // Proven optimal ratio

// Enhanced Features (v2.01)
MinTradeQuality = 5               // Minimum quality score (1-7)
MaxConsecutiveLosses = 3          // Before risk reduction
UseTradeQualityFilter = true      // Enable selective trading
UseVolatilityPositioning = true   // Adapt to market volatility

🕐 Trading Hours

  • Primary: London-NY Overlap (13:00-16:00 GMT) - Best performance
  • Secondary: London Session (08:00-16:00 GMT)
  • Secondary: New York Session (13:00-21:00 GMT)
  • Avoid: Asian Session (low volatility)

📈 Strategy Logic

  1. Calculate Institutional Pivots - Daily/weekly levels from previous OHLC
  2. Identify Dynamic S/R - Fractal-based swing highs/lows
  3. Wait for Quality Setup - Price near pivot + RSI + MACD + MA alignment
  4. Score Trade Quality - 7-point scoring system filters low-probability trades
  5. Execute with Risk Management - Dynamic stops, trailing, and position sizing

⚠️ Risk Management

  • Maximum Spread: 7 points
  • Stop Loss Range: 250-600 points (ATR-based)
  • Take Profit: 2.5x stop loss (risk:reward)
  • Consecutive Loss Protection: Reduces risk by 50% after 3 losses
  • Volatility Adjustment: Smaller positions in high volatility
  • Account Protection: Never risk more than 1.5% per trade

📊 Backtesting Results Summary

Strategy Net Profit Win Rate Max DD Trades
Trend Following -$1,606.06 36.29% 58.43% 1,105
Range Trading +$2,311.37 52.27% 29.45% 616
RSI Only +$2,309.13 39.81% 21.87% 324
Pivot Points +$7,448.54 34.34% 37.60% 661

🔧 Version History

  • v2.00 - Original visual EA with pivot strategy
  • v2.01 - Enhanced with quality scoring, consecutive loss protection, volatility positioning

⚡ Quick Start

  1. Demo Test First - Always test on demo account (2-4 weeks recommended)
  2. Monitor Performance - Check against backtesting expectations
  3. Account Size - Minimum $5,000 recommended for 0.01 lots
  4. Broker Requirements - Low spread broker essential for scalping

📞 Support

  • Monitor EA status through visual panel
  • Check Expert tab for trade logs
  • Maintain detailed records for analysis
  • Review performance monthly vs expectations

⚖️ Disclaimer

Past performance does not guarantee future results. This EA involves significant risk of loss. Gold trading is highly volatile and unpredictable. Use proper risk management and never risk more than you can afford to lose.

📁 Repository Structure

├── monkey_attack_visual_ea.mq4        # Main EA file (v2.01 Enhanced)
├── README.md                          # This documentation
├── CLAUDE.md                          # Development configuration
├── Documentation/                     # Complete documentation suite
│   ├── Gold Pivot EA Installation and Troubleshooting Manual.pdf
│   ├── Installation and Troubleshooting Manual.pdf
│   └── Monkey Attack Gold Pivot EA - Complete Development Journey.pdf
└── Settings/                          # Optimized parameter sets
    ├── pivot_final_settings.set       # Winning configuration (+$7,448.54)
    └── Previous Set Files/             # All backtested strategies
        ├── BackTesting20250714.set
        ├── debug_mode_settings.set
        ├── pivot_only_settings.set     # The winner!
        ├── range_trading_settings.set
        ├── rsi_only_settings.set
        └── trend_only_settings.set

📚 Documentation

  • Complete Development Journey - Full backtesting methodology and results
  • Installation Manual - Step-by-step setup instructions
  • Troubleshooting Guide - Common issues and solutions
  • Settings Collection - All tested parameter combinations with results

🐒 Monkey Attack Trading Systems - Professional Algorithmic Trading Solutions

About

?? Professional MT4 Expert Advisor for Gold trading using institutional pivot strategy. Proven +$7,448.54 profit (49% ROI). Enhanced v2.01 with trade quality scoring and advanced risk management.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages