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
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(264)
Projetos
330
29%
Arbitragem
36
25% / 64%
Expirado
10
3%
Trabalhando
3
Desenvolvedor 3
Classificação
(387)
Projetos
499
23%
Arbitragem
60
55% / 25%
Expirado
59
12%
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
0
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
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
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
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
Projetos
0
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
(14)
Projetos
27
41%
Arbitragem
3
0% / 67%
Expirado
6
22%
Trabalhando
17
Desenvolvedor 17
Classificação
(9)
Projetos
10
50%
Arbitragem
0
Expirado
0
Livre
18
Desenvolvedor 18
Classificação
(14)
Projetos
18
22%
Arbitragem
1
100% / 0%
Expirado
4
22%
Trabalhando
19
Desenvolvedor 19
Classificação
(181)
Projetos
288
65%
Arbitragem
3
100% / 0%
Expirado
65
23%
Trabalhando
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
(365)
Projetos
441
55%
Arbitragem
22
50% / 14%
Expirado
30
7%
Carregado
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
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
23
30% / 52%
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
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
31
Desenvolvedor 31
Classificação
(202)
Projetos
263
22%
Arbitragem
23
52% / 17%
Expirado
0
Carregado
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
(81)
Projetos
92
32%
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
(2333)
Projetos
2936
63%
Arbitragem
124
44% / 26%
Expirado
429
15%
Trabalhando
41
Desenvolvedor 41
Classificação
(28)
Projetos
34
35%
Arbitragem
0
Expirado
2
6%
Livre
42
Desenvolvedor 42
Classificação
(53)
Projetos
68
59%
Arbitragem
4
75% / 25%
Expirado
1
1%
Carregado
43
Desenvolvedor 43
Classificação
(14)
Projetos
17
18%
Arbitragem
2
0% / 100%
Expirado
3
18%
Livre
44
Desenvolvedor 44
Classificação
(548)
Projetos
833
62%
Arbitragem
33
27% / 45%
Expirado
24
3%
Livre
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
(12)
Projetos
15
33%
Arbitragem
5
40% / 20%
Expirado
1
7%
Trabalhando
Publicou: 6 artigos, 34 códigos
48
Desenvolvedor 48
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
49
Desenvolvedor 49
Classificação
(258)
Projetos
266
29%
Arbitragem
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
(644)
Projetos
871
48%
Arbitragem
29
38% / 17%
Expirado
63
7%
Trabalhando
52
Desenvolvedor 52
Classificação
(31)
Projetos
33
42%
Arbitragem
0
Expirado
3
9%
Livre
53
Desenvolvedor 53
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
54
Desenvolvedor 54
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
55
Desenvolvedor 55
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
56
Desenvolvedor 56
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Specification : 1. Goal I am commissioning a mean-reversion grid Expert Advisor for XAUUSD on MT5. The deliverable is the complete, commented .mq5 source (strictly personal usel). Offers limited to compiled .ex5 will not be considered. 2. Required framework (non-negotiable) 2.1. Works natively on M5; signals evaluated on closed bars; symmetric long/short. 2.2. Entry logic built on Bollinger Bands + Moving Average
Bot 30 - 80 USD
I am looking for an experienced MQL5 developer to create a fully automated Expert Advisor (EA) for MetaTrader 5 based on a Price Action strategy. The bot needs to automatically identify specific candlestick formations and market structure levels, execute trades, and manage risk using a dynamic trailing stop.The EA should monitor the chart for the following price action setup:Market Structure / Trend Filter:The bot
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
Master mind 30+ USD
Start ↓ Detect Trend (H4) ↓ Confirm Structure (H1) ↓ Wait for Pullback ↓ Check Indicators ↓ Calculate Confidence Score ↓ Score ≥ 80? ├── No → Wait └── Yes ↓ Calculate Lot Size ↓ Place Order ↓ Set Stop Loss ↓ Set Take Profit ↓ Manage Trade ↓ Move to Break-even ↓ Trail Stop ↓ Close Trade. IF Price > EMA200 (H4) AND EMA50 > EMA200 (H4) AND ADX > 25 AND RSI between 55 and 70 AND MACD Main > Signal AND Bullish engulfing
A robot 50+ USD
HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f
# HIGH-FREQUENCY M5/M15 CONCURRENT ENTRY SNIPER import time class HighFrequencySniper: def __init__(self): self.target_profit = 25.00 # Targeted Delta Move self.max_execution_time = 3600 # 1 Hour Sandbox (Seconds) self.lot_allocation = "CALIBRATED_TO_RISK" def execute_hft_scan(self, current_price, m5_rsi, m15_order_block): print(f"[SCANNING] Current Kernel Metric: ${current_price:.2f}")
I need a trading bot, please i need this project urgently and when messaing me kindly send me samples of past works and dont forget i need the project to be done as soon as possible
*Need an MQL5 EA for MT5 to trade gold and forex automatically. Must include Stop Loss, Take Profit, and basic risk management. Budget is $30 to $50. Looking for clean, stable code that works on VPS.*
Hello Developers, I am looking for an experienced MQL5 developer to complete the development of a custom MetaTrader 5 Expert Advisor (EA) based on my proprietary trading strategy. I already have a partially developed EA that includes the required custom indicators and part of the trading logic. The project can either be completed by modifying the existing EA or, if more appropriate, by rebuilding it from scratch
Description: I need an experienced MQL5 developer to build a professional MT5 Expert Advisor for XAU/USD based on my trading strategy. I require the full .mq5 source code and the compiled file. Trading Logic: Timeframes: H4 to determine overall direction, H1 for supply and demand zones, M15 for trade entries. Buy conditions: H4 trend is bullish, price reaches a valid H1 demand zone, liquidity sweep occurs below the

Informações sobre o projeto

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

Cliente

Pedidos postados1
Número de arbitragens0