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

Tâche terminée

Temps d'exécution 11 minutes
Commentaires de l'employé
Excellent customer. Clear specifications and fast payment. Thank you.

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(33)
Projets
36
33%
Arbitrage
5
0% / 80%
En retard
0
Travail
Publié : 2 codes
2
Développeur 2
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(217)
Projets
369
33%
Arbitrage
34
41% / 29%
En retard
108
29%
Gratuit
Publié : 1 code
4
Développeur 4
Évaluation
(2673)
Projets
3409
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(6)
Projets
4
0%
Arbitrage
5
0% / 100%
En retard
0
Gratuit
6
Développeur 6
Évaluation
(31)
Projets
33
42%
Arbitrage
0
En retard
3
9%
Gratuit
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(549)
Projets
838
61%
Arbitrage
33
27% / 45%
En retard
24
3%
Gratuit
Publié : 1 code
9
Développeur 9
Évaluation
(202)
Projets
263
22%
Arbitrage
23
52% / 17%
En retard
0
Chargé
10
Développeur 10
Évaluation
(389)
Projets
501
23%
Arbitrage
60
55% / 25%
En retard
59
12%
Chargé
11
Développeur 11
Évaluation
(1304)
Projets
1732
49%
Arbitrage
55
67% / 16%
En retard
38
2%
Gratuit
12
Développeur 12
Évaluation
(2337)
Projets
2940
63%
Arbitrage
124
44% / 26%
En retard
429
15%
Travail
13
Développeur 13
Évaluation
(1)
Projets
1
0%
Arbitrage
3
0% / 100%
En retard
1
100%
Gratuit
14
Développeur 14
Évaluation
(454)
Projets
720
34%
Arbitrage
35
71% / 9%
En retard
22
3%
Gratuit
15
Développeur 15
Évaluation
(44)
Projets
51
59%
Arbitrage
2
100% / 0%
En retard
1
2%
Travail
Publié : 5 codes
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
(6)
Projets
8
38%
Arbitrage
1
100% / 0%
En retard
2
25%
Gratuit
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(510)
Projets
977
74%
Arbitrage
27
19% / 67%
En retard
100
10%
Gratuit
Publié : 1 article, 6 codes
20
Développeur 20
Évaluation
(3)
Projets
3
100%
Arbitrage
0
En retard
0
Travail
21
Développeur 21
Évaluation
(3)
Projets
1
100%
Arbitrage
3
0% / 100%
En retard
0
Gratuit
22
Développeur 22
Évaluation
(48)
Projets
58
34%
Arbitrage
15
27% / 60%
En retard
1
2%
Travail
23
Développeur 23
Évaluation
(7)
Projets
6
0%
Arbitrage
4
25% / 75%
En retard
2
33%
Gratuit
24
Développeur 24
Évaluation
(366)
Projets
444
55%
Arbitrage
22
55% / 14%
En retard
30
7%
Chargé
25
Développeur 25
Évaluation
(73)
Projets
257
53%
Arbitrage
16
50% / 38%
En retard
83
32%
Gratuit
26
Développeur 26
Évaluation
(611)
Projets
711
33%
Arbitrage
45
49% / 42%
En retard
14
2%
Travail
27
Développeur 27
Évaluation
(513)
Projets
552
53%
Arbitrage
13
69% / 15%
En retard
3
1%
Gratuit
28
Développeur 28
Évaluation
(10)
Projets
14
43%
Arbitrage
0
En retard
3
21%
Gratuit
29
Développeur 29
Évaluation
(31)
Projets
38
53%
Arbitrage
2
50% / 50%
En retard
3
8%
Gratuit
30
Développeur 30
Évaluation
(20)
Projets
26
38%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
31
Développeur 31
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
32
Développeur 32
Évaluation
(74)
Projets
84
64%
Arbitrage
5
100% / 0%
En retard
9
11%
Gratuit
33
Développeur 33
Évaluation
(22)
Projets
29
34%
Arbitrage
4
50% / 25%
En retard
5
17%
Travail
34
Développeur 34
Évaluation
(2)
Projets
7
0%
Arbitrage
3
0% / 33%
En retard
1
14%
Travail
35
Développeur 35
Évaluation
(3)
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
36
Développeur 36
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
37
Développeur 37
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
38
Développeur 38
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
Hola, traders e inversores: Desarrollamos soluciones de trading algorítmico para MetaTrader 4 y MetaTrader 5. Creamos bots, indicadores y herramientas a medida que convierten estrategias manuales en sistemas automáticos, configurables y orientados a una gestión de riesgo sólida. Hemos trabajado en automatizaciones que integran entradas y salidas por reglas, cálculo de lotaje, control de drawdown, filtros de horario y
I have developed a custom semi-automated MT5 trading workflow for personal use. I am available to discuss its technical implementation, automation features, and overall workflow with developers or traders interested in similar solutions. The project includes MT5 automation, Telegram communication, trade execution tools, and configurable risk management components. If you are working on a similar project or looking
automatic robo sell at bollinger band upwards breach and rsi should above 80 and buy when bollinger breach downwards and rsi is below 30, rsi shoould works only on Gold trade and none ofhe trades
Hello, I need a custom Expert Advisor for MetaTrader 5. I am trading from mobile only. **Account & Style:** - Capital: $5,000 - $10,000 - Risk: Moderate/Balanced - Trading Style: Scalping **Pairs & Timeframe:** - Symbols: EURUSD and XAUUSD - Timeframe: M5 **Strategy:** - BUY: RSI(14) < 30 AND Price > 20 EMA - SELL: RSI(14) > 70 AND Price < 20 EMA - Only 1 trade per symbol at a time - No Martingale / No Grid **Risk
I am looking for an experienced MetaTrader 5 expert. I already have 3 MT5 trading accounts. I need someone to: 1. Help me choose a reliable Windows VPS. 2. Connect to my VPS remotely (AnyDesk or TeamViewer). 3. Install 3 MetaTrader 5 terminals. 4. Configure: - 1 Master Account - 2 Slave Accounts 5. Install and configure a professional Trade Copier. 6. Copy all trades from the Master account to both Slave
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I have an MT4 custom indicator (.ex4) that I use regularly, and I would like an identical MT5 version. Important: I do not have the source code (.mq4). I only have the compiled MT4 indicator. I am looking for an experienced MQL developer who can recreate the indicator's functionality and appearance for MT5 by analyzing its behavior. The MT5 version should match the MT4 version as closely as possible, including
Mac200 50+ USD
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My

Informations sur le projet

Budget
150 - 300 USD
Délais
de 3 à 7 jour(s)