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
(6)
Proyectos
6
0%
Arbitraje
2
50% / 0%
Caducado
1
17%
Libre
4
Desarrollador 4
Evaluación
(273)
Proyectos
401
27%
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
(60)
Proyectos
87
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
(311)
Proyectos
557
35%
Arbitraje
79
32% / 43%
Caducado
202
36%
Trabaja
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
(40)
Proyectos
47
28%
Arbitraje
14
21% / 64%
Caducado
1
2%
Ocupado
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
(266)
Proyectos
598
35%
Arbitraje
64
20% / 58%
Caducado
147
25%
Libre
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
(255)
Proyectos
262
30%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
18
Desarrollador 18
Evaluación
(17)
Proyectos
23
39%
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
287
34%
Arbitraje
18
22% / 61%
Caducado
42
15%
Trabaja
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
2
50% / 50%
Caducado
2
40%
Libre
Solicitudes similares
Criei um Robô para a venda alta precisão que automatiza a estratégia de correção média de Larry Williams. Possui filtros de tendência seletiva, controle de lote por risco percentual e execução rápida. Compatível com contas Hedge e Netting. Configuração simples e otimizada para mercados de alta volatilidade. *55(16) 993786056
SMC ORDER BLOCK 30 - 60 USD
I want already build FULLY AUTOMATED order block MT5 XAUUSD HTF H4 ENTRY LTF M15 - Show result on live account. m15 ob entry in the direction of h4 ob bias the developper to provide source code in the end
Project Title: Custom XAUUSD Support & Resistance Indicator Platform Required: MT5 preferred. If possible, also provide TradingView Pine Script version later. Main Goal: I want a custom indicator made specifically for XAUUSD (Gold) only. The indicator should automatically detect and draw strong support and resistance zones where price has a high probability of reacting, rejecting, or reversing. It must update
I need a boom-and-crash MT5 robot that is very accurate for opening trades just before the spike happens. It should use M1 timeframe It should have options for changing lot size, number of trades to open, stop loss and take profit in points If the spike happens and it makes some profit, it should automatically close all trades. If the spike happens and the spike is not in profits, the trades can remain open waiting
1. IF price forms: - Higher highs + higher lows → TREND = BUY - Lower highs + lower lows → TREND = SELL ELSE → NO TRADE 2. IF: - Trend = BUY - Price retraces to support zone - Bullish engulfing candle forms - TDI green crosses above red (optional) THEN: - Execute BUY 3. IF: - Trend = SELL - Price retraces to resistance - Bearish engulfing forms - TDI confirms THEN: - Execute SELL 4. Risk per trade = 1% of account Lot
I need a high frequency trading robot for gold in one or 5 minute timeframe the robot should have spread filter where it should only open trades below a set spread should have news filter to allow trading during fundal news or not the robot should have input in number of minutes to close all open trades and remove pending orders before fundamental news as part of news filter. It should also have the number of minutes
Hello, I am looking for a professional trading system including: 1- Trading Bot (Expert Advisor): - Good profit performance - High security and strong risk management - Works efficiently during high market volatility (news and strong movements) - Works on all pairs (Forex + Gold) 2- Signal Indicator: - Provides clear Buy and Sell signals - Includes Take Profit and Stop Loss - No repaint (signals must not change or
This is yakubu Jnr trading bots I create the trading robots to help my self and others traders to be successful please you can join my live trading bots or subscribe to my trading robots
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone

Información sobre el proyecto

Presupuesto
30+ USD