Project Description
I need a bullet-proof trading bot written for MetaTrader 5 that faithfully executes the day-trading rules and custom trade-filter logic I will hand over. The code must run flawlessly on the latest MT5 build and handle live, simultaneous positions across Forex, stocks, cryptocurrencies and the metals market without freezing, slippage-induced errors, or data misreads.
You will receive my full decision-tree of entry/exit filters (think time-of-day blocks, spread caps, news blackout windows, dynamic ATR filters, etc.). Your task is to translate these into clean, well-commented MQL5 so the bot can:
• Listen tick-by-tick and open or close positions the instant every filter aligns
• Auto-manage risk per trade (lot size, stop, take-profit)
• Instantly re-evaluate rules on partial fills or requotes
• Log every step for post-trade auditing
Deliverables
• Compiled .ex5 file ready to attach to any MT5 chart
• Full .mq5 source code with inline comments
• A brief setup guide (PDF or Markdown) and assitance on how to install and run the bot
• multiple back test on an MT5, after connecting to a broker account, showing zero runtime errors and precise adherence to my filters
Acceptance criteria
The bot must compile with zero warnings, run unattended for 168 hours on a low-latency VPS, and reproduce the test results I’ll provide within a 2% variance on key metrics (win rate, average trade duration, max drawdown).
If you have solid MQL5, multi-asset experience and confidence in writing fail-safe code, let’s get this built.