An expert advisor based on MACD divergence, Two EMA's, MACD histogram bars to be built onto an existing EA

MQL4 Experts

Trabalho concluído

Tempo de execução 28 dias
Comentário do cliente
Amazing developer. Incredible skills. I can't recommend working with this developer enough, top work and I look forward to working with you in the future, thank you!

Termos de Referência

Hi all!

Please can you make an expert advisor that uses two EMA's, MACD and the MACD histogram bars to enter and exit trades that also uses an existing EA I have had made that I will attach once we are in discussion of the work 

The Previous EA is based on a martingale strategy and 7 “rules” based on when to reset the lot size. The EA I will attach enters a buy trade then a sell trade, a buy and then a sell etc and if one of these trades loses the next trade has double the lot size to recoup for the last. I have 7 rules that disctate when the lot size will return to the original default set by me to the losses do not become too high.

This new EA will be a combination of the two. The first EA used 7 rules and took trades in the order of buy, sell, buy, sell etc at a set take profit and stop loss (I usually used 1 pip)


For this new EA the "back end" or the entry side of the strategy is being taken away and is replaced by the below please

For the new EA the 7 rules will be kept, the lot size will be increased on every losing trade however the buy, sell, buy, sell structure will be replaced by the below strategy:

As soon as the old EA would exit a trade it would enter a new one straight away dependent on a spread filter. Please remove this part of the old EA (keeping the spread filter please!) and replace the entry criteria for a trade with the below trading strategy:

https://docs.google.com/document/d/1c4omsOFTjoIbwyvJ7DSMRTq95BpxDTJH0VZnP2EM8i4/edit?usp=sharing

So I can't attach PDF's in this chat the file type isn't supported so use that link and download as PDF. File -> Download -> Download as PDF

https://docs.google.com/document/d/1VU7n2K7kwnx80KKTmrCF66pjFu9tD-MHdLhDHNoNqUk/edit?usp=sharing


This is a link to my actual trading plan which is much shorted and easier to follow - use in google docs or download as PDF, your choice :) 

https://www.youtube.com/watch?v=9o6BG-dCgco&ab_channel=TradePro


Also, I don't think you'll need this but the other developer really struggled...

This video is very close to my strategy. My strategy is a modified version of the one in the video. My entry using the histogram comes sooner than his and I also don't exit at a 2-1 reward risk, I exit after a 2-1 is achieved on a change in the histogram bars


https://www.youtube.com/watch?v=oQQ-VCJYc6M&t=0s&ab_channel=TradePro

Another video, guy but more examples :) 


Please note I don't have an existing MACD divergence indicator. As it may be hard to find an accurate one you may need to make one from scratch and add it in. I currently trade this strategy all manually using Trading view

 

The strategy was made and tested using the 5 minute timeframe and works as follows:

When the 5 minute 150 EMA (blue) (15 minute 50 EMA) is above the 5 minute 600 EMA (yellow) (1H 50 EMA) the EA will look for long trades only (based on MACD divergence)

When the 5 minute 150 EMA (blue) (15 minute 50 EMA) is below the 5 minute 600 EMA (yellow) (1H 50 EMA) the EA will look for short trades only (based on MACD divergence)


Entry:

When entering long we must see MACD divergence to the upside as seen below (apologies if you already know what this is, I’d rather give too much information than too little, sure you’ll agree)



As price moves down the MACD line (not the signal line) moves up between the same two points in time.


The two points in price go from the open/close price not the highs/lows of the wicks. The higher high going short or the lower low going long cannot be exactly equal and must differ by 1 pip. Please can you add a filter where I get to decide how much in pips the highs and lows must be for entry. I will likely keep this at one pip.


Price can be anywhere relative to the two EMA’s, above them, between them or below them, doesn’t matter.





The same is said for short trades:


As price moves up, the MACD line moves down between the same two points (Entry is at the red arrow pointing down and the exit at the red arrow pointing up)



Entry:

When entering a trade: 

The MACD line cannot touch the histogram 0 line between it’s “two points” - the MACD line cannot go negative on short trades or positive on long trades before entry.



Between the two points the MACD red and green histogram bars must change colour twice before entry can happen

For short trades the histogram lines must go: positive value, negative value, positive value, entry

For long trades the histogram lines must go: negative value, positive value, negative value, entry



For long trades the MACD line must be below the MACD 0 line
For short trades the MACD line must be above the MACD 0 line


Once we have the EMA’s in the right direction, MACD divergence and the above histogram set up, our entry comes in the first change in the histogram bar in our desired direction.



(Short entry on red arrows pointing down) 

If we’re entering short the histogram bar must already be above the 0 line (positive) and entry comes in the first drop in value whether still positive but just less than the previous bar or it goes negative.



If we’re entering long the histogram bar must be below the 0 line (negative) and entry comes in the first rise in value whether still negative or it goes fully positive


(Entry is on the red arrow pointing up)

Stop loss -

 

The stop is placed 1.5 pips (15 points/ticks) above or below the most recent high or low depending on whether you’re going long or short. (please add the option to let me decide the stop loss value) 


The stop loss cannot exceed 10 pips.


Any trade above a 10 pip SL cannot be taken (please also add an option that lets me decide when a trade won’t be taken based on the stop loss size. I found trades with a stop loss larger than 10 pips to be unprofitable)


Take profit/trade management:

As soon as  the trade is twice as far from the entry price as the stop loss is in pips then the EA will exit the trade on the first change in the histogram bar in the opposite direction of our trade. So as soon as the trade is at a 2:1 reward risk then management comes in and makes an exit as soon as the histogram bars moves in the opposite direction.



Entry short on the green vertical line and exit made on the red arrow pointing up when the histogram bar increased in value after the trade reached a 2:1 Reward Risk ratio.


As seen above. If a trade has a 5 pip stop loss for example, as soon as the trade is 10 pips in profit then the trade will be closed as soon as the first histogram bar against our trade direction happens.

If a trade reaches this point and the histogram bar is already against our direction then it can exit straight away at 2:1 rather than waiting 


No entry:

Any trade taken before 07:00 and after 21:00. Please add in a time clause as I found the strategy to be most profitable opening trades after 0700 GMT 0 and not opening after 21:00 GMT 0

The EA cannot take a second entry on the same MACD move. If the EA takes one entry and get stopped out the EA cannot take another trade until the MACD line touches the 0 line again and “resets'' the play.

As seen below there are multiple trades that occurred on the same MACD divergence and all 3 lost. So if the MACD line has not touched zero between the last trade and tradewe’re taking now then we cannot enter until it does.




A trade with a 10 pip SL or larger won’t be entered (again please add the option to let me adjust this)

Respondido

1
Desenvolvedor 1
Classificação
(4)
Projetos
6
0%
Arbitragem
5
0% / 80%
Expirado
2
33%
Livre
2
Desenvolvedor 2
Classificação
(145)
Projetos
258
35%
Arbitragem
12
25% / 58%
Expirado
42
16%
Livre
3
Desenvolvedor 3
Classificação
(132)
Projetos
176
39%
Arbitragem
4
25% / 50%
Expirado
14
8%
Livre
4
Desenvolvedor 4
Classificação
(64)
Projetos
198
72%
Arbitragem
4
100% / 0%
Expirado
1
1%
Livre
5
Desenvolvedor 5
Classificação
(111)
Projetos
141
44%
Arbitragem
19
16% / 53%
Expirado
20
14%
Carregado
6
Desenvolvedor 6
Classificação
(172)
Projetos
195
11%
Arbitragem
37
38% / 35%
Expirado
5
3%
Carregado
Pedidos semelhantes
Job Title: Experienced MT5 Developer Needed to Update MT5 EA PLEASE READ THE ENTIRE JOB DESCRIPTION BEFORE APPLYING Qualifications Required: * Minimum of 5 years of experience in coding Expert Advisors * Experience with at least 150 completed EA projects (must be visible on your profile) * Must have knowledge of both forex trading and coding, as these are different skills * Fluent in English (no translators) * Must
I have a fully coded TradingView indicator that I need updated to function as a strategy. This should include the ability to backtest the strategy using the TradingView strategy tester. The main task is to convert the existing indicator into a strategy format while maintaining its core functionality, but adapting it for automated trading logic and performance analysis. Please ensure that the strategy uses proper
I'm looking for professional developer for long term. Who have skill in Converting trading to MT4/5. Also have good knowledge of Algo. And response and deliver tools on time and at the top need good communication. That's all we need
budget of 500 usd I want to create a rsi bot for eur usd money is the least important thing I want it to look good if you are going to apply do it but send me at least 3 photos or screenshots of this type of work with rsi bot my goal level 50 sell level 20 buy that's all it must have its basic robot functions
I have simple EA i want to modify its parameters. If you are good at modifying EAs contact me for more details. I will issue the source code then you return after finishing without changing the buy or sell conditions
the code wasn't mine, i have got it somewhere on the web, but i like the performance of the EA, so i want to use it on mt5 platform. the given code based on price movements with ladder entry concept
* Advanced level dev only, NDA required * Hi, I have a multi timeframe, multiindicator expert that requires additional features added to it. First started development 5 years ago. Upgrading with new features. To be added Entry - Add Stochastic and CCI options for trade entry to be added to existing signal options. Add config options to existing menu Bulk Exit - Master switch for close all trades based on basket
I am developing a master EA that integrates several sub-EAs. The project is complex, and the documentation is thoroughly structured, spanning 50 pages with detailed step-by-step procedures. 1st sub-EA: This EA opens trades without using indicators. Instead, it opens a new trade based on the color or status of the last candle. For instance, if the last candle was green, a new buy trade is opened. 2nd sub-EA: This EA
Good Day I would like to order a trading robot. Pairs: XAUUSD (GOLD) EUR/USD USD/JPY The robot should be trading daily with TP/SL build in, would like to have trailing and stop loss, should execute up to 5 trades (preffarable setting choice) up to 10 trades Los sizes to be choise setting, must also trade major US vews events Like:US- PPI, CPI, NFP, Sales m/m and so on Must also show/display alert when opening
Hello Guys, I need a trading bot for the MT5 to place order based on my trading strategy which is based on - >> entry based on EMA with rejection from specific levels like support and resistance area - levels and time frame i will apply into the robot manually on daily basis. also need - trailing stoploss , shift to breakeven after gaining some points. need a highly expert developer

Informações sobre o projeto

Orçamento
200 - 250 USD
Desenvolvedor
180 - 225 USD
Prazo
para 5 dias