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

Trabajo finalizado

Plazo de ejecución 2 días
Comentario del Ejecutor
Great guy and very friendly , thank you I hope we work again soon :)
Comentario del Cliente
Ahmed wrote me a very complex EA. He is definitely a competent coder! Will use him again.

Tarea técnica

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


Archivos adjuntos:

MQ5
2025.mq5
4.2 Kb

Han respondido

1
Desarrollador 1
Evaluación
(20)
Proyectos
19
11%
Arbitraje
2
50% / 50%
Caducado
0
Trabaja
2
Desarrollador 2
Evaluación
(49)
Proyectos
70
16%
Arbitraje
2
50% / 0%
Caducado
7
10%
Trabaja
3
Desarrollador 3
Evaluación
(4)
Proyectos
6
0%
Arbitraje
4
25% / 75%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(91)
Proyectos
112
37%
Arbitraje
8
88% / 0%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(58)
Proyectos
177
71%
Arbitraje
4
100% / 0%
Caducado
1
1%
Libre
6
Desarrollador 6
Evaluación
(22)
Proyectos
28
11%
Arbitraje
6
33% / 50%
Caducado
4
14%
Trabaja
7
Desarrollador 7
Evaluación
(16)
Proyectos
24
17%
Arbitraje
2
0% / 50%
Caducado
1
4%
Libre
8
Desarrollador 8
Evaluación
(87)
Proyectos
107
24%
Arbitraje
8
38% / 25%
Caducado
8
7%
Trabaja
Solicitudes similares
Wedging MT4 and MT5 hedging locker expert advisors that hedge existing trades either with pending or market order hedging trades. With pending hedge trades the entry price may optionally be made to trail the existing open orders. There should be option for a breakeven and trailing of the hedge trade’s stop
I’m looking for a developer that has understanding of scalping and HFT strategies that can make an algo that works for all brokers and prop firm LIVE accounts (like STP, ECN, DMA, Money Makers, NDD, Fast Server etc.,). I want someone that has understanding and insight in different scalping and HFT strategies, preferably something like momentum based strategies. The EA has to work on all Brokers and Prop firms like
I'm looking for professional developer for my project.I'm having indicators source code , i want to convert it into MT4 EA .it is having some basic inputs such as lot size,TP,SL,B.E,trailing,News filter features along with some special inputs.detailed strategy will be discussed in chat room.i prefer Indian developers who speaks hindi
The strategy uses a grid trading system where trades are placed at set intervals (grid levels) and are managed using Bollinger Bands for entry and exit signals. A fixed lot size, trades are managed to comply with maximum spread conditions and specific trading hours, with the possibility of closing trades based on Bollinger Bands signals. The use of Bollinger Bands indicates a focus on volatility-based trading, while
Hi, i have a tos script i need converted to Ninja script, but someone who knows both coding. Cant be someone who is just going to paste into chat gpt, it requires more understanding for compatibility
I need MT4 and MT5 hedging locker expert advisors that hedge existing trades either with pending or market order hedging trades. With pending hedge trades the entry price may optionally be made to trail the existing open orders. There should be option for a breakeven and trailing of the hedge trade’s stop
I believe in Robotics as a major artificial intellect to function of growth of business.Therefore if you script there is a likelihood of bringing economies of scale.The retrospective of the dynamics of indulgence of work can be economics of scale
Just profitable Ea. 30 - 100 USD
Hello, I am looking for a good scalper that can operate on a single chart with multi-currency pairs, including gold and indices( MT4). It should support all brokers, leverage, and be capable of trading with a small deposit with SL and TP.It's important that the robot does not use risky strategies and, most importantly, is profitable. Hello, The main criteria for me are: • Fast execution: The robot should be able to
MT4 INDICATOR 30 - 35 USD
Looking for a proven MT4 indicator that is highly consistent and profitable preferably that you have developed and are able to share with me. If you have some indicator that is valuable for making consistent profit please bid and show me trading history from using it in your MT4 account. Thanks
I need a EA to open 2 trades 1. one trade with a SL and a TP 2. one trade with a SL no TP if the 1st trade takes TP the 2nd trade SL needs to move on break even and trail the trade thereafter. will need the lot size Number of trades

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
de 1 a 3 día(s)