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

Работа завершена

Время выполнения 2 дня
Отзыв от исполнителя
Great guy and very friendly , thank you I hope we work again soon :)
Отзыв от заказчика
Ahmed wrote me a very complex EA. He is definitely a competent coder! Will use him again.

Техническое задание

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


Файлы:

MQ5
2025.mq5
4.2 Kb

Откликнулись

1
Разработчик 1
Оценка
(20)
Проекты
19
11%
Арбитраж
2
50% / 50%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(54)
Проекты
77
14%
Арбитраж
3
33% / 33%
Просрочено
7
9%
Загружен
3
Разработчик 3
Оценка
(4)
Проекты
6
0%
Арбитраж
4
25% / 75%
Просрочено
0
Свободен
4
Разработчик 4
Оценка
(95)
Проекты
117
38%
Арбитраж
9
89% / 0%
Просрочено
0
Свободен
5
Разработчик 5
Оценка
(61)
Проекты
188
73%
Арбитраж
4
100% / 0%
Просрочено
1
1%
Свободен
6
Разработчик 6
Оценка
(24)
Проекты
32
16%
Арбитраж
7
29% / 43%
Просрочено
4
13%
Работает
7
Разработчик 7
Оценка
(16)
Проекты
24
17%
Арбитраж
2
0% / 50%
Просрочено
1
4%
Работает
8
Разработчик 8
Оценка
(88)
Проекты
111
24%
Арбитраж
10
50% / 20%
Просрочено
8
7%
Работает
Похожие заказы
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
Hello, I have a physically trading keyboard and i want to connect it with tradelocker, mt4,mt5 and ctrader. People need to be able to open and close a position with the keyboard really fast. i need it on macos, windows and linux. (desktop) My competition is: www.magickeys.trade My goal is to be the number 1 to sell the keyboards + software. When people order a tradingkeyboard they will get a mail after the purchase
Job Title: Expert Advisor (EA) Developer for Forex Trading Job Description: I am seeking an experienced Expert Advisor (EA) developer to create a customized trading bot for the MetaTrader 4/5 platform. The bot will be designed to execute a sophisticated trading strategy that incorporates daily range calculations, cost averaging, and hedging with precise pip management. The successful candidate should have strong
I need an expert advisor based on MACD and MA signals. It must have check and handling of trade operations errors. The main criteria for opening and closing positions: ◇Both Main and Signal direction must be shown by Arrows which is going to be for buy and sell positions
I need an expert to help me with adding more features to my existing mt4 EA I think the addition I want added to this EA is fairly simple--but I don't really understand how programming works, Contact me for a long term work, This is not the only project, I will explain the features in the inbox, Let me know if you can do it
Hi, I am looking to purchase a pre-built trading strategy specifically tailored for trading AUXUSD. Before committing to the purchase, I require the following detailed information: 1. **Type of Trading**: - Clearly define the trading style this strategy is designed for (e.g., scalping, swing trading, day trading, position trading, etc.). - Provide an explanation of why this trading style is suitable for AUXUSD
Fx Kidds 80 - 120 USD
Can l have a EA that can run 24/5 on gold and GBPUSD and stocks. Trilling stop loss. No expireing date. Must make 5% minimum in returns. It can take losses but it must not blow the account minimum deposit must be 35usd
Life Creator 40 - 1000 USD
the topic of this robot is ,,life creator'' becouse when you have no idea what to do, this robot can help you and teach you how you can do it. The robot gonna creat you your own tactics which can help you in future. When you gonna see that it's really work you start to be happy and you gonna want to have more of this
Hft live account 30 - 200 USD
i need a high frequency trading (hft) expert advisor, that can be used to trade on demo and live accounts icmarket and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send, to foster a faster transaction. like the ones that pass prop firm and demo but adjustment where it work on live with low latency
Hi, I have an scalping Expert Advisor for XAUUSD pair with Break Out strategy using iADX indicator and it seems other indicators too. Need a help to do reverse engineering on it. Thanks

Информация о проекте

Бюджет
30+ USD
Исполнителю
27 USD
Сроки выполнения
от 1 до 3 дн.