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)
  1.   Only open trades during specific trading hours (input: start hour and end hour)
  2.   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.

  1.   Code must compile in MetaTrader 5 with no errors.
  2.   Comment the code clearly so beginners can understand it.

Respondido

1
Desenvolvedor 1
Classificação
(2)
Projetos
2
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(296)
Projetos
368
30%
Arbitragem
37
27% / 65%
Expirado
10
3%
Trabalhando
Publicou: 10 códigos
3
Desenvolvedor 3
Classificação
(408)
Projetos
527
24%
Arbitragem
62
58% / 24%
Expirado
60
11%
Trabalhando
4
Desenvolvedor 4
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
5
Desenvolvedor 5
Classificação
(4)
Projetos
4
25%
Arbitragem
1
0% / 100%
Expirado
0
Livre
Publicou: 2 artigos
6
Desenvolvedor 6
Classificação
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
Livre
7
Desenvolvedor 7
Classificação
(11)
Projetos
13
31%
Arbitragem
0
Expirado
2
15%
Trabalhando
Publicou: 1 código
8
Desenvolvedor 8
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 4 códigos
11
Desenvolvedor 11
Classificação
(2)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(55)
Projetos
92
24%
Arbitragem
8
75% / 13%
Expirado
44
48%
Livre
14
Desenvolvedor 14
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
(16)
Projetos
30
40%
Arbitragem
3
33% / 67%
Expirado
7
23%
Trabalhando
17
Desenvolvedor 17
Classificação
(13)
Projetos
14
64%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(16)
Projetos
21
29%
Arbitragem
2
50% / 0%
Expirado
4
19%
Livre
19
Desenvolvedor 19
Classificação
(182)
Projetos
291
65%
Arbitragem
4
100% / 0%
Expirado
65
22%
Livre
20
Desenvolvedor 20
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
21
Desenvolvedor 21
Classificação
(3)
Projetos
2
0%
Arbitragem
1
0% / 0%
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(373)
Projetos
465
56%
Arbitragem
24
58% / 17%
Expirado
32
7%
Trabalhando
23
Desenvolvedor 23
Classificação
(4)
Projetos
11
55%
Arbitragem
1
100% / 0%
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(106)
Projetos
129
25%
Arbitragem
25
28% / 56%
Expirado
8
6%
Livre
26
Desenvolvedor 26
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
(61)
Projetos
83
45%
Arbitragem
27
11% / 70%
Expirado
8
10%
Livre
30
Desenvolvedor 30
Classificação
(14)
Projetos
23
35%
Arbitragem
0
Expirado
2
9%
Trabalhando
31
Desenvolvedor 31
Classificação
(217)
Projetos
285
20%
Arbitragem
28
61% / 14%
Expirado
0
Livre
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
33
Desenvolvedor 33
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
34
Desenvolvedor 34
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
35
Desenvolvedor 35
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
36
Desenvolvedor 36
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
37
Desenvolvedor 37
Classificação
(83)
Projetos
100
34%
Arbitragem
9
22% / 56%
Expirado
5
5%
Trabalhando
38
Desenvolvedor 38
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
39
Desenvolvedor 39
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
40
Desenvolvedor 40
Classificação
(2354)
Projetos
2960
63%
Arbitragem
125
44% / 26%
Expirado
429
14%
Trabalhando
41
Desenvolvedor 41
Classificação
(30)
Projetos
37
38%
Arbitragem
0
Expirado
2
5%
Trabalhando
Publicou: 1 código
42
Desenvolvedor 42
Classificação
(81)
Projetos
112
56%
Arbitragem
6
83% / 17%
Expirado
5
4%
Trabalhando
43
Desenvolvedor 43
Classificação
(14)
Projetos
17
18%
Arbitragem
2
0% / 100%
Expirado
3
18%
Livre
44
Desenvolvedor 44
Classificação
(568)
Projetos
866
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Trabalhando
Publicou: 1 código
45
Desenvolvedor 45
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
46
Desenvolvedor 46
Classificação
(3)
Projetos
4
0%
Arbitragem
1
100% / 0%
Expirado
1
25%
Livre
47
Desenvolvedor 47
Classificação
(25)
Projetos
36
39%
Arbitragem
9
22% / 33%
Expirado
5
14%
Carregado
Publicou: 9 artigos, 35 códigos
48
Desenvolvedor 48
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
49
Desenvolvedor 49
Classificação
(258)
Projetos
269
29%
Arbitragem
2
50% / 0%
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
50
Desenvolvedor 50
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
51
Desenvolvedor 51
Classificação
(648)
Projetos
876
48%
Arbitragem
29
38% / 17%
Expirado
63
7%
Livre
52
Desenvolvedor 52
Classificação
(34)
Projetos
35
40%
Arbitragem
0
Expirado
3
9%
Livre
53
Desenvolvedor 53
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
54
Desenvolvedor 54
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
55
Desenvolvedor 55
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
1
100%
Livre
56
Desenvolvedor 56
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
57
Desenvolvedor 57
Classificação
(2)
Projetos
3
33%
Arbitragem
0
Expirado
2
67%
Trabalhando
58
Desenvolvedor 58
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
59
Desenvolvedor 59
Classificação
(2683)
Projetos
3435
68%
Arbitragem
78
49% / 14%
Expirado
344
10%
Livre
Publicou: 1 código
60
Desenvolvedor 60
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
61
Desenvolvedor 61
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
62
Desenvolvedor 62
Classificação
(134)
Projetos
174
40%
Arbitragem
10
40% / 10%
Expirado
30
17%
Livre
63
Desenvolvedor 63
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
64
Desenvolvedor 64
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
65
Desenvolvedor 65
Classificação
(45)
Projetos
53
57%
Arbitragem
2
100% / 0%
Expirado
1
2%
Livre
Publicou: 5 códigos
66
Desenvolvedor 66
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
67
Desenvolvedor 67
Classificação
(10)
Projetos
13
0%
Arbitragem
24
0% / 79%
Expirado
4
31%
Livre
68
Desenvolvedor 68
Classificação
(515)
Projetos
554
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
69
Desenvolvedor 69
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
70
Desenvolvedor 70
Classificação
(4)
Projetos
5
0%
Arbitragem
0
Expirado
0
Livre
71
Desenvolvedor 71
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
72
Desenvolvedor 72
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
73
Desenvolvedor 73
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
74
Desenvolvedor 74
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
75
Desenvolvedor 75
Classificação
(74)
Projetos
73
47%
Arbitragem
2
50% / 50%
Expirado
2
3%
Livre
76
Desenvolvedor 76
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 2 códigos
77
Desenvolvedor 77
Classificação
(121)
Projetos
134
66%
Arbitragem
36
25% / 56%
Expirado
22
16%
Livre
Publicou: 10 códigos
78
Desenvolvedor 78
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
79
Desenvolvedor 79
Classificação
(268)
Projetos
319
74%
Arbitragem
16
75% / 0%
Expirado
6
2%
Carregado
80
Desenvolvedor 80
Classificação
(5)
Projetos
5
0%
Arbitragem
5
0% / 40%
Expirado
0
Livre
81
Desenvolvedor 81
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
82
Desenvolvedor 82
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
83
Desenvolvedor 83
Classificação
(12)
Projetos
13
8%
Arbitragem
1
0% / 100%
Expirado
0
Livre
84
Desenvolvedor 84
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
85
Desenvolvedor 85
Classificação
(30)
Projetos
45
16%
Arbitragem
2
0% / 100%
Expirado
4
9%
Livre
86
Desenvolvedor 86
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Hello, looking for a profitable long term bot to use on real live capital. No martingale allowed. Willing to also give % base ofnprofits for performing fees. Backtest is a must with real ticks
Seeking an Established and Profitable Gold Scalping System – MT5 I am a serious buyer looking to acquire an existing, fully operational Expert Advisor specifically designed for scalping XAUUSD (Gold) on MetaTrader 5. I am particularly interested in experienced developers and quantitative traders who have developed successful proprietary trading systems, including systems that are not publicly available on the MQL5
I am looking for the original developer from Egypt who sent me the MJ v3.01 Gold EA (mj.ex5) on December 2, 2026, with a 10-day demo trial. You were Developer #28 in my previous Freelance job and offered the EA for $200. Unfortunately, I lost access to our previous conversation and would like to reconnect with you. I am still interested in your EA and would like to complete the testing, discuss the settings, and
I am looking for one existing MT5 trading strategy with documented net profit after trading costs. I am open to different instruments and timeframes. I want to run the strategy in my own MT5 Strategy Tester using the same fixed settings. To apply, briefly describe how the strategy trades, name the instrument and timeframe, and share one link or report showing its results. Please say whether it is a verified live
Gulu 30+ USD
create money on forex ensuring nothing but profit basically also crypto an d ensure you use every means possible to ensure in turn a profit is made that what i want i want perfection
I am looking to purchase an existing, fully developed and operational XAUUSD scalping Expert Advisor (EA) for MetaTrader 5. IMPORTANT: I am NOT looking for new development, custom programming, or an experimental strategy. I am only interested in an existing, ready-made and proven trading system. Requirements: Fully automated XAUUSD scalping EA for MT5. Short-duration trades with an active trading frequency. Hard Stop
The idea of the trading system is as follows : market entries are performed when MACD's main and signal lines intersect in the current trend direction . 2. Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the current EMA value is greater than the previous one, the trend is seen as growing (ema_current > ema_previous). Alternatively, if current EMA is
Looking to Purchase a Proven and Profitable XAUUSD Scalping EA for MT4 I am looking to purchase an existing, fully automated Gold (XAUUSD) scalping EA specifically designed for MetaTrader 4 (MT4) , with proven and verifiable real-money trading performance. Mandatory Requirements: Exclusively designed for XAUUSD (Gold). Fully automated trading on MetaTrader 4. Genuine scalping strategy with relatively short trade
OVERVIEW I have three MT4 custom indicators in .ex4 format only. I do NOT have the .mq4 source files. I need working MT5 versions of all three, with full .mq5 source code. The MT5 versions may be: (a) rebuilt from scratch in MQL5 by analyzing how the EX4 indicators behave, or (b) obtained from the original author's official MT5 version, if one legitimately exists. Decompiling the EX4 files is NOT acceptable. THE
I am looking for an experienced quantitative researcher to conduct empirical and statistical research on systematic trading strategies, with an initial focus on XAUUSD. The research will cover three main areas: Market structure Market behaviour Quantitative strategy validation, backtesting and robustness analysis. I already have a functional MT5 EA that I would like to improve through extensive quantitative research

Informações sobre o projeto

Orçamento
30 - 20000 USD
Prazo
de 1 para 30 dias