Expert Advisor Basen on MACD crossover + 200EMA

MQL4 Indicadores Experts

Trabalho concluído

Tempo de execução 60 dias
Comentário do desenvolvedor
Thank you

Termos de Referência

Simple trading robot based on MACD Cross over and a special 200-period moving average.

Intro:

Ive had developed a 200EMA, thats able to detect range markets. It does it when the price crosses it multiple times in a certain time period. When it detects the sideways market, it does not show up on the chart, and the EA should not operate, neither buying or selling in this circunstance. The indicator will be available for the programmer.


The 200 EMA indicator needs to adjusted to be a faster indicator.

The EA should operate when the special 200EMA is dotted (The indicator line is calculated on dots).

The EA should be multichart 

The EA should be able to operate the same Forex pair with different imeframes - Ex.: EURUSD 1h - EURUSD Daily



1- Entry: 

1.1- When the 200 EMA is shown up as green, we are looking for purchases, when it is red, for sales. (Note that the price could be bellow the 200EMA indicator. As long it is shown up as green, the buy setup is on stand by). This parameter aims to look for false breakouts, when the MACD crossover occurs below the 200 average, in the case of a purchase.

1.2- the robot must have an entry trigger which is as follows: As soon as a bearish or bullish flow ends up in the EMA, leaving the chart unattended, the robot must still consider entry by X number of candles.


1.3- The input trigger will be materialized when, respecting parameter 1, there is a cross over in the MACD indicator, and if it is above the zero line of the indicator, we will have a sale setup and bellow the zero line a buy setup.

1.3.1- Entry should be made when immediately when Crossover occurs on the MACD, and not at the close of the candlestick in which the crossover occurs.

1.4- Important filter: only trades where the stop loss level is close to 200EMA should be performed. This proximity to the moving average should be set in a changeable way in points. 



2- Take profit:  (TP1 and TP2 should work separately)

2.1- TP1: Simple risk reward ratio take profit (Ex:. 1.5x)

2.1.1 - sometimes the risk will be very small and therefore the EA should have another risk multiplier reward for very small risks. set in points. Ex: risks below x points: different risk reward ratio.

2.2- TP2: Fixed take profit, based on points.

2.3- Both ways of SL should have an true/false option where, as soon as another contrary crossover occurs in the MACD (ex.: entry on buy signal, bellow line 0 - exit on crossover above line zero), indicating a tendency force contrary to that generated in the entry trigger, the position is immediately closed, regardless of the take profit levels have been beaten. The closing of the position should happen at the same moment of the cross in the MACD and not in the closing of the candle that generates the crossover.



3- Stop Loss: 

3.2- Based on the value of EMA200: The robot must set the stop loss at the 200 moving average.

3.3- Stop loss must have item 1.3 in the job description:

3.4- In case of a buy, if the price is below the EMA, with an entry trigger present, the stop loss will not be able to be placed at the value of the EMA. Therefore, it should be placed in the last fractal present.


If the distance of the x value assigned to this filter is exceeded, the trade should not be carried out.



There are plenty clear information. To complete, I will also provide images that demonstrate exactly my requests in practice.

Lets program a profitable Expert Advisor!

Arquivos anexados:

PNG
3.4.PNG
65.6 Kb
PNG
1.2.PNG
33.8 Kb

Respondido

1
Desenvolvedor 1
Classificação
(5)
Projetos
11
0%
Arbitragem
8
25% / 63%
Expirado
3
27%
Livre
2
Desenvolvedor 2
Classificação
(11)
Projetos
17
59%
Arbitragem
2
0% / 100%
Expirado
2
12%
Livre
3
Desenvolvedor 3
Classificação
(347)
Projetos
543
32%
Arbitragem
24
67% / 8%
Expirado
15
3%
Livre
4
Desenvolvedor 4
Classificação
(253)
Projetos
408
38%
Arbitragem
86
43% / 19%
Expirado
70
17%
Trabalhando
5
Desenvolvedor 5
Classificação
(2423)
Projetos
3045
66%
Arbitragem
77
48% / 14%
Expirado
340
11%
Livre
6
Desenvolvedor 6
Classificação
(236)
Projetos
440
26%
Arbitragem
125
21% / 57%
Expirado
96
22%
Trabalhando
7
Desenvolvedor 7
Classificação
(2078)
Projetos
2637
61%
Arbitragem
113
45% / 26%
Expirado
418
16%
Carregado
8
Desenvolvedor 8
Classificação
(563)
Projetos
932
47%
Arbitragem
301
59% / 25%
Expirado
124
13%
Trabalhando

Informações sobre o projeto

Orçamento
60+ USD
Desenvolvedor
54 USD