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.**
相似订单
Hi I'm looking for this EA or Similar EA with optimizated set file. This bot is an automated trading robot, operating 24/7, and capable of trading all currency pairs. Compatible with all brokers. Features: Analysis of price action charts, trends, and support and resistance levels on any timeframe. The bot integrates stop-loss (SL), stop-loss (TP), and trailing stop-loss (SL) orders. Works on MT5 getshared . c o m
I wish to create 2 different Tradingview strategies to MT5 ea-s! Anyone? One is based on Heiken Ashi...the other based on different combination of my strategy. It is for 1 minute charts
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
**IMPORTANT: PLEASE DISREGARD THE PREVIOUS SPECIFICATION TITLED "FULL TRADING PLATFORM – APPLICATION FLOW REQUIREMENTS."** I no longer need the complete trading platform outlined in my previous **"FULL TRADING PLATFORM – APPLICATION FLOW REQUIREMENTS"** specification. Originally, I considered building a complete trading platform with educational materials, training systems, user accounts, subscription features
I have indicators on my Trading view which will create zones automatically on H4 Candle confirmation. I am getting an alert also that specific zone is created. I want them to shift in automated trading like once zone is created, limits should be place automatically on basis of that zone with given lot size, number of layers and with TP and SL. I have checked on AI to convert this in auto but they need zone in numbers
I am looking for an experienced MQL5 developer to recreate my existing MT5 Expert Advisor (DSTR Novaa). I have the original compiled EX5 file, Vantage MT5 live trading history and original Strategy Tester report. Required Trading Logic: EMA Period: 3. BUY when price crosses below EMA 3. SELL when price crosses above EMA 3. Starting Lot: 0.01 (configurable). Martingale Multiplier: 2.0. Maximum Martingale Cycle: 9
I wish to say I wanna go rich and clever in everything I do and trusting the Lord and working hard will boost me up and making me the best person
I need an ready-made MT5 profitable EA for Gold. 5/7% daily I need. Before applying please make sure you have one with proven ROI, Drawdown and Live performace result. I will Pay $500 for it but I need as I want. Must needs to supply Source code if I like it. Before I purchase I will test 7 days on my live account. If It's okay then apply othersie please pass this project. Hope you will respect the time for both of
I need a EA to test many EAS all in one to see the results For back testing I've got the EA I want to see the combined EAS what is the results
Hello, I need a high-quality, reliable, and well-coded Expert Advisor (EA) for MetaTrader 5. The code must be clean, without errors, and optimized for safe trading. The robot needs to trade based on basic technical indicators. Every trade must have a strict Stop Loss and Take Profit for risk management. Please apply only if you are an experienced MT5 developer with a high rating and clean coding history. Best