MA CROSSOVER FOREX WITH RISK MANAGEMENT

Spezifikation

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

Bewerbungen

1
Entwickler 1
Bewertung
(4)
Projekte
3
33%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(15)
Projekte
18
6%
Schlichtung
8
38% / 38%
Frist nicht eingehalten
2
11%
Beschäftigt
3
Entwickler 3
Bewertung
(6)
Projekte
6
0%
Schlichtung
2
50% / 0%
Frist nicht eingehalten
1
17%
Frei
4
Entwickler 4
Bewertung
(270)
Projekte
399
27%
Schlichtung
39
41% / 49%
Frist nicht eingehalten
1
0%
Frei
5
Entwickler 5
Bewertung
(390)
Projekte
416
30%
Schlichtung
74
19% / 72%
Frist nicht eingehalten
52
13%
Arbeitet
6
Entwickler 6
Bewertung
(59)
Projekte
86
28%
Schlichtung
24
13% / 58%
Frist nicht eingehalten
7
8%
Arbeitet
7
Entwickler 7
Bewertung
(47)
Projekte
67
37%
Schlichtung
5
40% / 40%
Frist nicht eingehalten
1
1%
Frei
8
Entwickler 8
Bewertung
Projekte
0
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
9
Entwickler 9
Bewertung
(307)
Projekte
551
35%
Schlichtung
79
32% / 42%
Frist nicht eingehalten
199
36%
Beschäftigt
10
Entwickler 10
Bewertung
Projekte
2
0%
Schlichtung
4
25% / 50%
Frist nicht eingehalten
1
50%
Frei
11
Entwickler 11
Bewertung
(144)
Projekte
186
41%
Schlichtung
24
58% / 21%
Frist nicht eingehalten
13
7%
Frei
12
Entwickler 12
Bewertung
(34)
Projekte
38
18%
Schlichtung
13
8% / 69%
Frist nicht eingehalten
1
3%
Überlastet
13
Entwickler 13
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
14
Entwickler 14
Bewertung
(1)
Projekte
3
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
15
Entwickler 15
Bewertung
(265)
Projekte
596
35%
Schlichtung
64
20% / 58%
Frist nicht eingehalten
147
25%
Arbeitet
Veröffentlicht: 1 Artikel, 22 Beispiele
16
Entwickler 16
Bewertung
(500)
Projekte
968
74%
Schlichtung
27
19% / 67%
Frist nicht eingehalten
100
10%
Beschäftigt
Veröffentlicht: 1 Artikel, 6 Beispiele
17
Entwickler 17
Bewertung
(249)
Projekte
255
30%
Schlichtung
0
Frist nicht eingehalten
3
1%
Frei
Veröffentlicht: 2 Beispiele
18
Entwickler 18
Bewertung
(17)
Projekte
23
39%
Schlichtung
6
33% / 50%
Frist nicht eingehalten
0
Frei
19
Entwickler 19
Bewertung
(10)
Projekte
14
43%
Schlichtung
0
Frist nicht eingehalten
3
21%
Frei
20
Entwickler 20
Bewertung
(1)
Projekte
0
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
21
Entwickler 21
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
22
Entwickler 22
Bewertung
(159)
Projekte
284
35%
Schlichtung
18
22% / 61%
Frist nicht eingehalten
42
15%
Beschäftigt
23
Entwickler 23
Bewertung
(270)
Projekte
552
49%
Schlichtung
57
40% / 37%
Frist nicht eingehalten
228
41%
Arbeitet
24
Entwickler 24
Bewertung
(6)
Projekte
5
0%
Schlichtung
2
50% / 50%
Frist nicht eingehalten
2
40%
Frei
Ähnliche Aufträge
Yash Agrawal 30+ USD
// Simple EMA Bot input int FastEMA = 9; input int SlowEMA = 21; void OnTick() { double fast = iMA(NULL,0,FastEMA,0,MODE_EMA,PRICE_CLOSE,0); double slow = iMA(NULL,0,SlowEMA,0,MODE_EMA,PRICE_CLOSE,0); if(fast > slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_BUY,0.01,Ask,10,0,0); } if(fast < slow) { if(PositionsTotal()==0) OrderSend(Symbol(),OP_SELL,0.01,Bid,10,0,0); } }
Gold robot Ga1 30 - 200 USD
mport pandas as pd import numpy as np def detecter_tendance(data): # Code pour détecter la tendance pass def identifier_niveaux(data): # Code pour identifier les niveaux de support et de résistance pass def calculer_stop_loss(tendance, support, resistance): # Code pour calculer les stop loss pass def calculer_profils(tendance, support, resistance): # Code pour calculer les profils mport pandas as pd
I am seeking an experienced MQL5 developer to build a professional-grade Expert Advisor (EA) for XAUUSD. The strategy targets price action at psychological levels with a dual-unit (Banker/Runner) exit. Key Features Required: Percentage-Based Logic: All triggers, entries, SL, and TP must be calculated as a percentage of the current price Dual-Order Execution: Every entry must split into two separate tickets: Unit A
Martingale Strategy 50 - 70 USD
I need a gambling bot that implements the Martingale Strategy for betting on roulette. It will be used on platforms like Betcity and Unibet to manage bets effectively. Scope of work - Develop a bot that implements the Martingale Strategy for roulette. - Ensure compatibility with Betcity and Unibet platforms. - Include functionalities for adjusting bet size and managing losses. - Integrate platform-specific features
Dear Developers, I am seeking a professional developer to build an institutional-grade automated trading system that operates exclusively using pending orders, with advanced and fully customizable trade management logic. This is not a basic Expert Advisor. The goal is to create a structured, intelligent, and long-term trading system with clean architecture and professional execution standards. Project Requirements
Dear Developer, I am currently experiencing several structural and logical limitations in the existing bot system, and I am seeking a complete professional upgrade to a fully automated, intelligent trading solution. The objective is to preserve the core SMC strategy while significantly improving precision, automation, multi-timeframe alignment, and trade quality. Below are the required specifications: 1. Dynamic
Hello there Hpe you are doing good I am in search of a pine script expert developer who can build strategy in apudFlow in pinescript. Kinldy bid on this project if you can do this
I need a scalping-specific logic MT5 trading bot with a Donchian-channel–based dynamic stop-loss and take-profit system, applies RSI volatility filtering to avoid low-quality setups, and allows asset-specific adjustable parameters for fine-tuning performance Trading details: - Symbol: Any Forex EUR/USD - Platform: MT5 - Strategy type: Scalping (fast trades) - Timeframes: 5sec/ M1 / M5 - Fixed Stop Loss and Take
Looking for an experienced MQL5 developer to analyze and reverse-engineer the trading logic of an existing scalping Zone Recovery EA using Moving Averages and Bollinger Bands, and then rebuild it
EA Expert MTA 4 30+ USD
I have my own indicator and needs to create EA expert working smoothly with it to hit the targets as defined in indicator: Technical approach: - The EA will read the indicator signals using Copy Buffer on the selected timeframe - The EA should hit indicator variable targets factor -​Auto-Entry: Instant execution when the signal appears. ​-Alerts: Mobile Push Notifications + Pop-up alerts. -​Money Management Auto-lot

Projektdetails

Budget
30+ USD