Expert Advisor Developer - Divergence Trading System for MT4 with custom indicators

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 6 días
Comentario del Ejecutor
Deep personality and result check quality
Comentario del Cliente
Really good coder. He is very diligent and works hard to get it done succesfully. Will come back soon for more projects. Thank you

Tarea técnica


I need an experienced MQL4 developer to create a sophisticated multi-timeframe divergence trading EA based on an existing MQL4 code. The EA should implement a smart divergence detection system with trendline filtering and martingale functionality.

### **Core Trading Logic Requirements**

#### **1. DIVERGENCE SIGNAL DETECTION**
- **Multi-Timeframe Analysis**: M1, M5, M15 with help of the custom indicators
- **Signal Types**:
  - **Bullish Regular Divergence** 
  - **Bullish Hidden Divergence**  
  - **Bearish Regular Divergence**

  - **Bearish Hidden Divergence** 

Lot sizes for EACH divergence and EACH Timeframe:

M1 Bullish Regular Divergence Lotsize x.xx
M1 Bullish Hidden Divergence Lotsize x.xx
M1 Bearish Regular Divergence Lotsize x.xx

M1 Bearish Hidden Divergence Lotsize x.xx

the same for M5 and M15

Example:

M1 Bullish Regular Divergence 0.02

M1 Bullish Hidden Divergence 0.0

M5 Bullish Regular Divergence 0.04

M5 Bullish Hidden Divergence 0.02 and so on

Case 1:

Divergence M1 bullish regular signal comes: buy trade with 0.02 lots is placed, divergence M1 bullish hidden signal comes, no trade

Case 2:

Divergence M1 bullish hidden signal comes: no trade, divergence M5 buy regular signal comes, buy trade with 0.04 is placed


#### **2. TRENDLINE FILTERING (true(false)**
- **If trendline filter is set to true trades ONLY allowed when price is:
  - **Below Lower Trendline** for BUY signals
  - **Above Upper Trendline** for SELL signals
- **If trendline filter is set to false, all trades allowed according to the indicators signals

#### **3. MARTINGALE SYSTEM**
- **Levels**: Configurable additional trades for sell and buy separately (1 initial + X martingale levels)
- **Distance, 2 options**: Fixed pip distance from last trade alone OR entries at signals of indicators AND pip distance 
- **Lot Increase**: Percentage-based lot size increase per level
- **Max Levels**: Strict limit on total trades per direction

#### **4. RISK MANAGEMENT**
- **Position Limits**:
  - Max total open trades
  - Max long trades
  - Max short trades
- **Stop Loss & Take Profit**: Fixed pip distances
- **Trailing Stop**: Activated after specified profit in pips
- **Spread Filter**: Maximum allowed spread

### **Technical Specifications**

#### **INDICATOR INTEGRATION**
- **Custom Indicators provided by the client**:
  - "Divergence 3fold Lux 2fold LOOKBACK" (M1)
  - "Divergence 3fold Lux 2fold M5 LOOKBACK" (M5) 

  - "Divergence 3fold Lux 2fold M15 LOOKBACK" (M15)

They have parameters (Lookback_Period, IFX_HMA_period and Divergence_pivots_period (M15: Divergence_M15_pivots_period)) which need to be represented 

in the EA aswell.


#### **TRADING CONDITIONS**
- **Time Filter**: Specific trading hours (configurable)
- **Bar Delay**: Minimum bars between new normal trades
- **Lot Sizes**: Separate configuration for each signal type/timeframe
- **Magic Number**: Unique identifier for EA orders

### **Key Behavioral Rules**

#### **NORMAL TRADING**
- Only ONE normal trade opened at a time
- Strict trendline enforcement when enabled

#### **MARTINGALE BEHAVIOR**
- Martingale ONLY activates when normal trade running
- Additional entries at fixed distance from last trade
- Progressive lot size increase

- Strict level limits

#### **TRADE COMMENTS**
. Trades receive comments including name of EA and direction and with trendline/without trendline for initial trades and for martingale trades name of EA and direction and martingale


### **Development Deliverables**
1. **Complete MQL4 EA** with all specified functionality
2. **Proper error handling** and logging
3. **Parameter optimization** capabilities  
4. **Backtesting compatibility**
5. **Clean, commented code**

### **Required Skills**
- Advanced MQL4 programming
- Experience with custom indicators integration
- Martingale/position averaging systems
- Trendline object handling
- Multi-timeframe analysis

### **Additional Notes**
- Code must be efficient for real-time trading
- Proper order management and modification
- Comprehensive print logging for debugging
- All parameters externally configurable

**Please provide examples of similar EAs you've developed and your estimated timeline for this project.**

Han respondido

1
Desarrollador 1
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
1
Desarrollador 1
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
1
Desarrollador 1
Evaluación
(64)
Proyectos
144
46%
Arbitraje
19
42% / 16%
Caducado
32
22%
Libre
1
Desarrollador 1
Evaluación
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
2
Desarrollador 2
Evaluación
(1)
Proyectos
0
0%
Arbitraje
3
0% / 33%
Caducado
0
Libre
Ha publicado: 2 ejemplos
2
Desarrollador 2
Evaluación
(40)
Proyectos
47
28%
Arbitraje
14
21% / 64%
Caducado
1
2%
Ocupado
3
Desarrollador 3
Evaluación
(141)
Proyectos
150
41%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabajando
3
Desarrollador 3
Evaluación
(627)
Proyectos
989
47%
Arbitraje
33
36% / 36%
Caducado
98
10%
Trabaja
Ha publicado: 6 ejemplos
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(16)
Proyectos
20
10%
Arbitraje
8
38% / 38%
Caducado
3
15%
Trabaja
5
Desarrollador 5
Evaluación
(28)
Proyectos
31
45%
Arbitraje
1
100% / 0%
Caducado
3
10%
Libre
5
Desarrollador 5
Evaluación
(3)
Proyectos
1
100%
Arbitraje
3
0% / 100%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(258)
Proyectos
396
28%
Arbitraje
69
19% / 49%
Caducado
121
31%
Libre
7
Desarrollador 7
Evaluación
(12)
Proyectos
9
33%
Arbitraje
11
0% / 100%
Caducado
2
22%
Libre
8
Desarrollador 8
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(2)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(25)
Proyectos
29
21%
Arbitraje
20
10% / 50%
Caducado
8
28%
Trabaja
11
Desarrollador 11
Evaluación
(77)
Proyectos
243
74%
Arbitraje
7
100% / 0%
Caducado
1
0%
Libre
Ha publicado: 1 artículo
12
Desarrollador 12
Evaluación
(10)
Proyectos
14
43%
Arbitraje
0
Caducado
3
21%
Libre
13
Desarrollador 13
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(296)
Proyectos
475
40%
Arbitraje
105
40% / 24%
Caducado
80
17%
Ocupado
Ha publicado: 2 ejemplos
Solicitudes similares
Nyasco 30+ USD
Faster robot with less losses which can be used for a long term earning money every day creating a bot for more than thousands of people to earn billions of money
https://www.mql5.com/en/market/product/169999?source=Site +Profile+Seller Hello, I am currently working with an automated trading robot (EA) and I am looking for a professional MQL5 developer to help optimize and improve its performance. The EA is already functional, but I want to enhance: - Entry and exit logic - Risk management and lot sizing - Drawdown control - Overall stability and performance I need someone
Max amount grid 30+ USD
max amount grid step for magic number do keep deleting .only when it is in negative floating .but when it is profit allow to go over the max and replays to grid step
Apply with a screen of your work . Symbol Specific Logic . Live Chart Optimization Check the Core logic . [back tests as well] Change points to pips . Create buffer for the zone
I will pay 3000+ USD (negotiable) for an EA for existing MT5 that generates a minimum of 15-20% or higher a month consistently (provide source code after final deal) Looking for a highly profitable EA Please send demo version directly subject (Buying profitable EA Budget up to $ 3000 USD), past results and optimal settings so I can test, if it performs in a strategy tester i will also need option to forward test it
EA fx 30+ USD
Hello, I need an already developed EA similar to the one trading XAUUSD, with consistent entries and good risk management. Before we proceed, I would like to verify its performance. Please provide a live or demo account login along with the investor (read-only) password so I can monitor the trading results. I am looking for stable performance, controlled drawdown, and consistent profit on gold (XAUUSD). Once I
The strategy records the highest and lowest prices within a specified duration (default 15 minutes) after the New York market opens, forming the opening range. Post-Formation Breakout: When the price breaks above or below the opening range after its formation, it may indicate the direction of the day’s price movement. Trend Confirmation: The strategy uses two EMAs (default 20-period and 50-period) as trend filters to
Tengo una estrategia basada en divergencia para el oro sobre todo en tf m1 Basado en divergencia con stoch .. confirmando la entrada con ciertos parameteos de entrada Es mejor conversarlo para dar mejor los detalles Cuando entrar, porque o todas las divergencias se debe tomar para entrar en compras o ventas He adjuntado un ejemplo La confrmacion más exacta es el cruce de esos parámetros de stoch edebajo de level de
BUY ALERT 1. Supertrend turns Bullish 2. On this candle , or during the last time Supertrend was Bearish, price was < or = MA1 3. On this candle , or during the last time Supertrend was Bearish , BBStops is Bearish 4. STEP MA1 and STEP MA 2 are both Bullish SELL ALERT 1. Supertrend turns Bearish 2. On this candle , or during the last time Supertrend was Bullish, price was

Información sobre el proyecto

Presupuesto
30 - 40 USD
Plazo límite de ejecución
de 2 a 5 día(s)