Optimize Auto-Trading EA + Add Manual Trading Features

工作已完成

执行时间30 天
客户反馈
Professional and good support services
员工反馈
Khách hàng rất am hiểu về lập trình và giao dịch. Khuyến khích lựa chọn để hợp tác!

指定

Budget: [100$ - 200$]

I need an experienced MQL5 developer to optimize my existing auto-trading EA and integrate manual trading capabilities from a second EA.

The goal is to create a complete EA that combines automated signal-based trading with full manual control.

Two reference codes are attached for review before bidding:

  • Code 1 (1 Auto Trade.mq5): Auto-trading EA (main codebase - needs optimization)
  • Code 2 (2 Manual Trade.mq5): Manual trading features reference (extract features from here)

⚠️ Please review BOTH codes before APPLY.

Detailed Requirements:

PART 1: Optimize Code 1 (Auto-Trading Core)

1.1 Multi-Asset Compatibility

  • Ensure EA works flawlessly across ALL asset types:
    • Forex pairs (major, minor, exotic)
    • Indices (US30, NAS100, etc.)
    • Metals (Gold, Silver)
    • Crypto (if broker supports)
  • Dynamic symbol property detection
  • Adaptive to different tick sizes, contract sizes, and specifications

1.2 Account Type Detection & Lot Size Calculation ⚠️ CRITICAL

Currently the EA has issues distinguishing account types, causing incorrect lot sizing and money display.

Fix Required:

  • Auto-detect account type: Cent / Raw-ECN / Standard
  • Correct lot size calculation for each account type
  • Accurate P&L display (adjusted for Cent accounts where $1 = $0.01 actual)
  • Proper balance/equity conversion
  • Test on all 3 account types to verify accuracy

1.3 Order Execution Speed Optimization

  • Single order close: Minimize latency, retry logic for failed closes
  • Batch close operations:
    • Close All Buy/Sell (parallel processing if possible)
    • Close All Profit/Loss
    • Close All (positions + pending orders)
    • Progress feedback during batch operations
    • Handle 100+ positions efficiently

1.4 New Feature: Close on Opposite Signal 🆕

  • Add input parameter:  bool CloseOnOppositeSignal = true/false
  • When enabled:
    • BUY signal → Close all SELL positions before opening BUY
    • SELL signal → Close all BUY positions before opening SELL
  • Configurable via input settings

1.5 Optional: Virtual SL/TP Optimization

  • Review current hidden SL/TP implementation
  • Fix any bugs if discovered during testing
  • Ensure compatibility with different broker types (Market/Instant execution)
  • Proper handling when EA restarts

PART 2: Integrate Manual Trading Features (from Code 2)

Extract and integrate the following manual trading capabilities into Code 1:

2.1 Manual Entry Functions

  • Market Orders:
    • Manual BUY button (market execution)
    • Manual SELL button (market execution)
    • Use Line SL for custom stop loss placement
  • Pending Orders:
    • Pending BUY button (Buy Stop/Limit auto-detection)
    • Pending SELL button (Sell Stop/Limit auto-detection)
    • Line ET (Entry) for custom entry price
    • Line SL for custom stop loss
    • Auto-delete lines after order placement (configurable)

2.2 Line-Based Trading

  • Line SL BUY: Draggable horizontal line for BUY stop loss
  • Line SL SELL: Draggable horizontal line for SELL stop loss
  • Line ET BUY: Draggable horizontal line for BUY entry (NEW from Code 2)
  • Line ET SELL: Draggable horizontal line for SELL entry (NEW from Code 2)
  • Set SL Manual button: Apply Line SL to existing positions
  • Real-time lot size preview on line labels
  • Support for profit locking (SL above/below entry)

2.3 Advanced Close Functions

  • Close Buy positions only
  • Close Sell positions only
  • Close Profit positions only
  • Close Loss positions only
  • Close All (positions + pending)
  • Cancel Pending Buy/Sell/All

2.4 Instant Management Actions

  • Partial NOW: Execute partial close immediately on all eligible positions
  • Break-Even NOW: Set all positions to break-even immediately

2.5 Feature Toggle Buttons

  • Partial Close (ON/OFF)
  • Break-Even (ON/OFF)
  • Trailing Stop (ON/OFF)
  • New Order Trailing (ON/OFF)
  • Reversal Trade (ON/OFF)
  • One Stop Loss (ON/OFF)

2.6 UI Layout

Maintain clean, organized button layout from Code 2:

  • Row 1: EA ON/OFF
  • Row 2: Line ET buttons
  • Row 3: Pending Order buttons
  • Row 4: Market Order buttons
  • Row 5: Line SL buttons + Set SL Manual
  • Row 6-7: Close buttons
  • Row 8-9: Cancel Pending buttons
  • Row 10-13: Feature toggles + Instant actions
  • Info panel: Real-time statistics and position tracking

2.7 Enhanced Info Display

  • Current positions (Buy/Sell count)
  • Pending orders count and breakdown
  • Floating P&L by direction
  • Total P/L and volume
  • Feature status indicators (color-coded)
  • Account balance/equity (correctly displayed)
  • Daily statistics
  • Tracked pending orders list

PART 3: Testing Requirements 

Developer MUST perform comprehensive testing before delivery:

3.1 Backtest Requirements

  • Test on at least 3 different symbols:
    • 1 Forex pair (e.g., EURUSD)
    • 1 Index (e.g., US30)
    • 1 Metal (e.g., XAUUSD)
  • Test on all 3 account types: Cent, Raw, Standard
  • Verify correct lot sizing and P&L calculations

3.2 Functionality Tests

  • ✅ Auto-trading signal execution
  • ✅ Manual market orders
  • ✅ Pending order placement (Stop/Limit)
  • ✅ Line-based SL/ET adjustment
  • ✅ Virtual SL/TP functionality
  • ✅ All close functions (single + batch)
  • ✅ Feature toggles (Partial, BE, Trailing, etc.)
  • ✅ Reversal trade logic
  • ✅ Close on opposite signal
  • ✅ Daily limit controls
  • ✅ UI responsiveness

3.3 Stress Testing

  • Open 50+ positions, test batch close
  • Rapid manual order placement
  • Line dragging performance
  • EA restart with open positions (Virtual SL/TP recovery)

3.4 Documentation

Provide brief test report showing:

  • Symbols tested
  • Account types tested
  • Key functionalities verified
  • Any known limitations

PART 4: Deliverables 📦

Final delivery must include:

  1. Source Code:
    • .mq5  file (fully commented, clean code)
    • No time limitations, no expiration
    • No external DLL dependencies (unless necessary and disclosed)
  2. Compiled File:
    • .ex5  file (ready to use)
  3. License:
    • ✅ Lifetime usage rights
    • ✅ No restrictions or expiration
    • ✅ Works on unlimited accounts
  4. Documentation (brief):
    • Setup guide
    • Parameter explanations
    • Known limitations (if any)

PART 5: Payment Terms 💰

  • Payment Method: MQL5 Freelance escrow system
  • Milestone: 100% payment upon delivery of FINAL  .mq5  +  .ex5  files
  • Condition: Only after I receive working files that pass my testing
  • No upfront payment - protected by MQL5 escrow

PART 6: Post-Delivery Support 🛠️

3-Month Support Period:

  • Bug fixes for any issues discovered during real trading
  • Minor optimizations if performance issues arise
  • Clarifications on EA functionality
  • Response time: Within 48 hours for critical bugs

Not included in support:

  • New feature requests beyond original scope
  • Changes to trading logic/strategy
  • Issues caused by broker-specific problems

📋 EA Functional Overview (for Developer Reference)

Core Concept:

This is a semi-automated trading system that combines:

  1. Auto-trading: Signal-based entries from custom indicator
  2. Manual control: Full manual trading capabilities with advanced tools

Key Features:

Auto-Trading:

  • Custom indicator signal detection (Buffer-based)
  • Automated BUY/SELL entries
  • Optional: Pending order mode with retracement entries
  • Configurable SL calculation (N-candle or Indicator-based)
  • Risk:Reward ratio-based TP
  • Dynamic lot sizing (Fixed/Fixed Balance/Percent Balance)

Position Management:

  • Virtual SL/TP (hidden from broker)
  • Partial close at profit targets
  • Break-even automation
  • Trailing stop (R-based)
  • Indicator-based trailing
  • Box indicator trailing
  • New order trailing (sync SL for same direction)
  • One Stop Loss (sync all positions same direction)
  • Reversal trade on SL hit

Manual Trading:

  • Market orders with custom SL (via Line)
  • Pending orders with custom Entry + SL (via Lines)
  • Instant management actions (Partial NOW, BE NOW)
  • Batch close operations
  • Manual SL adjustment for existing positions

Risk Controls:

  • Max positions limit
  • Daily profit/loss limits
  • Auto-close by floating P/L
  • Time filter (trading sessions)
  • Max pending orders limit

UI/UX:

  • Toggle buttons for all features
  • Real-time info display
  • Draggable SL/ET lines with lot preview
  • Sound alerts
  • Statistics tracking

🎯 Ideal Developer Profile:

  • ✅ 5+ years MQL5 experience
  • ✅ Expert in OOP, order management, position tracking
  • ✅ Experience with multi-asset EAs
  • ✅ Strong understanding of broker execution types
  • ✅ Portfolio with similar complex EAs
  • ✅ Good communication (English)
  • ✅ Available for support period

📎 Attached Files:

  1. 1 Auto Trade.mq5  - Main EA to optimize
  2. 2 Manual Trade.mq5  - Extract manual features from here

⚠️ Please review BOTH codes before APPLY.


Thank you for your interest! Looking forward to working with a skilled developer. 🚀


附加的文件:

反馈

1
开发者 1
等级
(5)
项目
11
55%
仲裁
1
100% / 0%
逾期
2
18%
工作中
发布者: 6 代码
2
开发者 2
等级
(4)
项目
3
33%
仲裁
2
0% / 100%
逾期
0
空闲
3
开发者 3
等级
(2)
项目
1
0%
仲裁
1
0% / 100%
逾期
0
空闲
4
开发者 4
等级
项目
0
0%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(8)
项目
9
0%
仲裁
2
0% / 50%
逾期
1
11%
工作中
6
开发者 6
等级
(273)
项目
402
27%
仲裁
40
40% / 50%
逾期
1
0%
空闲
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
项目
0
0%
仲裁
0
逾期
0
空闲
9
开发者 9
等级
(1)
项目
1
100%
仲裁
0
逾期
0
工作中
10
开发者 10
等级
(13)
项目
20
40%
仲裁
1
0% / 100%
逾期
1
5%
空闲
11
开发者 11
等级
(8)
项目
9
11%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
(257)
项目
263
30%
仲裁
0
逾期
3
1%
空闲
发布者: 2 代码
13
开发者 13
等级
(16)
项目
20
0%
仲裁
10
0% / 80%
逾期
6
30%
空闲
14
开发者 14
等级
(6)
项目
7
14%
仲裁
1
0% / 100%
逾期
1
14%
空闲
15
开发者 15
等级
项目
0
0%
仲裁
0
逾期
0
空闲
16
开发者 16
等级
(2)
项目
2
0%
仲裁
3
0% / 100%
逾期
1
50%
空闲
17
开发者 17
等级
(4)
项目
8
13%
仲裁
2
0% / 0%
逾期
2
25%
工作中
相似订单
5.20buy-20.5sell 50 - 1000 USD
⸻ 🧠 Professional AI Prompt (Clear English Version) Act as a professional algorithmic trading engineer with deep expertise in developing automated trading systems for TradingView and MetaTrader. You have strong knowledge of market behavior, trend analysis, and risk management. Your task is to design a fully automated trading strategy based on the following requirements: ⸻ 🎯 Entry Conditions: • Open a BUY trade
I am a Professional Forex Trader, actively working in the financial markets with a strong focus on how price truly moves. I specialize in logic, market structure, and institutional behavior rather than indicators or guesswork. I have mastered: • Market Structure • Trend Identification • Elliott Wave Theory • Wyckoff Logic My core expertise lies in: • Deep understanding of market structure • Identifying
Hello traders, I have Quantum queen v3.52, which is the latest version, available for $500 only. The price on the platform is around $1800, but I am offering it for a much lower price for serious buyers. Details: Product: Quantum queen Version: v3.52 Price: $500 Condition: Serious buyers only
EA for prop firms 30 - 500 USD
Hi, I am looking to purchase a MT5 EA that can show consistent profitability 5% each month with drawdown less than 9%. I am not ready to build a new one from scratch as i do not have the strategy in mind yet so i do not want to take the risk of building one but not sure if it works. Only apply if you have an existing proven and tested EA that can sell to me together with the source code. The Ea is for prop firm even
I am a professional trader specializing in technical analysis using a powerful combination of Fibonacci strategies and Dow Theory. With strong experience in reading market structure, I am able to identify major trends, precise entry points, and key support & resistance levels with high accuracy. My approach goes beyond using a single indicator. I combine Fibonacci retracement & extension to pinpoint potential
Early Killer EA 30+ USD
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
I WANT TO CONVERT MY INDICATOR TO ROBOT, BUT I DONT HAVE THE SOURCE CODE , THE PROGRAMMER WILL DEVELOP THE SOURCE CODE FOR THE JOB. THE STRAGY IS SIMPLE , THE ROBOT WILL EXECUTE A TRADE WHEN THE SIGNAL FROM THE INDICATOR APPEARS. BUY SIGNAL IS WHEN THE ARROW APPEAS ON THE LOWER ZONE ( SUPPORT ZONE) SELL SIGNAL WHEN THE ARROW APPEARS ON THE UPPER ZONE ( RESISTANCE ZONE).THE ROBOT WILL HAVE THE FOLLWING FEATURES (1)
I want a prop-firm compatible MT5 trading robot, not a fast or aggressive one, for passing Prop firm challenges of any account sizes and also capable of earning profit on funded account after passing the challenge. Objectives: – Pass a prop firm challenge safely within 2–4 weeks, not 1 week. – Focus on capital protection first, profit second. Risk & Money Management: – Risk per trade: 0.25%–0.5% max – No martingale
أبحث عن خبير تداول آلي (EA) أرفقتُ فيديو له. يقوم هذا الخبير بوضع أوامر شراء معلقة وبيع معلقة على بُعد 250 نقطة أعلى وأسفل السعر الحالي كل دقيقة، مع تحديد مستوى وقف الخسارة (SL) عند 300 نقطة ومستوى جني الربح (TP) عند 500 نقطة. إذا تم تفعيل أيٍّ من هذين الأمرين خلال الدقيقة، يتم إلغاء الآخر. لا يقوم الخبير بوضع أي أوامر معلقة حتى يتم الوصول إلى مستوى وقف الخسارة أو جني الربح، ثم يضع مجموعة جديدة من الأوامر المعلقة في
I need MT5 Expert Advisor (EA) Strategy: - Break of Structure (body close) - Retest - Confirmation (engulfing/rejection) Rules: - Max 2 trades per day - Risk: $50 - TP: 1:2 RR - SL: structure No martingale, no grid XAUUSD M30

项目信息

预算
100+ USD
截止日期
 5  10 天