Simple MT5 Candle Direction Reversal EA

MQL5 Experts

Trabalho concluído

Tempo de execução 7 dias
Comentário do cliente
Did a great job! Very knowledgable and efficient.
Comentário do desenvolvedor
he knew what he wanted and answered every question on the spec. when something looked off he sent his own terminal logs, so we found the cause fast. thanks jason, hope we work again.

Termos de Referência

I need a simple MT5 Expert Advisor (MQL5) programmed exactly according to the following rules.

The EA is a continuous candle-direction reversal strategy.

Candle signal:

  • Close > Open = BUY signal
  • Close < Open = SELL signal
  • Close = Open = no change

Trading logic:

  • After each candle has fully closed, use that completed candle to determine the required trade direction.
  • The signal is acted upon at the opening of the following candle.
  • If the signal is BUY and a BUY is already open, do nothing and continue holding BUY.
  • If the signal is SELL and a SELL is already open, do nothing and continue holding SELL.
  • If the signal changes from BUY to SELL, close the BUY and immediately open a SELL.
  • If the signal changes from SELL to BUY, close the SELL and immediately open a BUY.
  • A Doji (Close = Open) does not close or change the existing position.

Position rules:

  • Only ONE position can be open at any time.
  • Never have BUY and SELL positions open simultaneously.
  • Consecutive candles in the same direction must NOT create additional positions.
  • There is NO Stop Loss.
  • There is NO Take Profit.
  • The only exit is a reversal into the opposite direction.

Example:

Bullish → BUY
Bullish → continue BUY
Bullish → continue BUY
Bearish → close BUY + open SELL
Bearish → continue SELL
Doji → continue SELL
Bullish → close SELL + open BUY

EA startup:
When the EA is first activated, use the most recently completed non-Doji candle to determine the initial direction and open the corresponding position.

Timeframe:
The EA must work on all MT5 timeframes and use the timeframe of the chart to which it is attached.

Position size:
Lot size should be a user-adjustable input, with 1.00 lot as the default.

Please confirm that you understand the above logic before development begins.

I also require the complete MQL5 source code (.mq5), as well as the compiled EA (.ex5).


Respondido

1
Desenvolvedor 1
Classificação
(293)
Projetos
366
30%
Arbitragem
37
27% / 65%
Expirado
10
3%
Trabalhando
Publicou: 10 códigos
2
Desenvolvedor 2
Classificação
(634)
Projetos
741
34%
Arbitragem
49
53% / 39%
Expirado
14
2%
Trabalhando
3
Desenvolvedor 3
Classificação
(17)
Projetos
21
19%
Arbitragem
5
40% / 40%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(13)
Projetos
21
38%
Arbitragem
0
Expirado
1
5%
Trabalhando
5
Desenvolvedor 5
Classificação
(185)
Projetos
199
47%
Arbitragem
4
50% / 25%
Expirado
1
1%
Trabalhando
6
Desenvolvedor 6
Classificação
(402)
Projetos
520
24%
Arbitragem
61
57% / 25%
Expirado
60
12%
Carregado
7
Desenvolvedor 7
Classificação
(75)
Projetos
111
50%
Arbitragem
26
31% / 50%
Expirado
9
8%
Livre
Publicou: 2 artigos
8
Desenvolvedor 8
Classificação
(33)
Projetos
38
21%
Arbitragem
5
0% / 60%
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(22)
Projetos
28
7%
Arbitragem
9
33% / 33%
Expirado
1
4%
Trabalhando
10
Desenvolvedor 10
Classificação
(79)
Projetos
106
56%
Arbitragem
5
80% / 20%
Expirado
5
5%
Trabalhando
11
Desenvolvedor 11
Classificação
(9)
Projetos
10
10%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
13
Desenvolvedor 13
Classificação
(636)
Projetos
1008
47%
Arbitragem
33
36% / 36%
Expirado
99
10%
Trabalhando
Publicou: 6 códigos
14
Desenvolvedor 14
Classificação
(10)
Projetos
12
33%
Arbitragem
0
Expirado
2
17%
Trabalhando
Publicou: 1 código
15
Desenvolvedor 15
Classificação
(20)
Projetos
26
38%
Arbitragem
6
33% / 50%
Expirado
0
Livre
16
Desenvolvedor 16
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
17
Desenvolvedor 17
Classificação
(8)
Projetos
8
0%
Arbitragem
2
50% / 0%
Expirado
1
13%
Trabalhando
18
Desenvolvedor 18
Classificação
(16)
Projetos
30
40%
Arbitragem
3
33% / 67%
Expirado
7
23%
Trabalhando
19
Desenvolvedor 19
Classificação
(34)
Projetos
35
40%
Arbitragem
0
Expirado
3
9%
Livre
20
Desenvolvedor 20
Classificação
(24)
Projetos
32
38%
Arbitragem
4
50% / 25%
Expirado
5
16%
Trabalhando
21
Desenvolvedor 21
Classificação
(438)
Projetos
649
53%
Arbitragem
35
63% / 20%
Expirado
7
1%
Trabalhando
22
Desenvolvedor 22
Classificação
(369)
Projetos
459
55%
Arbitragem
24
58% / 17%
Expirado
31
7%
Trabalhando
23
Desenvolvedor 23
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
(3)
Projetos
4
100%
Arbitragem
0
Expirado
0
Trabalhando
Publicou: 2 códigos
25
Desenvolvedor 25
Classificação
(54)
Projetos
68
43%
Arbitragem
15
27% / 60%
Expirado
1
1%
Trabalhando
26
Desenvolvedor 26
Classificação
(14)
Projetos
21
24%
Arbitragem
0
Expirado
2
10%
Livre
Publicou: 3 códigos
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 5 códigos
28
Desenvolvedor 28
Classificação
(11)
Projetos
16
50%
Arbitragem
1
100% / 0%
Expirado
4
25%
Livre
29
Desenvolvedor 29
Classificação
(6)
Projetos
8
38%
Arbitragem
2
50% / 50%
Expirado
2
25%
Livre
30
Desenvolvedor 30
Classificação
(215)
Projetos
280
21%
Arbitragem
27
56% / 15%
Expirado
0
Carregado
31
Desenvolvedor 31
Classificação
(4)
Projetos
7
57%
Arbitragem
1
100% / 0%
Expirado
0
Livre
32
Desenvolvedor 32
Classificação
(31)
Projetos
38
53%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
33
Desenvolvedor 33
Classificação
(515)
Projetos
554
53%
Arbitragem
13
69% / 15%
Expirado
3
1%
Livre
34
Desenvolvedor 34
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
35
Desenvolvedor 35
Classificação
(4)
Projetos
8
0%
Arbitragem
3
33% / 67%
Expirado
4
50%
Livre
36
Desenvolvedor 36
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
37
Desenvolvedor 37
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 código
38
Desenvolvedor 38
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 código
39
Desenvolvedor 39
Classificação
(87)
Projetos
121
68%
Arbitragem
5
80% / 0%
Expirado
12
10%
Trabalhando
40
Desenvolvedor 40
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
41
Desenvolvedor 41
Classificação
(560)
Projetos
855
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Trabalhando
Publicou: 1 código
42
Desenvolvedor 42
Classificação
(13)
Projetos
23
39%
Arbitragem
8
0% / 50%
Expirado
4
17%
Livre
43
Desenvolvedor 43
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
44
Desenvolvedor 44
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
45
Desenvolvedor 45
Classificação
(54)
Projetos
102
23%
Arbitragem
12
25% / 17%
Expirado
13
13%
Livre
46
Desenvolvedor 46
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
47
Desenvolvedor 47
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
48
Desenvolvedor 48
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
49
Desenvolvedor 49
Classificação
(1)
Projetos
2
50%
Arbitragem
0
Expirado
1
50%
Trabalhando
50
Desenvolvedor 50
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 2 códigos
51
Desenvolvedor 51
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
52
Desenvolvedor 52
Classificação
(64)
Projetos
145
46%
Arbitragem
21
38% / 24%
Expirado
32
22%
Livre
53
Desenvolvedor 53
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
54
Desenvolvedor 54
Classificação
(264)
Projetos
311
75%
Arbitragem
16
69% / 0%
Expirado
6
2%
Trabalhando
55
Desenvolvedor 55
Classificação
(6)
Projetos
7
71%
Arbitragem
0
Expirado
0
Trabalhando
Publicou: 1 artigo, 2 códigos
56
Desenvolvedor 56
Classificação
(170)
Projetos
265
62%
Arbitragem
4
50% / 25%
Expirado
10
4%
Livre
57
Desenvolvedor 57
Classificação
(52)
Projetos
58
59%
Arbitragem
4
0% / 25%
Expirado
1
2%
Livre
58
Desenvolvedor 58
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
59
Desenvolvedor 59
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 2 códigos
60
Desenvolvedor 60
Classificação
(10)
Projetos
14
43%
Arbitragem
0
Expirado
3
21%
Livre
61
Desenvolvedor 61
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
62
Desenvolvedor 62
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
63
Desenvolvedor 63
Classificação
(2)
Projetos
2
50%
Arbitragem
0
Expirado
0
Livre
64
Desenvolvedor 64
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 11 códigos
65
Desenvolvedor 65
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 4 códigos
66
Desenvolvedor 66
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
FOR MT5. BROKERS - XM,TICKMILL. looking for an EA which can generate reasonable profits like 100% monthly, SEND ME SOUCE CODE AND UPON TESTING I SHALL PAY AND WE CAN MAKE NECESSARY MODIFICATIONS
I need a robot that will grow small accounts to bigger amounts, I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $200 profit for the day, it must close
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must
Your XAUUSD Buy Stop / Sell Stop Grid EA Strategy 1. Initial order placement Buy Stop orders — 5 orders Place 5 Buy Stop pending orders above the current market price. Each order is spaced 1.00 XAUUSD price unit apart. Initial lot sizes range from 0.01 to 0.05 lots . Sell Stop orders — 5 orders Place 5 Sell Stop pending orders below the current market price. Each order is spaced 1.00 XAUUSD price unit apart. Initial
I am looking for an experienced and highly competent MQL5 developer to create a bespoke, fully automated Forex Expert Advisor for Meta Trader 5 for my Apple iMac. The EA will incorporate a proprietary trading strategy involving multiple position management, dynamic trade execution, advanced profit management and sophisticated risk controls. Key technical requirements: Automated trade execution and management
Hello developers and quantitative traders, I am looking to purchase a license for an EXISTING, professionally developed MT5 quantitative portfolio Expert Advisor with a long-term, independently verifiable trading history. Purchase budget: $5,000–$15,000 USD Additional annual maintenance fee: $1,000 USD I am willing to establish a long-term commercial relationship with the developer. IMPORTANT: I am NOT looking for
SIERRA CHART 40+ USD
Hello. I have some custom chartbooks/studies that run on ACSIL C++ in Sierra Charts trading platform. I need them put into pinescript to be able to be used in trading view and look similar to the charts we are giving you. also need it to be able to work on ninja trader NinjaScript (C#)/java, and MQL4 and MQL5 for metatrader 4 and 5. You would have to assist with testing. Let me know if you can help with this task
Trading 35+ USD
Project: XAUUSD Gold Trading Robot for MetaTrader 5 I want to develop a fully automated Expert Advisor (EA) for MetaTrader 5, designed exclusively for Gold (XAUUSD) and compatible with the Exness broker. Trading Strategy: Liquidity + CHOCH + Retest Identify important buy-side and sell-side liquidity zones using previous highs and lows, equal highs/lows, and confirmed swing points. Wait for a clear liquidity sweep
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following

Informações sobre o projeto

Orçamento
40 - 80 USD
Prazo
de 2 para 5 dias