1. Purpose
The purpose of this Forex bot (Expert Advisor) is to automate trading based on a Moving Average crossover strategy. The bot will place trades, manage risk, and monitor positions without human intervention while allowing configuration of strategy parameters.
---
2. Scope
Automate trading on selected Forex pairs (EUR/USD, GBP/USD, etc.)
Support multiple timeframes (H1, H4, Daily)
Manage positions, including stop-loss, take-profit, trailing stops, and lot sizing
Provide logs, alerts, and notifications
Support backtesting in MetaTrader Strategy Tester
---
3. Functional Requirements
ID Feature Description Priority
FR1 MA Crossover Signal Generate BUY signal when Fast MA crosses above Slow MA; SELL when Fast MA crosses below Slow MA High
FR2 Trade Execution Automatically open/close trades based on signals High
FR3 Stop Loss Set configurable stop-loss in pips High
FR4 Take Profit Set configurable take-profit in pips High
FR5 Lot Sizing Lot can be fixed or calculated based on risk % of account High
FR6 Trailing Stop Optional trailing stop feature (configurable distance) Medium
FR7 Trade Logging Record trade details: entry/exit price, time, P&L High
FR8 Alerts & Notifications Notify user on trade execution via MT alerts or email Medium
FR9 Multi-Pair Support Ability to run on multiple currency pairs simultaneously Medium
FR10 Time Filter Optional session/time-based trading (e.g., London/New York hours) Medium
FR11 Backtesting Compatibility EA should run in MetaTrader Strategy Tester High
---
4. Non-Functional Requirements
ID Requirement Description
NFR1 Performance EA must process ticks without delays to avoid missed signals
NFR2 Reliability EA must handle errors gracefully (e.g., network failure, broker errors)
NFR3 Security EA will not access user data beyond trading account information
NFR4 Usability User should be able to configure parameters easily via MT input fields
NFR5 Maintainability Code should be modular, readable, and commented for future updates
NFR6 Compliance Must follow MetaTrader platform rules and broker constraints
---
5. Inputs / Parameters
Parameter Type Default Description
FastMA Integer 14 Period of fast moving average
SlowMA Integer 50 Period of slow moving average
LotSize Double 0.1 Fixed lot size for trades
RiskPercent Double 1.0 Percentage of account balance to risk per trade
StopLossPips Integer 30 Stop loss distance in pips
TakeProfitPips Integer 50 Take profit distance in pips
TrailingStopPips Integer 20 Optional trailing stop distance
TradingHours String "0-24" Time range for trading in server hours
---
6. Assumptions & Constraints
EA will run on MT4/MT5 with standard broker accounts
Broker allows trading of selected currency pairs
Execution may be affected by spreads and slippage
No guarantee of profit — performance depends on market conditions
---
7. Testing Requirements
Backtest on historical data (1 month, 6 months, 1 year)
Verify that trades are opened/closed according to signals
Validate stop-loss, take-profit, and trailing stop logic
Confirm lot sizing calculation based on account balance and risk
Ensure EA does not place duplicate trades on same signal
---
8. Deliverables
Fully functional MQL4 / MQL5 Expert Advisor (.mq4 / .mq5 file)
User manual with instructions for installation and parameter settings
Example backtest reports with screenshots
Source code with comments for maintainability
---
9. Future Enhancements
Incorporate additional indicators (RSI, MACD, Bollinger Bands)
Multi-timeframe analysis
News filter to avoid high-volatility events
Graphical interface for easier parameter contro
Similar orders
I need an experienced MQL5 developer to build a stable, fully automated Gold (XAUUSD) trading Expert Advisor for MetaTrader 5 (works on Cent and Standard accounts).Key Requirements:1. Delivery: Both compiled .ex5 file and complete editable .mq5 source code. 2. License: No expiry date (Lifetime) and unlimited trading accounts. 3. Account Protection: Ability to restrict usage only to accounts under my Broker IB/Partner
I need a high tech skilled programmer that can generate a bot for me and we'll be working as my programmer.. So, I need a bot that trades only XAUUSD perfectly without errors.. the win rate should be 80_95 % the bot should be an intraday high performance bot
Construct an expert advisor using the "Candle Range Theory". Let it be designed to scan the one-hour time frame, the 30- minute time frame, the 15-minute time frame and the 10-minute time frame one minute before each time fame (candle) is set to change. If the criteria are met during or at the minute before the change, then take the trade. For a buy or long trade, "take profit happens when candle 3 reaches the high
Hi , I need a MT5 robot , who will maintain the account, will earn from a small deposit (100-200 USD) XAUUSD, m5-m1, must be stable and bring a minimum profit of 150 USD per day. I want it to open single positions, possibly a grid, but it cannot leave open positions at the end of the day. This bot should work all day, and I can also privately suggest a bot that I could consider
I am seeking an experienced quantitative trading developer to independently research, design, develop, test, validate, and deliver a professional standalone Python 3.12 detection engine for identifying early pump and dump movements in Bybit USDT perpetual futures markets
i need one that can build this : You are an elite quant trading AI with 15 years experience at Jane Street and Citadel. Build a complete, production-ready, non-repainting Python trading system targeting 90% win rate on 5m/15m charts for EURUSD, GBPUSD, NAS100 and BTCUSDT. CORE CONCEPTS: Combine CVD with real divergence detection, 3-candle FVG, liquidity sweeps/equal highs-lows, Order Blocks/Breaker Blocks (ICT/SMC)
روبوت تداول الذهب MT5 (EA) – عروض المطور مطلوبة أبحث عن شراء روبوت تداول محترف للذهب (XAUUSD) أو استكشاف حل مخصص للتداول الآلي. بيئة التداول منصة التداول: MetaTrader 5 (MT5) أداة التداول: ذهب (XAUUSD) وسيط: فانتاج أسلوب التداول: السكالبينغ أو استراتيجيات آلية مناسبة أخرى ما أبحث عنه أنا منفتح على استراتيجيات وأساليب تداول مختلفة، بما في ذلك السكالبينغ، وتتبع الاتجاهات، والتحليل الذكي للسوق، أو استراتيجيات آلية أخرى
--- I need an MT5 Expert Advisor (EA) for Forex trading. Strategy: - Trade when fast Moving Average (9) crosses above slow Moving Average (21) = BUY - Trade when fast Moving Average (9) crosses below slow Moving Average (21) = SELL - Only 1 trade at a time Settings I want to change: - Lot size - Stop Loss in pips - Take Profit in pips - Trailing Stop - Trading hours (Start and End time) Risk: - Close all trades at
DEVELOPMENT REQUIREMENTS Project Title: ICC Smart Structure EA – MT5 Automated Trading System 1. Project Objective I want a fully automated Expert Advisor (EA) for MetaTrader 5 (MT5), based on my Indication–Correction–Continuation (ICC) trading strategy. The EA must identify market structure, Break of Structure (BOS), swing highs and lows, supply and demand zones, corrections and continuation entries across multiple
برمجة روبوت تداول MQL5 بهدف 50 نقطة مع إدارة مخاطر.مطلوب برمجة خبير تداول آلي يعمل على منصة MQL5، يركز على تحقيق هدف 50 نقطة مع إدارة صارمة للمخاطر وتحديد وقف الخسارة