Simple MT5 Candle Direction Reversal EA

MQL5 Experts

Spécifications

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


Répondu

1
Développeur 1
Évaluation
(280)
Projets
351
29%
Arbitrage
37
27% / 65%
En retard
10
3%
Chargé
2
Développeur 2
Évaluation
(618)
Projets
721
33%
Arbitrage
46
48% / 41%
En retard
14
2%
Chargé
3
Développeur 3
Évaluation
(17)
Projets
21
19%
Arbitrage
5
40% / 40%
En retard
0
Gratuit
4
Développeur 4
Évaluation
(7)
Projets
10
30%
Arbitrage
0
En retard
1
10%
Chargé
5
Développeur 5
Évaluation
(177)
Projets
189
47%
Arbitrage
3
33% / 33%
En retard
1
1%
Chargé
6
Développeur 6
Évaluation
(397)
Projets
513
23%
Arbitrage
60
57% / 25%
En retard
60
12%
Chargé
7
Développeur 7
Évaluation
(75)
Projets
111
50%
Arbitrage
26
31% / 50%
En retard
9
8%
Gratuit
Publié : 1 article
8
Développeur 8
Évaluation
(33)
Projets
38
21%
Arbitrage
5
0% / 60%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(22)
Projets
28
7%
Arbitrage
9
33% / 33%
En retard
1
4%
Travail
10
Développeur 10
Évaluation
(70)
Projets
88
58%
Arbitrage
6
67% / 17%
En retard
2
2%
Chargé
11
Développeur 11
Évaluation
(9)
Projets
10
10%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
13
Développeur 13
Évaluation
(636)
Projets
1007
47%
Arbitrage
33
36% / 36%
En retard
99
10%
Travail
Publié : 6 codes
14
Développeur 14
Évaluation
(8)
Projets
10
30%
Arbitrage
1
0% / 0%
En retard
2
20%
Chargé
Publié : 1 code
15
Développeur 15
Évaluation
(20)
Projets
26
38%
Arbitrage
6
33% / 50%
En retard
0
Gratuit
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
(8)
Projets
8
0%
Arbitrage
2
50% / 0%
En retard
1
13%
Travail
18
Développeur 18
Évaluation
(15)
Projets
29
38%
Arbitrage
3
33% / 67%
En retard
6
21%
Travail
19
Développeur 19
Évaluation
(33)
Projets
34
41%
Arbitrage
0
En retard
3
9%
Travail
20
Développeur 20
Évaluation
(24)
Projets
32
38%
Arbitrage
4
50% / 25%
En retard
5
16%
Travail
21
Développeur 21
Évaluation
(435)
Projets
641
53%
Arbitrage
34
62% / 21%
En retard
6
1%
Travail
22
Développeur 22
Évaluation
(367)
Projets
449
55%
Arbitrage
24
54% / 17%
En retard
30
7%
Occupé
23
Développeur 23
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
24
Développeur 24
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 2 codes
25
Développeur 25
Évaluation
(52)
Projets
64
39%
Arbitrage
15
27% / 60%
En retard
1
2%
Travail
26
Développeur 26
Évaluation
(14)
Projets
21
24%
Arbitrage
0
En retard
3
14%
Gratuit
Publié : 3 codes
27
Développeur 27
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 5 codes
28
Développeur 28
Évaluation
(10)
Projets
16
50%
Arbitrage
1
100% / 0%
En retard
4
25%
Gratuit
29
Développeur 29
Évaluation
(6)
Projets
8
38%
Arbitrage
1
100% / 0%
En retard
2
25%
Gratuit
30
Développeur 30
Évaluation
(209)
Projets
272
21%
Arbitrage
24
54% / 17%
En retard
0
Gratuit
31
Développeur 31
Évaluation
(4)
Projets
7
57%
Arbitrage
1
100% / 0%
En retard
0
Gratuit
32
Développeur 32
Évaluation
(31)
Projets
38
53%
Arbitrage
2
50% / 50%
En retard
3
8%
Gratuit
33
Développeur 33
Évaluation
(515)
Projets
554
53%
Arbitrage
13
69% / 15%
En retard
3
1%
Gratuit
34
Développeur 34
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
35
Développeur 35
Évaluation
(4)
Projets
8
0%
Arbitrage
3
33% / 67%
En retard
4
50%
Gratuit
36
Développeur 36
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
37
Développeur 37
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
38
Développeur 38
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 1 code
39
Développeur 39
Évaluation
(87)
Projets
121
68%
Arbitrage
5
80% / 0%
En retard
12
10%
Travail
40
Développeur 40
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
41
Développeur 41
Évaluation
(552)
Projets
842
61%
Arbitrage
33
27% / 45%
En retard
24
3%
Gratuit
Publié : 1 code
42
Développeur 42
Évaluation
(13)
Projets
22
41%
Arbitrage
8
0% / 50%
En retard
3
14%
Gratuit
43
Développeur 43
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
44
Développeur 44
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
45
Développeur 45
Évaluation
(54)
Projets
102
23%
Arbitrage
12
25% / 17%
En retard
13
13%
Gratuit
46
Développeur 46
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
47
Développeur 47
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
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
Hi All, Looking for a ready to TEST and USE EA which makes $20 per day with initial deposit of $200 only with controlled drawdown and no trades during news time. Please note: Budget is fixed and no trial and hit error for testing and developing EA as I do not have time. I will select the developer only after the TEST is successful only, do not force to select and make the payment and payment will be done once I am
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I need to build one from scratch . Experience with Sierra Chart, ACSIL
This is SCAMMER! Need Good Programmer to UPDATE Current Expert Advisor To Use VirtualPendingOrders and UPDATE UI Dashboard 7 minutes ago MQL4 Experts Specification EN Good working version of an expert advisor needs update in the SOURCE CODE implement VirtualPendingOrders and UPDATE UI Dashboard. I will upload the Source code and approach to VirtualPendingOrders for selected programmer to update expert advisor

Informations sur le projet

Budget
40 - 80 USD
Délais
de 2 à 5 jour(s)

Client

Commandes passées1
Nombre d'arbitrages0