Simple MT5 Candle Direction Reversal EA

MQL5 Experts

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
(280)
Projetos
351
29%
Arbitragem
37
27% / 65%
Expirado
10
3%
Carregado
2
Desenvolvedor 2
Classificação
(619)
Projetos
722
33%
Arbitragem
46
48% / 41%
Expirado
14
2%
Carregado
3
Desenvolvedor 3
Classificação
(17)
Projetos
21
19%
Arbitragem
5
40% / 40%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(7)
Projetos
10
30%
Arbitragem
0
Expirado
1
10%
Carregado
5
Desenvolvedor 5
Classificação
(177)
Projetos
189
47%
Arbitragem
3
33% / 33%
Expirado
1
1%
Carregado
6
Desenvolvedor 6
Classificação
(397)
Projetos
513
23%
Arbitragem
60
57% / 25%
Expirado
60
12%
Carregado
7
Desenvolvedor 7
Classificação
(75)
Projetos
111
50%
Arbitragem
26
31% / 50%
Expirado
9
8%
Livre
Publicou: 1 artigo
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
(70)
Projetos
88
58%
Arbitragem
6
67% / 17%
Expirado
2
2%
Carregado
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
1007
47%
Arbitragem
33
36% / 36%
Expirado
99
10%
Trabalhando
Publicou: 6 códigos
14
Desenvolvedor 14
Classificação
(8)
Projetos
10
30%
Arbitragem
1
0% / 0%
Expirado
2
20%
Carregado
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
(15)
Projetos
29
38%
Arbitragem
3
33% / 67%
Expirado
6
21%
Trabalhando
19
Desenvolvedor 19
Classificação
(33)
Projetos
34
41%
Arbitragem
0
Expirado
3
9%
Trabalhando
20
Desenvolvedor 20
Classificação
(24)
Projetos
32
38%
Arbitragem
4
50% / 25%
Expirado
5
16%
Trabalhando
21
Desenvolvedor 21
Classificação
(435)
Projetos
641
53%
Arbitragem
34
62% / 21%
Expirado
6
1%
Trabalhando
22
Desenvolvedor 22
Classificação
(367)
Projetos
449
55%
Arbitragem
24
54% / 17%
Expirado
30
7%
Ocupado
23
Desenvolvedor 23
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 2 códigos
25
Desenvolvedor 25
Classificação
(52)
Projetos
64
39%
Arbitragem
15
27% / 60%
Expirado
1
2%
Trabalhando
26
Desenvolvedor 26
Classificação
(14)
Projetos
21
24%
Arbitragem
0
Expirado
3
14%
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
(10)
Projetos
16
50%
Arbitragem
1
100% / 0%
Expirado
4
25%
Livre
29
Desenvolvedor 29
Classificação
(6)
Projetos
8
38%
Arbitragem
1
100% / 0%
Expirado
2
25%
Livre
30
Desenvolvedor 30
Classificação
(209)
Projetos
272
21%
Arbitragem
24
54% / 17%
Expirado
0
Livre
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
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
(552)
Projetos
842
61%
Arbitragem
33
27% / 45%
Expirado
24
3%
Livre
Publicou: 1 código
42
Desenvolvedor 42
Classificação
(13)
Projetos
22
41%
Arbitragem
8
0% / 50%
Expirado
3
14%
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
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
50
Desenvolvedor 50
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 2 códigos
Pedidos semelhantes
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
Looking to acquire an existing, proven EA. Not looking for new strategy development. REQUIREMENTS — non-negotiable: Minimum 12 months verified LIVE history (Myfxbook or MQL5 Signals, real money — not demo, not backtest) Hard stop loss on EVERY trade, set at order placement NO martingale, NO grid, NO averaging into losers, NO lot multiplication after a loss Max historical drawdown under 30% Minimum 5 trades per
I want to develop a fully automated MetaTrader 5 trading bot focused primarily on EUR/USD, inspired by the functionality of modern algorithmic trading systems. The bot should run 24/6 on a dedicated VPS and analyze the market continuously, refreshing approximately every second rather than waiting for candle closes. Key features: • Real-time volume and tick-level market analysis • Order-flow and liquidity analysis •
Hello, I trade on HFM MT5. Need SCALPING EA for scalping, budget $30. SYMBOLS: XAUUSD (GOLD), US30, NAS100, GER40, EURUSD TIMEFRAME: M1 and M5 PLATFORM: MT5, must work on HFM VPS STRATEGY: - EMA 9 crosses EMA 21 - RSI 14: BUY only if RSI >45, SELL only if RSI <55 - Bollinger Bands: Only trade when price returns inside BB after breakout - 1 trade at a time per symbol - SL: 150 points Gold / 100 points indices (must be
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
I need an MT5 Expert Advisor for XAUUSD (Gold) running on an Exness account. STRATEGY LOGIC The exact entry and exit rules will be provided in writing before development starts. Please quote for a single rule-based strategy with clearly separated logic, so the rules can be adjusted later without rewriting the whole EA. RISK MANAGEMENT (this is the priority of the project) - Risk per trade as a percentage of account
Hi, I am looking for a marketer or affiliate to promote my Expert Advisor (EA). Offer Details: Partnership Model: Revenue Sharing / Performance-Based Commission. Duration: 6 Months of continuous profit-sharing from all generated sales/subscriptions. Profit Ratio: Flexible and open for negotiation depending on your marketing reach and experience (Details will be discussed via Private Message / DM). If you have a solid
Straddle bot v1.1.38 30 - 100 USD
any one can make straddle bot v1.1.38 its original made by yoforex.com Manual gold trading on the M15 chart demands constant attention. Price can break sharply in either direction or chop for hours. Many traders miss the move, enter late, or over-react when volatility spikes. Straddle EA V1.1.38 MT5 is built to handle that specific problem on XAUUSD by placing a multi-level pending-order grid on both sides of price
Indicador Maximas e Minimas + Super Trend O Indicador MAX/MIN é um indicador de análise técnica para o MetaTrader 5 , desenvolvido para ajudar você a identificar regiões importantes de preço e possíveis oportunidades de compra e venda. O que ele faz MAX/MIN: identifica máximas e mínimas relevantes do mercado e mostra os preços no gráfico. HH / HL / LH / LL: ajuda a visualizar a estrutura do mercado, mostrando quando
Subject: Custom MT5 Multi-Currency EA Request - Multi-Timeframe Strategy with Trailing Stop Hi, I am looking for a developer to create a custom Expert Advisor (EA) for MetaTrader 5 (MT5) . The EA must be optimized for multi-currency testing and trading , allowing me to run it across multiple currency pairs simultaneously. The trading logic should be based on a multi-timeframe approach using the following indicators

Informações sobre o projeto

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

Cliente

Pedidos postados1
Número de arbitragens0