Simple MT5 Candle Direction Reversal EA

MQL5 Uzmanlar

Şartname

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


Yanıtlandı

1
Geliştirici 1
Derecelendirme
(280)
Projeler
351
29%
Arabuluculuk
37
27% / 65%
Süresi dolmuş
10
3%
Yüklendi
2
Geliştirici 2
Derecelendirme
(619)
Projeler
722
33%
Arabuluculuk
46
48% / 41%
Süresi dolmuş
14
2%
Yüklendi
3
Geliştirici 3
Derecelendirme
(17)
Projeler
21
19%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(7)
Projeler
10
30%
Arabuluculuk
0
Süresi dolmuş
1
10%
Yüklendi
5
Geliştirici 5
Derecelendirme
(177)
Projeler
189
47%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
1
1%
Yüklendi
6
Geliştirici 6
Derecelendirme
(397)
Projeler
513
23%
Arabuluculuk
60
57% / 25%
Süresi dolmuş
60
12%
Yüklendi
7
Geliştirici 7
Derecelendirme
(75)
Projeler
111
50%
Arabuluculuk
26
31% / 50%
Süresi dolmuş
9
8%
Serbest
Yayınlandı: 1 makale
8
Geliştirici 8
Derecelendirme
(33)
Projeler
38
21%
Arabuluculuk
5
0% / 60%
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(22)
Projeler
28
7%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
1
4%
Çalışıyor
10
Geliştirici 10
Derecelendirme
(70)
Projeler
88
58%
Arabuluculuk
6
67% / 17%
Süresi dolmuş
2
2%
Yüklendi
11
Geliştirici 11
Derecelendirme
(9)
Projeler
10
10%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
13
Geliştirici 13
Derecelendirme
(636)
Projeler
1007
47%
Arabuluculuk
33
36% / 36%
Süresi dolmuş
99
10%
Çalışıyor
Yayınlandı: 6 kod
14
Geliştirici 14
Derecelendirme
(8)
Projeler
10
30%
Arabuluculuk
1
0% / 0%
Süresi dolmuş
2
20%
Yüklendi
Yayınlandı: 1 kod
15
Geliştirici 15
Derecelendirme
(20)
Projeler
26
38%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
0
Serbest
16
Geliştirici 16
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
17
Geliştirici 17
Derecelendirme
(8)
Projeler
8
0%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
13%
Çalışıyor
18
Geliştirici 18
Derecelendirme
(15)
Projeler
29
38%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
6
21%
Çalışıyor
19
Geliştirici 19
Derecelendirme
(33)
Projeler
34
41%
Arabuluculuk
0
Süresi dolmuş
3
9%
Çalışıyor
20
Geliştirici 20
Derecelendirme
(24)
Projeler
32
38%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
5
16%
Çalışıyor
21
Geliştirici 21
Derecelendirme
(435)
Projeler
641
53%
Arabuluculuk
34
62% / 21%
Süresi dolmuş
6
1%
Çalışıyor
22
Geliştirici 22
Derecelendirme
(367)
Projeler
449
55%
Arabuluculuk
24
54% / 17%
Süresi dolmuş
30
7%
Meşgul
23
Geliştirici 23
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
24
Geliştirici 24
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 2 kod
25
Geliştirici 25
Derecelendirme
(52)
Projeler
64
39%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Çalışıyor
26
Geliştirici 26
Derecelendirme
(14)
Projeler
21
24%
Arabuluculuk
0
Süresi dolmuş
3
14%
Serbest
Yayınlandı: 3 kod
27
Geliştirici 27
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 5 kod
28
Geliştirici 28
Derecelendirme
(10)
Projeler
16
50%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
4
25%
Serbest
29
Geliştirici 29
Derecelendirme
(6)
Projeler
8
38%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
2
25%
Serbest
30
Geliştirici 30
Derecelendirme
(209)
Projeler
272
21%
Arabuluculuk
24
54% / 17%
Süresi dolmuş
0
Serbest
31
Geliştirici 31
Derecelendirme
(4)
Projeler
7
57%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
0
Serbest
32
Geliştirici 32
Derecelendirme
(31)
Projeler
38
53%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
3
8%
Serbest
33
Geliştirici 33
Derecelendirme
(515)
Projeler
554
53%
Arabuluculuk
13
69% / 15%
Süresi dolmuş
3
1%
Serbest
34
Geliştirici 34
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
35
Geliştirici 35
Derecelendirme
(4)
Projeler
8
0%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
4
50%
Serbest
36
Geliştirici 36
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
37
Geliştirici 37
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
38
Geliştirici 38
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 1 kod
39
Geliştirici 39
Derecelendirme
(87)
Projeler
121
68%
Arabuluculuk
5
80% / 0%
Süresi dolmuş
12
10%
Çalışıyor
40
Geliştirici 40
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
41
Geliştirici 41
Derecelendirme
(552)
Projeler
842
61%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
24
3%
Serbest
Yayınlandı: 1 kod
42
Geliştirici 42
Derecelendirme
(13)
Projeler
22
41%
Arabuluculuk
8
0% / 50%
Süresi dolmuş
3
14%
Serbest
43
Geliştirici 43
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
44
Geliştirici 44
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
45
Geliştirici 45
Derecelendirme
(54)
Projeler
102
23%
Arabuluculuk
12
25% / 17%
Süresi dolmuş
13
13%
Serbest
46
Geliştirici 46
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
47
Geliştirici 47
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
48
Geliştirici 48
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
49
Geliştirici 49
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
50
Geliştirici 50
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 2 kod
Benzer siparişler
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

Proje bilgisi

Bütçe
40 - 80 USD
Son teslim tarihi
from 2 to 5 gün

Müşteri

Verilmiş siparişler1
Arabuluculuk sayısı0