Simple MT5 Candle Direction Reversal EA

MQL5 Esperti

Specifiche

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).


Con risposta

1
Sviluppatore 1
Valutazioni
(280)
Progetti
351
29%
Arbitraggio
37
27% / 65%
In ritardo
10
3%
Caricato
2
Sviluppatore 2
Valutazioni
(619)
Progetti
722
33%
Arbitraggio
46
48% / 41%
In ritardo
14
2%
Caricato
3
Sviluppatore 3
Valutazioni
(17)
Progetti
21
19%
Arbitraggio
5
40% / 40%
In ritardo
0
Gratuito
4
Sviluppatore 4
Valutazioni
(7)
Progetti
10
30%
Arbitraggio
0
In ritardo
1
10%
Caricato
5
Sviluppatore 5
Valutazioni
(177)
Progetti
189
47%
Arbitraggio
3
33% / 33%
In ritardo
1
1%
Caricato
6
Sviluppatore 6
Valutazioni
(397)
Progetti
513
23%
Arbitraggio
60
57% / 25%
In ritardo
60
12%
Caricato
7
Sviluppatore 7
Valutazioni
(75)
Progetti
111
50%
Arbitraggio
26
31% / 50%
In ritardo
9
8%
Gratuito
Pubblicati: 1 articolo
8
Sviluppatore 8
Valutazioni
(33)
Progetti
38
21%
Arbitraggio
5
0% / 60%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(22)
Progetti
28
7%
Arbitraggio
9
33% / 33%
In ritardo
1
4%
In elaborazione
10
Sviluppatore 10
Valutazioni
(70)
Progetti
88
58%
Arbitraggio
6
67% / 17%
In ritardo
2
2%
Caricato
11
Sviluppatore 11
Valutazioni
(9)
Progetti
10
10%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(62)
Progetti
90
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
13
Sviluppatore 13
Valutazioni
(636)
Progetti
1007
47%
Arbitraggio
33
36% / 36%
In ritardo
99
10%
In elaborazione
Pubblicati: 6 codici
14
Sviluppatore 14
Valutazioni
(8)
Progetti
10
30%
Arbitraggio
1
0% / 0%
In ritardo
2
20%
Caricato
Pubblicati: 1 codice
15
Sviluppatore 15
Valutazioni
(20)
Progetti
26
38%
Arbitraggio
6
33% / 50%
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
17
Sviluppatore 17
Valutazioni
(8)
Progetti
8
0%
Arbitraggio
2
50% / 0%
In ritardo
1
13%
In elaborazione
18
Sviluppatore 18
Valutazioni
(15)
Progetti
29
38%
Arbitraggio
3
33% / 67%
In ritardo
6
21%
In elaborazione
19
Sviluppatore 19
Valutazioni
(33)
Progetti
34
41%
Arbitraggio
0
In ritardo
3
9%
In elaborazione
20
Sviluppatore 20
Valutazioni
(24)
Progetti
32
38%
Arbitraggio
4
50% / 25%
In ritardo
5
16%
In elaborazione
21
Sviluppatore 21
Valutazioni
(435)
Progetti
641
53%
Arbitraggio
34
62% / 21%
In ritardo
6
1%
In elaborazione
22
Sviluppatore 22
Valutazioni
(367)
Progetti
449
55%
Arbitraggio
24
54% / 17%
In ritardo
30
7%
Occupato
23
Sviluppatore 23
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
24
Sviluppatore 24
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 2 codici
25
Sviluppatore 25
Valutazioni
(52)
Progetti
64
39%
Arbitraggio
15
27% / 60%
In ritardo
1
2%
In elaborazione
26
Sviluppatore 26
Valutazioni
(14)
Progetti
21
24%
Arbitraggio
0
In ritardo
3
14%
Gratuito
Pubblicati: 3 codici
27
Sviluppatore 27
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 5 codici
28
Sviluppatore 28
Valutazioni
(10)
Progetti
16
50%
Arbitraggio
1
100% / 0%
In ritardo
4
25%
Gratuito
29
Sviluppatore 29
Valutazioni
(6)
Progetti
8
38%
Arbitraggio
1
100% / 0%
In ritardo
2
25%
Gratuito
30
Sviluppatore 30
Valutazioni
(209)
Progetti
272
21%
Arbitraggio
24
54% / 17%
In ritardo
0
Gratuito
31
Sviluppatore 31
Valutazioni
(4)
Progetti
7
57%
Arbitraggio
1
100% / 0%
In ritardo
0
Gratuito
32
Sviluppatore 32
Valutazioni
(31)
Progetti
38
53%
Arbitraggio
2
50% / 50%
In ritardo
3
8%
Gratuito
33
Sviluppatore 33
Valutazioni
(515)
Progetti
554
53%
Arbitraggio
13
69% / 15%
In ritardo
3
1%
Gratuito
34
Sviluppatore 34
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
35
Sviluppatore 35
Valutazioni
(4)
Progetti
8
0%
Arbitraggio
3
33% / 67%
In ritardo
4
50%
Gratuito
36
Sviluppatore 36
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
37
Sviluppatore 37
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
38
Sviluppatore 38
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
39
Sviluppatore 39
Valutazioni
(87)
Progetti
121
68%
Arbitraggio
5
80% / 0%
In ritardo
12
10%
In elaborazione
40
Sviluppatore 40
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
41
Sviluppatore 41
Valutazioni
(552)
Progetti
842
61%
Arbitraggio
33
27% / 45%
In ritardo
24
3%
Gratuito
Pubblicati: 1 codice
42
Sviluppatore 42
Valutazioni
(13)
Progetti
22
41%
Arbitraggio
8
0% / 50%
In ritardo
3
14%
Gratuito
43
Sviluppatore 43
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
44
Sviluppatore 44
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
45
Sviluppatore 45
Valutazioni
(54)
Progetti
102
23%
Arbitraggio
12
25% / 17%
In ritardo
13
13%
Gratuito
46
Sviluppatore 46
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
47
Sviluppatore 47
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
48
Sviluppatore 48
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
49
Sviluppatore 49
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
In elaborazione
50
Sviluppatore 50
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 2 codici
Ordini simili
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

Informazioni sul progetto

Budget
40 - 80 USD
Scadenze
da 2 a 5 giorno(i)

Cliente

Ordini effettuati1
Numero di arbitraggi0