Expert Advisor for XAUUSD based on 10$ price movement cycle strategy

Trabalho concluído

Tempo de execução 11 minutos
Comentário do desenvolvedor
Excellent customer. Clear specifications and fast payment. Thank you.

Termos de Referência

I need an Expert Advisor for MetaTrader 5 (MQL5) to trade XAUUSD based on a simple price movement cycle.

Strategy logic:

• The EA opens a Buy and a Sell at the same time (one pair per cycle).  
• Only ONE Sell position must exist at any time.  
• Every Buy must be opened together with a Sell.

Cycle rules:

• Step movement = 10 USD in gold price.  
• CycleEntryPrice = the OPEN PRICE of the last cycle BUY order.

• If price goes up +10 USD from CycleEntryPrice:  
  - Close the cycle Buy  
  - Close the Sell  
  - Immediately open a new Buy + Sell cycle  
  - Update CycleEntryPrice to the new Buy open price.

• If price goes down −10 USD from CycleEntryPrice:  
  - Close the Sell (profit)  
  - Immediately open a new Buy + Sell cycle  
  - Update CycleEntryPrice to the new Buy open price.

Additional rules:

• Maximum Buy positions = 16  
• When Buy positions reach 16 → EA must enter FREEZE mode.  
• In FREEZE mode: no new orders and no cycle actions. Existing positions remain untouched.

• EA must correctly detect existing positions after terminal restart.  
• Use MagicNumber to manage positions.  
• Prevent repeated executions using CooldownSeconds.

Technical requirements:

• MQL5 only.  
• Deliverables must include EX5 and full MQ5 source code so I can modify the EA later if needed.  
• Code should be clean and well structured (state machine logic preferred).

Price gap behavior:

If price jumps more than 10 USD (for example 20 USD), the EA may execute multiple cycles accordingly in a controlled loop.

Please contact me if you need clarification.

Respondido

1
Desenvolvedor 1
Classificação
(32)
Projetos
35
34%
Arbitragem
5
0% / 80%
Expirado
0
Trabalhando
Publicou: 2 códigos
2
Desenvolvedor 2
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(216)
Projetos
368
33%
Arbitragem
34
41% / 29%
Expirado
108
29%
Livre
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(2660)
Projetos
3380
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(6)
Projetos
4
0%
Arbitragem
5
0% / 100%
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(17)
Projetos
19
26%
Arbitragem
0
Expirado
3
16%
Livre
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(541)
Projetos
820
62%
Arbitragem
33
27% / 45%
Expirado
23
3%
Livre
Publicou: 1 código
9
Desenvolvedor 9
Classificação
(190)
Projetos
247
20%
Arbitragem
22
50% / 18%
Expirado
0
Trabalhando
10
Desenvolvedor 10
Classificação
(381)
Projetos
490
23%
Arbitragem
59
54% / 25%
Expirado
56
11%
Carregado
11
Desenvolvedor 11
Classificação
(1299)
Projetos
1726
49%
Arbitragem
53
70% / 11%
Expirado
38
2%
Trabalhando
12
Desenvolvedor 12
Classificação
(2320)
Projetos
2922
63%
Arbitragem
123
44% / 25%
Expirado
429
15%
Trabalhando
13
Desenvolvedor 13
Classificação
(1)
Projetos
1
0%
Arbitragem
3
0% / 100%
Expirado
1
100%
Livre
14
Desenvolvedor 14
Classificação
(448)
Projetos
710
34%
Arbitragem
34
71% / 9%
Expirado
22
3%
Livre
15
Desenvolvedor 15
Classificação
(38)
Projetos
41
59%
Arbitragem
1
100% / 0%
Expirado
1
2%
Trabalhando
Publicou: 5 códigos
16
Desenvolvedor 16
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
(3)
Projetos
5
20%
Arbitragem
1
100% / 0%
Expirado
2
40%
Livre
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(509)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
101
10%
Livre
Publicou: 1 artigo, 6 códigos
20
Desenvolvedor 20
Classificação
(1)
Projetos
1
100%
Arbitragem
0
Expirado
0
Trabalhando
21
Desenvolvedor 21
Classificação
(3)
Projetos
1
100%
Arbitragem
3
0% / 100%
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
(43)
Projetos
50
28%
Arbitragem
14
21% / 64%
Expirado
1
2%
Trabalhando
23
Desenvolvedor 23
Classificação
(6)
Projetos
5
0%
Arbitragem
3
33% / 67%
Expirado
2
40%
Livre
24
Desenvolvedor 24
Classificação
(362)
Projetos
435
54%
Arbitragem
20
55% / 15%
Expirado
30
7%
Trabalhando
25
Desenvolvedor 25
Classificação
(73)
Projetos
257
53%
Arbitragem
16
50% / 38%
Expirado
83
32%
Livre
26
Desenvolvedor 26
Classificação
(568)
Projetos
657
32%
Arbitragem
41
41% / 46%
Expirado
11
2%
Ocupado
27
Desenvolvedor 27
Classificação
(511)
Projetos
549
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
28
Desenvolvedor 28
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
29
Desenvolvedor 29
Classificação
(30)
Projetos
37
54%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
30
Desenvolvedor 30
Classificação
(18)
Projetos
24
38%
Arbitragem
6
33% / 50%
Expirado
0
Trabalhando
31
Desenvolvedor 31
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
32
Desenvolvedor 32
Classificação
(74)
Projetos
84
64%
Arbitragem
5
100% / 0%
Expirado
9
11%
Livre
33
Desenvolvedor 33
Classificação
(14)
Projetos
19
11%
Arbitragem
4
50% / 25%
Expirado
4
21%
Trabalhando
34
Desenvolvedor 34
Classificação
(2)
Projetos
6
0%
Arbitragem
2
0% / 50%
Expirado
1
17%
Trabalhando
35
Desenvolvedor 35
Classificação
(3)
Projetos
3
0%
Arbitragem
0
Expirado
0
Livre
36
Desenvolvedor 36
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
37
Desenvolvedor 37
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
38
Desenvolvedor 38
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Greetings I need MT5 developer that has expertise in developing a custom indicator for mt5 boom and crash based on my exact details and requirements which would be discuss later. Kindly bid for this project if it is something you can handle for me
I need a fully functional Expert Advisor (EA) for MetaTrader 5 focused on trading XAUUSD (Gold). The strategy should be based on fast scalping entries using indicators such as RSI, Moving Averages, or similar confirmation tools. The EA must include fixed risk management (1%–2% per trade), automatic lot calculation, and stop loss/take profit settings. It should be optimized for low spread conditions and quick market
I need a professional developer to help me create an EA using RSI and Moving averages.The strategies are well organised and everything is in order. I will send all the details in the inbox
MT5 Indicator SMC 30 - 100 USD
Hello, I would like to clarify something before we proceed. I already have a base code prepared for the indicator. However, the code is not the final version and it still requires professional refinement, debugging, and optimization. Because of this, I am specifically looking for a highly experienced developer who can understand the full logic and structure of the system and improve it properly. Before I send you the
Project Overview I need assistance coding a hedging Expert Advisor (EA) that operates in "closed cycles" with a strict limit of five simultaneous open positions . EA Logic & Mechanism Initial Entry: Open a Buy position of 0.01 lots (Position A) with a Take Profit (TP) target of $1.00. Scenario 1: Price Drops (Hedging Step 1): If the price moves against the first trade, open two positions simultaneously: a Sell 0.02
Hello, I would like to clarify something before we proceed. I already have a base code prepared for the indicator. However, the code is not the final version and it still requires professional refinement, debugging, and optimization. Because of this, I am specifically looking for a highly experienced developer who can understand the full logic and structure of the system and improve it properly. Before I send you the
Powerful 30 - 100 USD
I really want a powerful developed EA that can generate a minimum of 10% every month without martingale, greed or any dangerous strategy for sale. Developer must provide the mql5 file or the raw file for modification etc
I already have a fully developed MT5 Expert Advisor with all required prop firm features, including: Risk management Daily loss & max drawdown limits Spread & slippage filters News filter Trade management system The EA structure is complete. 👉 What I need is a professional developer to replace ONLY the entry logic with a high-quality, rule-based trading strategy. 🚨 STRICT REQUIREMENT (READ CAREFULLY): I am NOT
SMC Price Action Pro 30 - 100 USD
Hello, I have a source code for an MT5 indicator that is open-source and belongs to me. However, it still requires professional improvements and some corrections. At the moment the indicator does not work as expected and there are several issues in the logic and performance that need to be fixed. Because of this, I am looking for a highly experienced MT5 developer who is comfortable working with existing code
Hello, I’m looking for an experienced developer who can help convert an existing cTrader indicator into a fully functional Quantower indicator . I already have the complete source code for the cTrader indicator (written in C#) , and I would like the same logic, behavior, and visual output to be accurately replicated in Quantower

Informações sobre o projeto

Orçamento
150 - 300 USD
Prazo
de 3 para 7 dias