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.**
Benzer siparişler
Online Ordering System para sa Milk Tea Shop* *1. Layunin ng Project* Gumawa ng website at mobile app kung saan makaka-order ang mga customer ng milk tea online. Para hindi na pumila at para mas madali i-track yung mga orders. *2. Mga Kailangan / Features* - *Para sa Customer:* - Mag-register at mag-login gamit ang email at number - Makita ang menu na may picture, presyo, at description - Makapag-customize ng
I am looking for a highly experienced developer to build a professional, commercial-grade trading indicator for MT4/MT5. I am not looking for a basic indicator or a modified public script. I need a custom solution based on real market logic with high-quality coding standards. Requirements 100% Non-Repainting indicator. Accurate Entry signals. Automatic Stop Loss placement based on real market structure. Automatic
I need a custom MT5 Expert Advisor (MQL5) for XAUUSD. Strategy: 1. Trend Filter (H1) - EMA 20, EMA 50 and EMA 200. - Buy only when EMA20 > EMA50 > EMA200 and price is above EMA200. - Sell only when EMA20 < EMA50 < EMA200 and price is below EMA200. 2. Confirmation (M15) - M15 trend must confirm the H1 trend before taking any trade. 3. Entry (M5) - Wait for price to pull back to EMA20 only. - After touching EMA20, wait
I need a Trend following Bot. Here we took entries by looking at two indicator which are 200 period ema and 12 26 9 MacD. Rules for entry exit are: Buy trade: When market is above 200 ema and MacD Line cross over the signal line and this cross over happened below the zero line of MacD indicator. We simply put Buy trade. Sell trade: When market is below 200 ema and MacD line crosses below the signal line and this
I I would like to create a trading robot based on 2 ema crossing. The robot is pretty simple, it should open buy position when fast ema cross slow ema and vise versa. Also it should use martingale after the loss position. It should has expiration period inside the code and alerts l
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
MT5 Global Stop Loss & Take Profit Manager for Manual Trades I need an Expert Advisor (EA) for MetaTrader 5 that manages ONLY existing manual trades. GENERAL REQUIREMENTS - Works only on the current chart symbol (example: XAUUSD). - Supports Hedging accounts. - Detects all manually opened market positions. - Never opens trades automatically. - Never closes trades automatically. - Never places pending orders. - Never
I need a SnD EA. Prefer coder who has previous experience coding SnD EA. PO are based on (CHoCH or BoS) and 3EMA, order block (from my TradingView indicator), area based on Fibonacci. SL options are based on fix pips or zone size; CL is based on candle closing. TP1 and TP2 options are based on fix pips or fix ratio. Canceling PO is based on market structure or Fibonacci. Money management are based on fix volume or
Hi MQL5 Community, With over 10 years of live market experience as a Quantitative & Trading System Developer, I specialize in building robust, highly scalable Expert Advisors (EAs), custom indicators, and automated architectures. I’ve recently put together a comprehensive showcase demonstrating my flagship Modular Multi-Engine Architecture , designed to bring institutional-grade logic and real-time telemetry into
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB