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
(33)
Projetos
36
33%
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
(217)
Projetos
369
33%
Arbitragem
34
41% / 29%
Expirado
108
29%
Livre
Publicou: 1 código
4
Desenvolvedor 4
Classificação
(2668)
Projetos
3400
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Trabalhando
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
(28)
Projetos
30
37%
Arbitragem
0
Expirado
3
10%
Trabalhando
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(545)
Projetos
827
62%
Arbitragem
33
27% / 45%
Expirado
23
3%
Trabalhando
Publicou: 1 código
9
Desenvolvedor 9
Classificação
(200)
Projetos
257
21%
Arbitragem
22
50% / 18%
Expirado
0
Carregado
10
Desenvolvedor 10
Classificação
(382)
Projetos
493
23%
Arbitragem
60
55% / 25%
Expirado
57
12%
Carregado
11
Desenvolvedor 11
Classificação
(1304)
Projetos
1732
49%
Arbitragem
54
69% / 15%
Expirado
38
2%
Trabalhando
12
Desenvolvedor 12
Classificação
(2325)
Projetos
2928
63%
Arbitragem
124
44% / 26%
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
(454)
Projetos
718
34%
Arbitragem
34
71% / 9%
Expirado
22
3%
Livre
15
Desenvolvedor 15
Classificação
(40)
Projetos
44
59%
Arbitragem
2
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
(510)
Projetos
977
74%
Arbitragem
27
19% / 67%
Expirado
100
10%
Livre
Publicou: 1 artigo, 6 códigos
20
Desenvolvedor 20
Classificação
(2)
Projetos
2
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
(48)
Projetos
56
34%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
23
Desenvolvedor 23
Classificação
(6)
Projetos
5
0%
Arbitragem
4
25% / 75%
Expirado
2
40%
Livre
24
Desenvolvedor 24
Classificação
(363)
Projetos
436
54%
Arbitragem
22
50% / 14%
Expirado
30
7%
Carregado
25
Desenvolvedor 25
Classificação
(73)
Projetos
257
53%
Arbitragem
16
50% / 38%
Expirado
83
32%
Livre
26
Desenvolvedor 26
Classificação
(597)
Projetos
690
33%
Arbitragem
43
44% / 44%
Expirado
12
2%
Carregado
27
Desenvolvedor 27
Classificação
(512)
Projetos
551
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
(31)
Projetos
38
53%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
30
Desenvolvedor 30
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
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
(20)
Projetos
27
30%
Arbitragem
4
50% / 25%
Expirado
4
15%
Trabalhando
34
Desenvolvedor 34
Classificação
(2)
Projetos
7
0%
Arbitragem
3
0% / 33%
Expirado
1
14%
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
AUTOMATED TRADING Execute any strategy faster than any human Find entries, sets TP & SL and manage trades automatically in a under a seconds From my analysis the main issues are: No stop loss or take profit , which exposes the account to large losses No risk management system (lot size is not calculated based on risk) High drawdown because trades are not controlled EA opens multiple trades at the same entry , causing
Hello, I have a tradingview buy/sell indicator that also tells when to exit the trades with labels and everything. The indicator is of course manual and I want this to be automated into an MT5 bot. In return for this project you will get the indicator and bot for free! The indicator is simple yet very powerful/profitable. It works on all timeframes and pairs. It tells you when to buy/sell and when to "book profit"
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
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
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
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 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

Informações sobre o projeto

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