Simple MT5 Candle Direction Reversal EA

MQL5 Uzmanlar

İş tamamlandı

Tamamlanma süresi: 7 gün
Müşteri tarafından geri bildirim
Did a great job! Very knowledgable and efficient.
Geliştirici tarafından geri bildirim
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.

Ş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
(293)
Projeler
366
30%
Arabuluculuk
37
27% / 65%
Süresi dolmuş
10
3%
Çalışıyor
Yayınlandı: 10 kod
2
Geliştirici 2
Derecelendirme
(634)
Projeler
741
34%
Arabuluculuk
49
53% / 39%
Süresi dolmuş
14
2%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(17)
Projeler
21
19%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(13)
Projeler
21
38%
Arabuluculuk
0
Süresi dolmuş
1
5%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(185)
Projeler
199
47%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
1
1%
Çalışıyor
6
Geliştirici 6
Derecelendirme
(402)
Projeler
520
24%
Arabuluculuk
61
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ı: 2 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
(79)
Projeler
106
56%
Arabuluculuk
5
80% / 20%
Süresi dolmuş
5
5%
Çalışıyor
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
1008
47%
Arabuluculuk
33
36% / 36%
Süresi dolmuş
99
10%
Çalışıyor
Yayınlandı: 6 kod
14
Geliştirici 14
Derecelendirme
(10)
Projeler
12
33%
Arabuluculuk
0
Süresi dolmuş
2
17%
Çalışıyor
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
(16)
Projeler
30
40%
Arabuluculuk
3
33% / 67%
Süresi dolmuş
7
23%
Çalışıyor
19
Geliştirici 19
Derecelendirme
(34)
Projeler
35
40%
Arabuluculuk
0
Süresi dolmuş
3
9%
Serbest
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
(438)
Projeler
649
53%
Arabuluculuk
35
63% / 20%
Süresi dolmuş
7
1%
Çalışıyor
22
Geliştirici 22
Derecelendirme
(369)
Projeler
459
55%
Arabuluculuk
24
58% / 17%
Süresi dolmuş
31
7%
Çalışıyor
23
Geliştirici 23
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
24
Geliştirici 24
Derecelendirme
(3)
Projeler
4
100%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 2 kod
25
Geliştirici 25
Derecelendirme
(54)
Projeler
68
43%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
1%
Çalışıyor
26
Geliştirici 26
Derecelendirme
(14)
Projeler
21
24%
Arabuluculuk
0
Süresi dolmuş
2
10%
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
(11)
Projeler
16
50%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
4
25%
Serbest
29
Geliştirici 29
Derecelendirme
(6)
Projeler
8
38%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
2
25%
Serbest
30
Geliştirici 30
Derecelendirme
(215)
Projeler
280
21%
Arabuluculuk
27
56% / 15%
Süresi dolmuş
0
Yüklendi
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
Yayınlandı: 1 kod
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
(560)
Projeler
855
61%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
24
3%
Çalışıyor
Yayınlandı: 1 kod
42
Geliştirici 42
Derecelendirme
(13)
Projeler
23
39%
Arabuluculuk
8
0% / 50%
Süresi dolmuş
4
17%
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
(1)
Projeler
2
50%
Arabuluculuk
0
Süresi dolmuş
1
50%
Çalışıyor
50
Geliştirici 50
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 2 kod
51
Geliştirici 51
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
52
Geliştirici 52
Derecelendirme
(64)
Projeler
145
46%
Arabuluculuk
21
38% / 24%
Süresi dolmuş
32
22%
Serbest
53
Geliştirici 53
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
54
Geliştirici 54
Derecelendirme
(264)
Projeler
311
75%
Arabuluculuk
16
69% / 0%
Süresi dolmuş
6
2%
Çalışıyor
55
Geliştirici 55
Derecelendirme
(6)
Projeler
7
71%
Arabuluculuk
0
Süresi dolmuş
0
Çalışıyor
Yayınlandı: 1 makale, 2 kod
56
Geliştirici 56
Derecelendirme
(170)
Projeler
265
62%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
10
4%
Serbest
57
Geliştirici 57
Derecelendirme
(52)
Projeler
58
59%
Arabuluculuk
4
0% / 25%
Süresi dolmuş
1
2%
Serbest
58
Geliştirici 58
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
59
Geliştirici 59
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 2 kod
60
Geliştirici 60
Derecelendirme
(10)
Projeler
14
43%
Arabuluculuk
0
Süresi dolmuş
3
21%
Serbest
61
Geliştirici 61
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
62
Geliştirici 62
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
63
Geliştirici 63
Derecelendirme
(2)
Projeler
2
50%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
64
Geliştirici 64
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 11 kod
65
Geliştirici 65
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Yayınlandı: 4 kod
66
Geliştirici 66
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
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

Proje bilgisi

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