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.**
類似した注文
Freelance Task — EA Recovery Layer Hello. I have a ready-made MQL5 EA. The signals, SL/TP and lot calculation should essentially not be touched. I need a recovery system added. I am not a programmer — below is how the robot should behave. What stays Entry only from an EA signal. Stop-loss is not a new signal. Trailing is already built into my EA — recovery does not implement its own trailing. If trailing is disabled
//+------------------------------------------------------------------+ //| synthetic tick generator based on two assets | //+------------------------------------------------------------------+ class CSyntheticTickGenerator { private : string symbol_a; string symbol_b; string synth_name; double ratio; double last_price_a; double
# SNRZ BOT — SESSION PROGRESS LOG Last updated: 2026-09-16 (local late-evening session) ## SAN BOT (new — cloned from SNRZ) - `MQL5\Experts\AutomatedOrderBot_SAN.mq5` / `.ex5` — v1.0, compiled 0 errors/0 warnings - Signal source: custom indicator "SAN" (InpSANName, buy buf 0 / sell buf 1, target bar 1), same SNRZ-style read, MA fallback if missing - Magic number 234567 (separate from SNRZ 123456 so both bots can run
Multi-Asset EA (XAUUSD / FRA40) with Time Filters, High-Impact News Avoidance, Advanced Risk/Lot Sizing, and H1 Breakout Strategy 1. RISK SETTINGS * Max Daily Loss Limit: (bool) Toggle true/false. If true, input double for max loss in currency (e.g., $500). If hit, close all positions and stop trading until next day. * Lot Sizing Mode: Dropdown menu: 1. Fixed Lots (e.g. 0.10); 2. Percentage Risk (%) based on Account
Subject: Looking for an Experienced MQL Developer for Long-Term Collaboration (Mechanical Strategy) Hello everyone, I am reposting my request from last year. Due to work commitments, I couldn't dedicate time to this project back then, but now I am fully ready to move forward. I am looking for a highly experienced, verified MQL4/MQL5 programmer to automate my trading strategy. About the project: Rule-based &
Should be as it but no alarms, also we need to add a deep search so he can see all the preves candles and a memory function so its not slowing down the indicator. for higher time frames daily 4h 1h around 365 days and for lower time frames we do up to 20k bars but both flexible so i can change it later. the memory is important so the indicator is not always recalculating everything when a new candle shows especially
Creating a bot using the Parabolic indicator with a simple interface.. I want a bot that uses the Parabolic SAR indicator only, with these orders attached to it. Boot name : HEMIN .FX Magic number : 000000 …………………………………………………. Trade behavior : regular OR inverse OR only long "buy" OR only short "sell" Timeframe : ………… Period: ……… ………………………………………………….. Lot size : ……………… Break even in points : …
I am looking for an experienced MQL5 EA developer to develop an MT5 EA by the observable trading behaviour from a supplied live XAUUSD trade history . The EA appears to use a simple grid/recovery/hedging strategy with alternating BUY/SELL positions and progressive lot sizes. I need the developer to Develop the EA for MT5 / XAUUSD . Reproduce the observed entry, grid/add-on, recovery/hedging, lot progression and
Project: Fix & Schedule My Dual Fibo Standard Fibonacci Bot I have an existing MQ4 expert advisor called "Dual Fibo Standard Fibonacci". It needs to process 1,000 clients. Right now it runs blindly with no schedule and takes way too long. I need you to optimize it so it runs like a professional business with a 50-100 batch printed stamp copy progress log. Please reply with your numbers for this simple layout: * Phase
Yes. This screen is asking you to write the Requirements Specification for your Gold/XAUUSD trading robot. Since you want your DEEPTHINK X10 institutional-style MT5 system , use this ready-to-paste specification: DEEPTHINK X10 GOLD ROBOT – MT5 EXPERT ADVISOR REQUIREMENTS Develop an advanced MetaTrader 5 Expert Advisor (EA) for XAUUSD (Gold) scalping based on a multi-factor DEEPTHINK X10 trading framework. 1. MARKET -