Tarea técnica
Project summary
I need an MQL5 Expert Advisor that implements a grid-style scaling strategy for gold. The EA will open fixed mini-lots on every fixed-dollar move within a user-defined price range, include trailing-stop logic, risk/metrics display on chart, and a configurable EMA filter (timeframe and period configurable).
Functional requirements (must-have)
1. Symbol & units
- Primary symbol: XAUUSD (please confirm symbol naming with my broker; fallback: “XAUUSD”).
- Money-based distance (USD) used for grid steps and TP/TS values (not pips).
2. Position sizing / grid
- For every $10 move in price (up or down) from the initial entry level, the EA should place 0.01 lot. Position sizing must be an input parameter (default = 0.01 lot)
- No stop loss on opening (initially), Take Profit = $15 (per trade; absolute USD profit target).
- Grid spacing (dollar amount per step) must be an input parameter (default = 10 USD).
- Lot size per step must be an input (default = 0.01 lot).
3. Operate only within a defined price band
- The EA must only open new trades when the current market price is inside a configurable range:
- Default example: MinPrice = 4000, MaxPrice = 4200 (inputs).
- If price is outside that range, no new orders should be sent; existing orders remain active (unless closed by logic below).
4. Max positions
- The total number of open positions opened by the EA must never exceed 20 (configurable input; default 20).
5. Trailing stop / profit protection
- Once a trade’s profit (floating or reached profit?) reaches $12, apply a trailing-stop logic so that the trade's profit cannot fall below $10.
- Implementation detail (preferred): when the floating profit for an order ≥ $12, immediately set a stop-loss such that the remaining achievable profit is ≥ $10 (i.e., SL = current price - amount equivalent to $10). If broker requires price/points, convert USD to price difference using contract specification.
- The trailing/protection should be applied per trade and ensure that after activation the realized profit does not drop below $10 for that trade.
- Parameters configurable:
- Trailing activation profit (default = 12 USD)
- Minimum secured profit (default = 10 USD)
- Trailing behavior (instant set SL to secure profit / step-based trailing) — implement instant secure SL by default, with an optional step-based trailing as an input.
6. EMA filter (multi-timeframe & configurable)
- Plot Exponential Moving Average (EMA) on the chart (default period = 20 EMA on chart timeframe).
- Display the EMA period and current EMA value on the chart and expose them as input parameters.
- Additional rule (4-hour filter): If the price has closed below the EMA on the selected higher timeframe (default = 4H), the EA must NOT allow new trades until the price has closed above that EMA on the same higher timeframe.
- Both the EMA period and the filter timeframe must be input parameters (so I can change them later).
7. Risk / metrics panel on chart
Display a small info panel on the chart showing (real-time and updated):
- Number of open trades (count).
- Current P/L (floating) in USD.
- Return on equity percentage (ROE) — formula: (current equity - starting equity) / starting equity * 100. Use equity at EA start or a configurable “base equity” input.
- High watermark (equity peak observed while EA has been running).
- Expected drawdown (value & percentage) assuming all 20 positions are opened and are in loss — compute worst-case equity if all positions opened at current size and then move to some realistic stress price?
- Implementation suggestion: compute expected drawdown using: worst-case scenario where all remaining allowed positions are opened at the furthest grid levels and move to a configurable adverse move. Provide inputs for how to compute this (e.g., assume each of 20 positions losing X USD each) — developer to propose a clear formula in documentation.
- All these metrics must refresh live and be visible on the main chart.
Manual Trading Compatibility-
- I am a semi-systematic trader and will also take manual long-term trades on the same symbol (Gold / XAUUSD).
- The EA must not interfere with any manual trades.
- The EA should:
- Only manage the trades that it has opened, identified by a unique MagicNumber.
- Completely ignore all manual trades (no modification, no closure, no trailing, no filters applied to manual positions).
- Not block me from manually opening or closing positions at any time.
- The EA’s logic (grid, max positions, EMA filter, trailing stop, etc.) must apply ONLY to EA trades, not manual trades.
Han respondido
1
Evaluación
Proyectos
3
33%
Arbitraje
2
0%
/
100%
Caducado
0
Libre
2
Evaluación
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
3
Evaluación
Proyectos
9
11%
Arbitraje
0
Caducado
0
Libre
4
Evaluación
Proyectos
172
44%
Arbitraje
3
33%
/
33%
Caducado
1
1%
Trabaja
5
Evaluación
Proyectos
977
74%
Arbitraje
27
19%
/
67%
Caducado
100
10%
Libre
Ha publicado: 1 artículo, 6 ejemplos
6
Evaluación
Proyectos
0
0%
Arbitraje
3
0%
/
33%
Caducado
0
Libre
Ha publicado: 2 ejemplos
7
Evaluación
Proyectos
56
34%
Arbitraje
15
27%
/
60%
Caducado
1
2%
Trabaja
8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Evaluación
Proyectos
564
35%
Arbitraje
81
31%
/
44%
Caducado
204
36%
Libre
10
Evaluación
Proyectos
799
48%
Arbitraje
74
19%
/
51%
Caducado
139
17%
Trabaja
11
Evaluación
Proyectos
2
0%
Arbitraje
1
0%
/
100%
Caducado
1
50%
Libre
Ha publicado: 4 ejemplos
12
Evaluación
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
13
Evaluación
Proyectos
31
13%
Arbitraje
13
0%
/
77%
Caducado
9
29%
Libre
14
Evaluación
Proyectos
513
19%
Arbitraje
34
44%
/
32%
Caducado
34
7%
Trabajando
15
Evaluación
Proyectos
9
33%
Arbitraje
11
0%
/
100%
Caducado
2
22%
Libre
16
Evaluación
Proyectos
38
53%
Arbitraje
2
50%
/
50%
Caducado
3
8%
Libre
17
Evaluación
Proyectos
403
28%
Arbitraje
40
40%
/
50%
Caducado
1
0%
Libre
18
Evaluación
Proyectos
2928
63%
Arbitraje
124
44%
/
26%
Caducado
429
15%
Trabaja
19
Evaluación
Proyectos
5
40%
Arbitraje
1
0%
/
0%
Caducado
0
Libre
20
Evaluación
Proyectos
195
42%
Arbitraje
13
8%
/
54%
Caducado
9
5%
Libre
Ha publicado: 3 ejemplos
21
Evaluación
Proyectos
3400
68%
Arbitraje
77
48%
/
14%
Caducado
342
10%
Trabaja
Ha publicado: 1 ejemplo
22
Evaluación
Proyectos
1
0%
Arbitraje
1
0%
/
100%
Caducado
0
Libre
23
Evaluación
Proyectos
7
0%
Arbitraje
0
Caducado
2
29%
Libre
24
Evaluación
Proyectos
289
35%
Arbitraje
18
22%
/
61%
Caducado
43
15%
Libre
25
Evaluación
Proyectos
945
47%
Arbitraje
309
58%
/
27%
Caducado
125
13%
Libre
26
Evaluación
Proyectos
33
27%
Arbitraje
20
10%
/
50%
Caducado
11
33%
Libre
27
Evaluación
Proyectos
25
44%
Arbitraje
2
0%
/
100%
Caducado
5
20%
Trabajando
28
Evaluación
Proyectos
244
74%
Arbitraje
7
100%
/
0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
29
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
30
Evaluación
Proyectos
5
0%
Arbitraje
4
25%
/
75%
Caducado
2
40%
Libre
31
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
32
Evaluación
Proyectos
9
22%
Arbitraje
0
Caducado
0
Libre
33
Evaluación
Proyectos
265
29%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
34
Evaluación
Proyectos
477
40%
Arbitraje
105
40%
/
24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
35
Evaluación
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
36
Evaluación
Proyectos
201
60%
Arbitraje
10
80%
/
0%
Caducado
0
Libre
Ha publicado: 1 ejemplo
37
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
38
Evaluación
Proyectos
396
28%
Arbitraje
69
19%
/
49%
Caducado
121
31%
Trabaja
39
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
40
Evaluación
Proyectos
553
50%
Arbitraje
57
40%
/
37%
Caducado
227
41%
Trabaja
41
Evaluación
Proyectos
19
42%
Arbitraje
7
0%
/
57%
Caducado
3
16%
Trabaja
42
Evaluación
Proyectos
436
54%
Arbitraje
22
50%
/
14%
Caducado
30
7%
Ocupado
43
Evaluación
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
44
Evaluación
Proyectos
5
60%
Arbitraje
1
0%
/
0%
Caducado
2
40%
Libre
Ha publicado: 1 ejemplo
45
Evaluación
Proyectos
551
53%
Arbitraje
13
69%
/
15%
Caducado
3
1%
Libre
46
Evaluación
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
47
Evaluación
Proyectos
13
8%
Arbitraje
1
0%
/
100%
Caducado
0
Libre
48
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
Noganda EA
30+ USD
*MQL5 Bot: “HH_HL_Simple.mq5”* Copy → Paste → Compile in MetaEditor. //+------------------------------------------------------------------+ //| HH_HL_Simple.mq5 | //| WARNING: FOR EDUCATION/DEMO ONLY. YOU CAN LOSE MONEY. | //| @kasii_trader_nela - Learn first, trade later | //+------------------------------------------------------------------+ #property copyright "Educational use only" #property strict #include
Simple bot for opening range
30+ USD
I need a simple bot for opening range. Simple Entry / Exit rules, to be able to customize the timeframe, time zone (entry candle) and other normal settings like size, etc
Nyctrad1
30+ USD
Free link free land free land free land free land free free land free land free things free land free land free land free land free land free land free land free Finch I will do it
Professional AI Automation Trading Bot for Forex & Crypto
500 - 1500 USD
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
BullyMax Pro
30+ USD
"Act as an expert MQL5 algorithmic trading developer. I want you to create a profitable and efficient Expert Advisor for MetaTrader 5. Do not write the code yet; read the following trading rules, analyze them, and ask me any clarifying questions if needed. Timeframe: [e.g.15 minutes Chart] Entry Logic: [e.g.MACD + RSI + REVERSAL PRICE ACTION. Enter buy when Macd line crosses above the signal line ,RSI above 30 and
Risk Reward Ratio Indicator
30 - 200 USD
I want an indicator that displays the risk reward ratio of each chart candle as a sub window histogram. If the candle closes above the open the histogram displays a green bar above zero the size of which is dependant on the size of the RRR. If the candle closes below the open the histogram displays a red bar below zero the size of which is dependant on the size of the RRR. My attempt that does not work is attached
Hi, I am looking for an experienced MQL5 developer to modify an existing, fully functional MetaTrader 5 Expert Advisor (Source code .mq5 Version 2.62 will be provided). Brief Overview of the EA: It executes trades based on 4 custom Supply/Demand levels (R1, R2, S1, S2) which are inputted manually . It uses two custom indicators for confirmation: SPA (Price Action filter) and AMG (Volume/Momentum filter). The code
Robots in C++ (cAlgo trading platform)
5000+ USD
I really like this platform. I am interested in trading and need funds for it. I enjoy both crypto and forex trading.I"really appreciate this platform. I am keen on trading and am looking for trading funds. I enjoy trading in both cryptocurrency and forex."
Titan Quantum Algo Engine V2🏆
30 - 200 USD
Titan Quantum Algo Engine V2 is an advanced MT5 Expert Advisor designed to identify high-probability market opportunities using trend analysis, breakout detection, and intelligent risk management. The EA automatically executes trades, manages stop-loss and take-profit levels, and helps traders maintain disciplined trading with optimized entry and exit strategies
The striker robot
30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick
Información sobre el proyecto
Presupuesto
50 - 200 USD
Plazo límite de ejecución
a 5 día(s)