Develop an Expert Advisor (EA) for MetaTrader 5 (MT5) that makes trading decisions based on a combination of 9 technical indicators.

MQL5 Experts C++ Strategy modules

Tâche terminée

Temps d'exécution 2 jours
Commentaires du client
Ahmed wrote me a very complex EA. He is definitely a competent coder! Will use him again.
Commentaires de l'employé
Great guy and very friendly , thank you I hope we work again soon :)

Spécifications

### 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


Dossiers :

MQ5
2025.mq5
4.2 Kb

Répondu

1
Développeur 1
Évaluation
(22)
Projets
21
10%
Arbitrage
4
25% / 75%
En retard
0
Gratuit
2
Développeur 2
Évaluation
(111)
Projets
184
25%
Arbitrage
25
16% / 76%
En retard
16
9%
Gratuit
3
Développeur 3
Évaluation
(6)
Projets
8
0%
Arbitrage
8
13% / 88%
En retard
0
Gratuit
4
Développeur 4
Évaluation
(162)
Projets
210
61%
Arbitrage
10
80% / 0%
En retard
0
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(78)
Projets
248
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 2 articles, 1 code
6
Développeur 6
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
7
Développeur 7
Évaluation
(20)
Projets
28
29%
Arbitrage
2
0% / 50%
En retard
1
4%
Gratuit
8
Développeur 8
Évaluation
(106)
Projets
129
25%
Arbitrage
25
28% / 56%
En retard
8
6%
Gratuit
Commandes similaires
​​ Title: ​Create a Combined Indicator from 3 EX4 Indicators + Fully Automatic Trading EA (MT4) ​ Description: ​Hello, ​I need an experienced MQL4 developer to build a custom trading system based on 3 existing .ex4 indicators. ​ Project Requirements: ​ Combined Custom Indicator: ​Read and merge signals from 3 specified .ex4 indicators via buffer reading (iCustom). ​Generate a consolidated BUY or SELL arrow/signal
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
CyberShadow AI 30 - 300 USD
I want a bot that’s trades using smc strategy having stop loss and take profit.I want it to be able to trade with small account I want a disciplined robot but a strong one to I also what it to trade using trend line and locate point of interest
Elektra Trading Robot 100 - 200 USD
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
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
(I can't pay 30 for this of course if you can just help.me solve this problem I would appreciate you )It was doing everything perfectly until yesterday this happened this is a python file that copies from telegram Iand send to ea signal if you have any idea what to do or why this happened please tell me
PROJECT: BYBIT PUMP & DUMP EARLY DETECTION ENGINE Fixed Budget: USD $1,000 – Complete Project I am looking for an experienced quantitative trading developer to design, develop, validate and deliver a professional standalone Python 3.12 module for detecting early pump and dump movements on Bybit USDT perpetual futures. IMPORTANT: This is NOT an MT4/MT5 indicator, Expert Advisor or a request to build a complete trading
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
Exir AI 30 - 200 USD
I need an experienced MQL5 developer to build a custom AI-assisted Expert Advisor (EA) for MetaTrader 5. The EA will run on a live MT5 account with Tickmill and must support Forex and Crypto CFDs. Required instruments: - EURUSD - GBPUSD - USDJPY - XAUUSD - BTCUSD - ETHUSD Required timeframes: - M5, M15, and M30 Trading logic: - M30 determines the overall trend. - M15 identifies entry zones, support/resistance, and
Best trader robot 499 - 550 USD
Objective: Develop a robust and highly profitable Expert Advisor (EA) for MetaTrader based on a precise custom trading strategy to achieve a high win rate. ​ Instrument & Timeframe: XAUUSD (Gold), optimized for M5 / M15 timeframes. ​ Entry Strategy: Open Buy/Sell orders based on strict confirmation signals (e.g., Moving Average crossover combined with Price Action or RSI threshold). ​ Lot Size & Risk Management

Informations sur le projet

Budget
30+ USD
Délais
de 1 à 3 jour(s)