MA CROSSOVER FOREX WITH RISK MANAGEMENT

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(4)
Proyectos
3
33%
Arbitraje
2
0% / 100%
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(16)
Proyectos
20
10%
Arbitraje
8
38% / 38%
Caducado
3
15%
Trabaja
3
Desarrollador 3
Evaluación
(8)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
1
13%
Libre
4
Desarrollador 4
Evaluación
(274)
Proyectos
403
28%
Arbitraje
40
40% / 50%
Caducado
1
0%
Libre
5
Desarrollador 5
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
6
Desarrollador 6
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
7
Desarrollador 7
Evaluación
(47)
Proyectos
67
37%
Arbitraje
5
40% / 40%
Caducado
1
1%
Libre
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(313)
Proyectos
559
35%
Arbitraje
80
31% / 44%
Caducado
203
36%
Libre
10
Desarrollador 10
Evaluación
Proyectos
2
0%
Arbitraje
4
25% / 50%
Caducado
1
50%
Libre
11
Desarrollador 11
Evaluación
(144)
Proyectos
186
41%
Arbitraje
24
58% / 21%
Caducado
13
7%
Libre
12
Desarrollador 12
Evaluación
(47)
Proyectos
54
33%
Arbitraje
15
20% / 60%
Caducado
1
2%
Trabaja
13
Desarrollador 13
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(1)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(267)
Proyectos
599
35%
Arbitraje
64
20% / 58%
Caducado
147
25%
Trabaja
Ha publicado: 1 artículo, 22 ejemplos
16
Desarrollador 16
Evaluación
(509)
Proyectos
977
74%
Arbitraje
27
19% / 67%
Caducado
101
10%
Libre
Ha publicado: 1 artículo, 6 ejemplos
17
Desarrollador 17
Evaluación
(258)
Proyectos
264
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
18
Desarrollador 18
Evaluación
(20)
Proyectos
26
38%
Arbitraje
6
33% / 50%
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
20
Desarrollador 20
Evaluación
(1)
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
21
Desarrollador 21
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(162)
Proyectos
289
35%
Arbitraje
18
22% / 61%
Caducado
43
15%
Libre
23
Desarrollador 23
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
24
Desarrollador 24
Evaluación
(6)
Proyectos
5
0%
Arbitraje
3
33% / 67%
Caducado
2
40%
Trabaja
Solicitudes similares
Project Overview We have a highly optimized, production-ready custom cTrader cBot built for a fast-paced Renko breakout strategy (specifically trading XAUUSD/Gold). The core system architecture, structural mapping, and breakout logic are flawless. We are seeking an expert C# algorithmic developer for a targeted engagement to refine the execution mechanics and add an advanced trade management module. This is not a
I need an experienced MQL5 developer to build a professional XAUUSD scalping Expert Advisor. The trading logic is already fully defined and will be shared privately with selected developers. Requirements Fast execution suitable for scalping Dynamic lot sizing Strict risk management Clean and optimized MQL5 code Compatible with MetaTrader 5 Additional Rules No repainting logic No delayed execution Avoid duplicate
Need a Profitable with a good trading system or strategy. would test the product first Looking for a professional MT5 Expert Advisor based on smart strategies. The EA should include session filters, risk management, trailing stop, multi-pair support, and low drawdown protection. I need a consistent, high-probability automated trading system optimized for long-term profitability and funded account compliance
I need an experienced MQL5 developer to build a semi automated trading signal system for Gold (XAUUSD) on MT5. The system is NOT a martingale or grid EA. The goal is to build a clean rule based signal engine that detects high probability setups based on predefined strategy rules and sends trading alerts with optional pending order logic. Main Requirements: 1. Signal Generation - Buy and Sell signals - Buy Limit - Buy
I am looking for an experienced MQL4/MQL5 developer to build a custom MT4 indicator from scratch or cracking my ex4 file that i provide to you. I already have an existing indicator (EX4) which produces highly accurate buy/sell signals. I want a similar indicator developed based on its observable behavior and signal structure. my existing indicator is pc id protected so you have to do PC ID security bypass and source
I am looking for an experienced MQL5 developer to build a professional Expert Advisor with the following specs: TECHNICAL REQUIREMENTS: - Platform: MetaTrader 5 (MT5) - Pairs: GBPUSD and EURUSD - Broker suffix support (e.g. GBPUSD@, EURUSD@) - Primary timeframe: M5 -Higher timeframe bias: H1 and H4 (for trend direction only) - One chart setup — manages both pairs from one chart STRATEGY: - Price action based: BOS
OBJETIVO Criar um Expert Advisor MT5 profissional para XAUUSD focado em: Consistência Baixo drawdown Scalping profissional Proteção da conta Crescimento sustentável Compatibilidade com conta micro e prop firms NÃO utilizar: Martingale Grid Hedge agressivo Recovery system Multiplicação de lotes após perda --- ATIVO XAUUSD apenas --- TIMEFRAMES Timeframe principal M5 Confirmação tendência M15 Confirmação macro opcional
I need a very advanced and intelligent MT5 Expert Advisor coded in MQL5 for XAUUSD, based on ICT + CRT + Smart Money Concepts. The goal is not a simple robot, but a professional decision-making system with strong filters, risk control, and high-quality trade selection. The EA must include: 1. Multi-Timeframe Analysis - D1 / H4 / H1 bias - M15 / M5 entry confirmation - Bullish or bearish market structure - BOS, CHoCH
I have a 90% completed project with the execution part left to complete, I have been struggling to complete this section and I need help from someone expert in MQL5 with knowledge on forex trading and ICT Concepts coding. Contact me for further details
Hi basically I'm wanting an already made EA scalper that's constantly in and out of trades on the M1 time frame that has good risk management. It knows what it's doing. Most of its trades are profitable and that can start with £100. I am willing to pay up to £1000 for the right scalping bot. If you please have one and you're very confident in it, please allow me to use a live version to see how it does and if I'm

Información sobre el proyecto

Presupuesto
30+ USD