Custom MACD Divergence EA

MQL4 Эксперты

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

Время выполнения 5 дней
Отзыв от заказчика
Smooth cooperation. Would recommend.
Отзыв от исполнителя
Perfect customer. Excellent communicator, task description is clear and easy to understand.

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

Hello developers,

I would like an EA based on EMAs, MACD divergence with price and interaction with MACD lines. Preferably in MT4.
Since divergence can be tricky it would be for the best if someone experienced did it.

MACD divergence is thought of this way: every time MACD histogram changes color (on candle close), look back at history corresponding with the previous color and identify low/high of price and low/high of MACD line and make values out of them. Then compare green zones together and red zones together. If two continous green zones have higher low - lower low, while having lower low - higher low on MACD line, we have a divergence (in this case the "hidden one"). Compare only last 3 green zones and 3 red zones at once. In this strategy, I use only hidden divergences (watching lows on uptrend and highs on downtrend) and only in one direction at a time. Theoretically, two of them could happen at the same time - divergence between 1st and 3rd, and 2nd and 3rd zones. In this case, go for the last one (2nd to 3rd zone).

Also MACD histogram value 0.000000 means no reversion (counts towards the current color).

Components: 150 EMA, 600 EMA (simulating higher TFs), MACD with MACD line (= histogram and two lines,  not one) (i have one in mq4 format if needed), 5 min chart.


Rules:

Long - 150 EMA higher than 600 EMA; hidden divergence between price and MACD line (= higher low - lower low on price while lower low - higher low on MACD line); MACD histogram changed color in between the MACD lows (red-green-red); between lows on MACD line - both MACD line and signal line are below the zero line, no touch of them with 0 line; if all above is satisfied, open a buy position (market order) next time MACD histogram closes in green.

Sell - vice versa (stil hidden divergence).

Only one active trade on a pair. SL 2 pips below last high/low (of price), PT 2 times the risk. Spread filter. Friday stop (enable-disable). Position size (manual/auto).

Inputs: Ema periods, MACD settings, SL buffer (2 pips), PT ratio (2 times), max spread (1 pip), Friday stop (true/false with XX.YY broker time, closes all positions no matter the outcome), position size  - manual = value in account currency/auto = percentage of balance.

When it is done, I would like you to do a backtest with quality data for at least 1 month (more = better), just to check and match the results (I trade this manually).

Good luck :).

Файлы:

PNG
Buy.png
530.4 Kb
PNG
Sell.png
481.8 Kb

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

1
Разработчик 1
Оценка
(167)
Проекты
191
10%
Арбитраж
37
38% / 35%
Просрочено
5
3%
Работает
2
Разработчик 2
Оценка
(230)
Проекты
409
34%
Арбитраж
52
37% / 40%
Просрочено
149
36%
Загружен
3
Разработчик 3
Оценка
(362)
Проекты
502
40%
Арбитраж
145
17% / 73%
Просрочено
98
20%
Занят
4
Разработчик 4
Оценка
(3)
Проекты
3
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
5
Разработчик 5
Оценка
(14)
Проекты
19
11%
Арбитраж
1
0% / 100%
Просрочено
5
26%
Свободен
6
Разработчик 6
Оценка
(117)
Проекты
173
83%
Арбитраж
2
0% / 50%
Просрочено
6
3%
Работает
7
Разработчик 7
Оценка
(143)
Проекты
255
35%
Арбитраж
12
25% / 58%
Просрочено
42
16%
Свободен
Похожие заказы
can you help me I have a strategy based on the indicators that appear in me on screen I want a robot that trades automatically when these signals appear. So, The strategy is focused on combining two indicators together. When they appear together at a certain value, Algo execution automatically enters a trade For positioning: Take profit (TP) :20 ticks Stop loss (TS): 8 ticks When the price reaches the target of 10
You need to modify the code to establish a secure socket connection for the MQL5 advisor on a port other than 443. You need to use only native methods, without custom libraries and DLLs My setup includes MT5 on Windows 11 and Node.js server on VMware Ubuntu. Connections and operations on port 443 were successful. However, attempting to connect to any other port results in the following error: "5274 Failed to
Hi there, I'm looking for profitable ready made EA with source code. EA should not use martingale or grid strategy. Low drawdown will be nice It can be MT4 or MT5 one. Thank you
Reverse engineer of these Eas which will be provided. Must work identical. Doesn't works more we just need to reverse engineer it so we can understand it the logic. these two stopped working after MT4 update this happened a few years ago but it was a quick fix in code and thats it
Welcome I want someone to give me an expert with the code and have it be profitable according to the specifications I wrote in the title, from 3 to 4%, and give me a report of the profitable results
First one is b ased on the indicator Gann Made Easy (MT4) . The Indicator provides no buffers but does have an event function. Can download and look at the Demo version. https://www.mql5.com/en/market/product/73721?source=Site+Market+MT4+Indicator+Rating006#description 1. Would like an EA to buy and sell on the arrows of the indicator (Red or Green) 2. Would like the Option of using the indicator's first take profit
Hello. Id like to change the trailing stop loss mechanism and ATR take profit to do the following: Assuming I've lost 3 trades and my lot size is automatically adjusted to 0.03, with a fixed SL of 10 pips id be negative 30 points. But assuming the ATR closes the next trade with a profit of 5 pips meaning a total profit of -15 points. Id like for the system to be adjusted to maintain the current lot size until a
Nick MJ 30+ USD
A forex bot is designed to automate trading in the foreign exchange market. It can execute trades based on pre-defined criteria such as price movements, technical indicators, or news events, potentially saving you time and allowing for more efficient trading. However, it's essential to understand the risks involved and carefully monitor the bot's performance
I'm in need of an experienced Meta 4 expert who can solve two specific problems and improve the current Martingale and Pyramid strategies within my EA. - Bug Fix: The EA is currently facing an issue where orders are not being executed correctly. This is causing a signal matching error and leading to potential losses. The primary task is to resolve this bug and ensure the EA executes trades accurately and as intended
ultra simple to use and 100% automated EA, you just need to drag it onto the chart XAUUSD M10 and indicate the percentage of risk you wish to take per trade. The EA uses a stop loss on each trade to secure all trades for maximum account security. EA does not use risky strategies, grids or martingales. Very profitable to use, and also have capability for copy trading. i am open to an exsiting Bot as long as it meets

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

Бюджет
80+ USD
VAT (21%): 16.8 USD
Итого: 96.8 USD
Исполнителю
72 USD