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

Job finished

Execution time 2 days
Feedback from employee
Great guy and very friendly , thank you I hope we work again soon :)
Feedback from customer
Ahmed wrote me a very complex EA. He is definitely a competent coder! Will use him again.

Specification

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


Files:

MQ5
2025.mq5
4.2 Kb

Responded

1
Developer 1
Rating
(19)
Projects
18
11%
Arbitration
2
50% / 50%
Overdue
0
Free
2
Developer 2
Rating
(46)
Projects
65
14%
Arbitration
1
0% / 0%
Overdue
7
11%
Loaded
3
Developer 3
Rating
(4)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
0
Free
4
Developer 4
Rating
(84)
Projects
104
36%
Arbitration
8
88% / 0%
Overdue
0
Working
5
Developer 5
Rating
(55)
Projects
166
69%
Arbitration
4
100% / 0%
Overdue
1
1%
Free
6
Developer 6
Rating
(22)
Projects
27
11%
Arbitration
6
17% / 17%
Overdue
4
15%
Loaded
7
Developer 7
Rating
(16)
Projects
24
17%
Arbitration
2
0% / 50%
Overdue
1
4%
Free
8
Developer 8
Rating
(83)
Projects
103
24%
Arbitration
7
43% / 29%
Overdue
8
8%
Free
Similar orders
CGG Bands 60+ USD
I need you to create a mt4 indicator that will work exactly like the Dark Bands indicator. The dark bands indicator is located in the market in codebase and is free
Hello great developer here am looking for expert developer will convert convert this Trading View Code to Mt4 Indicator and this is a simple indicator i will be expecting your bid peace be unto you
Using Bollinger Band only. When price closes above upper BB, open Buy. If the length of the candle body that closed above the upper BB is more than Y pips, then do not Buy and remove the EA. Otherwise, continue to open Buy if crosses and close above upper BB and the number of positions is not more than Max No of Positions. The user will choose either Buy or Sell only. When price closes below the lower BB, close all
Hello freelancers here, I need an expert to help me with coding my script which is already working in pinescript, Moreover, i want a system whereby i can sell my trading bot and can give access with a license, I need an expert that can help me with this
hello great developer Can you make a high/low ticker tape on a table for 100 stock symbols? As a symbol makes a high or low throughout the day, it will appear on the table. i will be expecting great developer to bid for this project
Hello freelancers here, I need an expert to help me with coding my script which is already working in pinescript, Moreover, i want a system whereby i can sell my trading bot and can give access with a license, I need an expert that can help me with this, and my budget is $20, Thank you
Hello freelancers here, I need an expert freelancer to help me convert an expert advisor from MT4 to MT5. I have the MT4 source code, As for now i only got $15 for this project i don't have much on me at the moment, So i need someone who can work long terms cause i still have other projects i need him to work on for me
Hi, Do you have an indicator or expert and would like to protect and control it? What you will get protection and control Customer control panel The number of products is unlimited. You can add any number of your own experts and consultations You can give a trial period for your product, for example a week or a month, after which the customer subscribes Monthly, annually, or for life, depending on the customer’s
An EA based on Fibonacci 100 - 750 USD
I am in need of 3 EA based on Fibonacci re-tracement after a high or low is made,each EA will have a hedge trade on it.the hedge trade will be at the 50 percent of the Fibonacci..this will be present on all 3 EA, all three EA will have different levels of re-tracement, while the hedge trade will be a continuation (buy/sell stop), while the re-tracement trades will be (buy/sell limit)This EA must work on timeframe
//+------------------------------------------------------------------+ //| SimpleMAIndicator.mq5| //| Copyright 2024, MetaTrader 5 | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property indicator_separate_window #property indicator_buffers 1 #property indicator_color1 Blue input int InpPeriod = 14;

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
from 1 to 3 day(s)