### EA Development Brief
**Objective**: Develop an Expert Advisor (EA) for MetaTrader 5 (MT5) that makes trading decisions based on a combination of 9 technical indicators. The EA should execute trades based on a majority rule, manage risk through specified conditions, and adjust lot sizes under certain conditions.
### Indicators and Voting System
The EA will use the following indicators, each contributing one vote towards a buy or sell decision:
1. **Stochastic Oscillator**: Generates a buy vote if %K crosses above %D from below 20, and a sell vote if %K crosses below %D from above 80.
2. **DeMarker**: Buy vote for values below 0.3, and sell vote for values above 0.7.
3. **Williams Percent Range (WPR)**: Buy vote for values below -80, and sell vote for values above -20.
4. **MACD**: Buy vote when the MACD line crosses above the signal line, and a sell vote when it crosses below.
5. **Bollinger Bands**: Buy vote if the price touches or closes below the lower band, and a sell vote if it touches or closes above the upper band.
6. **RSI**: Buy vote for values below 30, and sell vote for values above 70.
7. **Moving Average**: Buy vote if the price is above the moving average, indicating an uptrend; sell vote if below, indicating a downtrend.
8. **ATR**: Buy vote if the current ATR is higher than the previous period’s ATR (indicating increasing volatility); sell vote if lower (indicating decreasing volatility).
9. **ADX**: Buy vote if the ADX is rising (indicating strengthening trend); sell vote if falling (indicating weakening trend).
### Majority Rule and Trade Execution
- A trade is executed when at least 7 out of 9 indicators agree on the direction (buy or sell).
- The EA should limit the number of concurrent open trades to a maximum of 3 to manage risk.
- For subsequent trades in the same direction on every 5th candle after an initial trade, the lot size should increase by 1.25x, subject to the maximum open trades constraint.
- The EA should implement a safeguard to prevent indefinite lot size increase. After 3 consecutive increases, reset to the base lot size or cap the lot size.
### Risk Management
- Define specific Stop Loss (SL) and Take Profit (TP) levels in pips according to the risk/reward strategy.
- Implement a trailing stop that activates once a trade is in profit by a predefined amount (e.g., 20 pips).
### Exit Strategy
- The EA exits a trade when SL/TP levels are hit or when the trailing stop is activated. Or if candle closes in a profit considering all the positions. meaning 1 can be in a minus the one on break even and the other in a profit. as long as the total of the three trades are in a positive.
### Additional Requirements
- The EA should be thoroughly backtested across different market conditions and timeframes to ensure effectiveness.
- Include parameters in the EA settings to allow easy adjustment of indicator thresholds, SL/TP levels, and other relevant variables.
### Development Notes
- Please comment your code extensively, explaining the logic behind each function and decision point.
- Ensure the EA complies with MT5 standards and practices for stability and efficiency.
- Prioritize clean, readable, and modular code to facilitate future updates or modifications.
- I want the source code please
Ordini simili
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
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
I need an EA for MetaTrader 5 called AI Forex Robot V100. It must trade automatically on EURUSD and GBPUSD, M15 timeframe. Strategy: - Buy when fast EMA crosses above slow EMA and RSI is above 50 - Sell when fast EMA crosses below slow EMA and RSI is below 50 - Only 1 trade at a time - Stop Loss: 50 pips, Take Profit: 100 pips - Lot size: 0.01, with option to change in settings - Must have trailing stop and news
PROJECT: EXISTING MT5 EA MODIFICATION – XAUUSD SLIPPAGE REDUCTION 1. Project Objective I already have a fully developed MT5 Expert Advisor (.mq5 source code). I am looking for an experienced MQL5 developer who can optimize my existing EA to achieve the lowest possible execution slippage on a REAL LIVE trading account. My primary and only objective is to zero slippage. I am not looking for a new trading strategy or
Elektra Trading Robot is an automated Forex trading system designed to analyze market conditions execute trades according to predefined trading strategies. It aims to identify potential trading opportunities, manage trading positions, and apply risk management rules to help protect trading capital. The robot is designed for real-account trading and focuses on consistency, disciplined execution, and efficient trade
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
#property strict #property version "1.00" #property description "EMA Trend + Pullback + Engulfing EA" // Include the standard MT5 trade library. #include <Trade/Trade.mqh> CTrade trade; //============================================================== // INPUT SETTINGS //============================================================== // Trend indicators input int FastEMA = 20; input int SlowEMA = 50; // Pullback
Platform: MT5 only (no MT4 needed). Deliverable: an MT5 Expert Advisor with full source code (.mq5) that replicates the attached TradingView strategy (Pine Script v6, based on LuxAlgo's "ICT Killzones Toolkit" order blocks) as exactly as possible. Pasting the code into TradingView shows how it operates. I normally trade GBPUSD on the 5-minute chart Expected behavior: - Order block detection must match the Pine code
I have an existing compiled MetaTrader 5 Expert Advisor (EX5) designed for automated XAUUSD scalping. I want an experienced developer to assess and implement a solution to execute the EA’s original trading strategy through my broker’s FIX API. Requirements: Confirm the technical feasibility of connecting an existing MT5 EA to a broker FIX API. Explain how to obtain FIX API access and credentials from the broker