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
(2668)
Projets
3400
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Travail
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
(28)
Projets
30
37%
Arbitrage
0
En retard
3
10%
Travail
7
Développeur 7
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
8
Développeur 8
Évaluation
(545)
Projets
827
62%
Arbitrage
33
27% / 45%
En retard
23
3%
Travail
Publié : 1 code
9
Développeur 9
Évaluation
(200)
Projets
257
21%
Arbitrage
22
50% / 18%
En retard
0
Chargé
10
Développeur 10
Évaluation
(382)
Projets
493
23%
Arbitrage
60
55% / 25%
En retard
57
12%
Chargé
11
Développeur 11
Évaluation
(1304)
Projets
1732
49%
Arbitrage
54
69% / 15%
En retard
38
2%
Travail
12
Développeur 12
Évaluation
(2325)
Projets
2928
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
718
34%
Arbitrage
34
71% / 9%
En retard
22
3%
Gratuit
15
Développeur 15
Évaluation
(40)
Projets
44
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
(3)
Projets
5
20%
Arbitrage
1
100% / 0%
En retard
2
40%
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
(2)
Projets
2
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
56
34%
Arbitrage
15
27% / 60%
En retard
1
2%
Travail
23
Développeur 23
Évaluation
(6)
Projets
5
0%
Arbitrage
4
25% / 75%
En retard
2
40%
Gratuit
24
Développeur 24
Évaluation
(363)
Projets
436
54%
Arbitrage
22
50% / 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
(597)
Projets
690
33%
Arbitrage
43
44% / 44%
En retard
12
2%
Chargé
27
Développeur 27
Évaluation
(512)
Projets
551
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
(20)
Projets
27
30%
Arbitrage
4
50% / 25%
En retard
4
15%
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
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
The striker robot 30 - 2000 USD
I would like a trend and pullback strategy for the robot timeframe:15 minutes(m15) or 1 hour(h1) indicators:50 EMA (Exponential Moving Average)/200 EMA/RSI (14) BUY SET UP 1.Confirm The Trend .50 EMA must be above 200 EMA .Price must be above both EMAs 2.Wait for a pullback .Do not buy when the price shoots up. .Wait for the price to come back near the 50 EMA 3.Confirm entry .ENTER BUY WHEN: .A bullish candlestick

Informations sur le projet

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