Termos de Referência
1. Use two EMAs: 20 and 50.
- If EMA 20 is above EMA 50 → uptrend (look for buys)
- If EMA 20 is below EMA 50 → downtrend (look for sells)
2. Wait for a pullback into the area between the two EMAs.
- For buys: price must touch or move between EMA 20 and EMA 50
during the last few candles.
- For stils: same idea, but in a downtrend.
3. Entry signal:
- Buy: a bullish engulfing candle in an uptrend after the pullback
- Sell: a bearish engulfing candle in a downtrend after the pullback
- Enter at the close of the engulfing candle.
4. Stop Loss:
- Option A: use recent swing high/low
- Option B: use ATR-based stop loss
- Make this an input (0 = swing SL, 1 = ATR SL)
5. Take Profit:
- Based on risk-reward ratio (for example 1:2)
6. Risk settings:
- Option for fixed lot size
- Option for risk percentage (auto-calculated lot size)
- Only open trades during specific trading hours (input: start hour and end hour)
- Only allow one open trade at a time per symbol.
**INPUTS TO INCLUDE**
- FastEMA (default 20)
- SlowEMA (default 50)
- PullbackBars (default 5)
- SL_Mode (0 = swing, 1 = ATR)
- ATR_Period (14)
- ATR_Multiplier (1.5)
- RiskReward (2.0)
- UseFixedLot (true/false)
- FixedLotSize (0.10)
- RiskPercent (1%)
- MagicNumber
- TradeStartHour / TradeEndHour
- DebugMode (true/false)
1. First, briefly restate the logic in simple terms.
Then provide the full MQL5 EA code.
- Code must compile in MetaTrader 5 with no errors.
- Comment the code clearly so beginners can understand it.
Respondido
1
Classificação
Projetos
1
0%
Arbitragem
1
0%
/
100%
Expirado
0
Trabalhando
2
Classificação
Projetos
348
29%
Arbitragem
37
27%
/
65%
Expirado
10
3%
Trabalhando
3
Classificação
Projetos
511
23%
Arbitragem
60
57%
/
25%
Expirado
60
12%
Carregado
4
Classificação
Projetos
90
29%
Arbitragem
24
13%
/
58%
Expirado
7
8%
Trabalhando
5
Classificação
Projetos
4
25%
Arbitragem
1
0%
/
100%
Expirado
0
Livre
Publicou: 2 artigos
6
Classificação
Projetos
6
0%
Arbitragem
4
25%
/
75%
Expirado
2
33%
Livre
7
Classificação
Projetos
8
38%
Arbitragem
0
Expirado
1
13%
Carregado
Publicou: 1 código
8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Classificação
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
10
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
11
Classificação
Projetos
2
0%
Arbitragem
1
0%
/
0%
Expirado
0
Livre
12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Classificação
Projetos
92
24%
Arbitragem
8
75%
/
13%
Expirado
44
48%
Livre
14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
15
Classificação
Projetos
26
38%
Arbitragem
6
33%
/
50%
Expirado
0
Livre
16
Classificação
Projetos
29
38%
Arbitragem
3
33%
/
67%
Expirado
6
21%
Trabalhando
17
Classificação
Projetos
13
62%
Arbitragem
0
Expirado
0
Livre
18
Classificação
Projetos
20
25%
Arbitragem
2
50%
/
0%
Expirado
4
20%
Trabalhando
19
Classificação
Projetos
290
64%
Arbitragem
3
100%
/
0%
Expirado
65
22%
Trabalhando
20
Classificação
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
21
Classificação
Projetos
2
0%
Arbitragem
1
0%
/
0%
Expirado
0
Livre
22
Classificação
Projetos
449
55%
Arbitragem
23
57%
/
17%
Expirado
30
7%
Trabalhando
23
Classificação
Projetos
9
67%
Arbitragem
0
Expirado
0
Trabalhando
24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Classificação
Projetos
129
25%
Arbitragem
25
28%
/
56%
Expirado
8
6%
Livre
26
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
28
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
29
Classificação
Projetos
83
45%
Arbitragem
27
11%
/
70%
Expirado
8
10%
Livre
30
Classificação
Projetos
7
29%
Arbitragem
0
Expirado
1
14%
Ocupado
31
Classificação
Projetos
271
21%
Arbitragem
24
50%
/
17%
Expirado
0
Trabalhando
32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
33
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
34
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
35
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
36
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
37
Classificação
Projetos
95
32%
Arbitragem
9
22%
/
56%
Expirado
5
5%
Trabalhando
38
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
39
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
40
Classificação
Projetos
2949
63%
Arbitragem
125
44%
/
26%
Expirado
429
15%
Livre
41
Classificação
Projetos
34
35%
Arbitragem
0
Expirado
2
6%
Livre
42
Classificação
Projetos
87
57%
Arbitragem
6
67%
/
17%
Expirado
2
2%
Carregado
43
Classificação
Projetos
17
18%
Arbitragem
2
0%
/
100%
Expirado
3
18%
Livre
44
Classificação
Projetos
839
61%
Arbitragem
33
27%
/
45%
Expirado
24
3%
Livre
Publicou: 1 código
45
Classificação
Projetos
478
40%
Arbitragem
105
40%
/
24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
46
Classificação
Projetos
4
0%
Arbitragem
1
100%
/
0%
Expirado
1
25%
Livre
47
Classificação
Projetos
22
45%
Arbitragem
6
33%
/
17%
Expirado
2
9%
Trabalhando
Publicou: 7 artigos, 35 códigos
48
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
49
Classificação
Projetos
269
29%
Arbitragem
1
100%
/
0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
50
Classificação
Projetos
553
50%
Arbitragem
57
40%
/
37%
Expirado
227
41%
Trabalhando
51
Classificação
Projetos
873
48%
Arbitragem
29
38%
/
17%
Expirado
63
7%
Livre
52
Classificação
Projetos
33
42%
Arbitragem
0
Expirado
3
9%
Livre
53
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
54
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
55
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
1
100%
Livre
56
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
57
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
58
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
59
Classificação
Projetos
3414
68%
Arbitragem
77
48%
/
14%
Expirado
342
10%
Livre
Publicou: 1 código
60
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
61
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
62
Classificação
Projetos
174
40%
Arbitragem
10
40%
/
10%
Expirado
30
17%
Livre
63
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
64
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
65
Classificação
Projetos
53
57%
Arbitragem
2
100%
/
0%
Expirado
1
2%
Livre
Publicou: 5 códigos
66
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
67
Classificação
Projetos
13
0%
Arbitragem
24
0%
/
75%
Expirado
4
31%
Trabalhando
68
Classificação
Projetos
552
53%
Arbitragem
13
69%
/
15%
Expirado
3
1%
Trabalhando
69
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
70
Classificação
Projetos
5
0%
Arbitragem
0
Expirado
0
Livre
71
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
72
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
73
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
74
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
75
Classificação
Projetos
73
47%
Arbitragem
2
50%
/
50%
Expirado
2
3%
Livre
76
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 2 códigos
77
Classificação
Projetos
134
66%
Arbitragem
36
25%
/
56%
Expirado
22
16%
Livre
Publicou: 10 códigos
78
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
79
Classificação
Projetos
305
76%
Arbitragem
13
77%
/
0%
Expirado
5
2%
Trabalhando
80
Classificação
Projetos
5
0%
Arbitragem
5
0%
/
40%
Expirado
0
Livre
81
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
82
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
83
Classificação
Projetos
13
8%
Arbitragem
1
0%
/
100%
Expirado
0
Livre
84
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
85
Classificação
Projetos
45
16%
Arbitragem
2
0%
/
100%
Expirado
4
9%
Livre
86
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
We are seeking an experienced algorithmic trading developer to design, build, test and optimize automated trading bots focused primarily on gold futures and related gold instruments. The trading infrastructure will operate on a dedicated high-performance server hosted in the United States, with particular emphasis on low-latency execution, reliability and 24/5 operation. The primary trading and execution platform
Ai sadick
30+ USD
Fully automated entry and exit of trades. Identify market trends using price action and reliable technical indicators. Trade major Forex pairs and XAU/USD (Gold). Automatic Stop Loss and Take Profit on every trade. Adjustable risk management, with default risk of 1% per trade. Maximum daily loss protection to stop trading after a specified loss. Break-even and trailing-stop functions. Adjustable lot size, risk %
I need a new MT5 Expert Advisor based on a fully customizable two-sided pending-order grid. The purpose is to build a flexible EA engine . I will choose the trading parameters and strategy settings myself later. Please do not hard-code any specific lot sizes, grid distances, or trading progression. 1. Grid Logic When the EA starts a new basket, it should use the current market price as the starting/reference price
Profitable EA needed
30 USD
profitable EAs wanted with at least 3 to 5 years backtest. you be submit your proofs such as graphic results, backtesting results, and your demo or weekly the eas has traded
Date:29.08.2026 **TECHNICAL SPECIFICATIONS** PDF Attached for reference rest all details given below. Required: Creation, Integration and successful execution of trading algo/robot in MT5 using MT5 VPS. Brokers: Trades to be executed in both brokers Swissquote and Pepperstone. Symbols: All available in MT5. ** Common parameters for all executions: · Manual Start/Stop. · Session time (defined / always
ZONDII Scalpers
30+ USD
I need an Expert Advisor called ZONDII Scalpers for MT5 (MQL5). Timeframe: M5 Pairs: XAUUSD / EURUSD BUY when: Price > EMA200 and EMA50 crosses above EMA200 and RSI(14) > 50 SELL when: Price < EMA200 and EMA50 crosses below EMA200 and RSI(14) < 50 Risk: Fixed lot 0.01, SL 300 points, TP 600 points, Trailing start 200 points / step 100 points. Filter: Max spread 30 points. Only 1 trade at a time. Inputs must be
Please do not offer to code this order unless you are able to use clean code and delivery the EA on time, All settings are to be changeable in the “input” window on the EA and I would also like to enable/disable them (True/False) individually, trades are only to be entered once all the enabled conditions are met at the close of the current candle. Trading days & times: I would like to select the days and times of
High-performance XAUUSD MT5 EA - 3 Month Target
30 - 200 USD
I am looking for a professional MT5 EA developer to build a high-performance trading bot specifically for XAUUSD (Gold). My target is approximately 200% return within 3 months, while keeping the drawdown and risk as controlled as reasonably possible. Requirements: MT5 Expert Advisor (EA) XAUUSD only Fully automated trading Clear risk management Stop Loss and Take Profit on trades No martingale or grid strategy unless
Professional MT5 Gold (XAUUSD) Scalping EA
30 - 200 USD
Hello, I’m looking for an experienced MT5 developer to build a professional Expert Advisor (EA) for trading Gold (XAUUSD). My requirements: Platform: MT5 Instrument: XAUUSD (Gold) Fully automatic trading Both BUY and SELL trades Adjustable lot size Stop Loss and Take Profit Trailing Stop / Break Even Daily maximum loss limit Maximum drawdown protection Maximum number of open trades Trading hours/session filter Spread
B6 EA
30 - 50 USD
Develop an Expert Advisor trading trend reversals. Reversal signals will be generated based on Price Action patterns. Trend will be determined based on ADX, Alligator and MACD, while the indicator selection should be available in the EA's input parameters
Informações sobre o projeto
Orçamento
30 - 20000 USD
Prazo
de 1 para 30 dias