Custom MACD Divergence EA

MQL4 Experts

Job finished

Execution time 5 days
Feedback from customer
Smooth cooperation. Would recommend.
Feedback from employee
Perfect customer. Excellent communicator, task description is clear and easy to understand.

Specification

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 :).

Files:

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

Responded

1
Developer 1
Rating
(171)
Projects
194
11%
Arbitration
37
38% / 35%
Overdue
5
3%
Loaded
2
Developer 2
Rating
(247)
Projects
440
34%
Arbitration
56
36% / 38%
Overdue
161
37%
Busy
3
Developer 3
Rating
(362)
Projects
506
40%
Arbitration
147
18% / 72%
Overdue
99
20%
Loaded
4
Developer 4
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
5
Developer 5
Rating
(14)
Projects
19
11%
Arbitration
1
0% / 100%
Overdue
5
26%
Free
6
Developer 6
Rating
(119)
Projects
177
84%
Arbitration
2
0% / 50%
Overdue
7
4%
Working
7
Developer 7
Rating
(145)
Projects
258
35%
Arbitration
12
25% / 58%
Overdue
42
16%
Free
Similar orders
Alex 30+ USD
//+------------------------------------------------------------------+ //| PriceAction.mq4 | //| Copyright 2023, MetaQuotes Software Corp. | //| https://www.mql5.com | //+------------------------------------------------------------------+ #property copyright "2023" #property link " https://www.mql5.com " #property version "1.00" #property indicator_separate_window #property indicator_buffers 2 #property
**Technical specifications for the improvement of the ProNewsTrader advisor** 1. **Description of the current state of the advisor:** - The **News** advisor automatically trades on financial markets, focusing on news events. - In the current version, news is loaded from external sites that no longer work. - The **Stop Loss**, **Take Profit**, **Trailing Stop** levels and pending orders are implemented virtually. 2
hello here am looking for someone that can assist me in removing validation form my demo file and if anyone is interested dm the for more details i will be waiting to get any reply by some on that can assist me with this
I need an expert to trade Heiken Ashi candles according to the conditions in which Doji candles appear until signs of buying or selling appear, and to enter into trades after the Heiken Ashi candle above, using the scalping method, especially for gold and currency pairs with high liquidity. I have more details for those who want to prepare an expert
1. Trading behaviour: If blue supertrend is >= lower round number and <= the higher round number, EA will place a buy pending order at the higher round number. If red supertrend is <= higher round number and >=lower round number, EA will place sell pending order at the lower round number. EA should place the pending limit order ONLY when the current price is about 10 points above the limit order level. Check the
Hey developers! It is my pleasure to meet you. I am looking for a developer to help meet build and develop a simple EA robot that works based on EMAs. If you are a professional and expierenced MT4 programmer looking to work on this project, do bid for this project so that we can proceed and work on it. Thank you
Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event. When the event occurs, the robot checks the emergence of trading signals and acts accordingly. Before you decide to program or order a trading robot, you
Hello, I am looking for developer who develops me a renko trading robo with following requirement Time :1 sec Box assignment method : Percentage change LTP Source : Close/OHLC Auto Break-even setup option after certain box Trialling Profit Pips after certain box profit with auto Sl set in PIPs Auto open reverse trade after hitting Sl with given conditions . It is very simple trading tool
At bot 30+ USD
Help me to trade create orders for me and analyze the markets and decide when is a good time to buy or sell. Determine which pairs are best to use to trade with and indicate trading signals to me
I currently have a Forex trading script in .txt format that I want to be converted to a functional/working robot (in .mq4), without altering the strategy of the script. The strategy of the script is already in and shouldn't be changed unless with mutual understanding

Project information

Budget
80+ USD
VAT (21%): 16.8 USD
Total: 96.8 USD
For the developer
72 USD