Developing MT5 EA which uses two sets of Moving Averages

MQL5 Experts

Trabalho concluído

Tempo de execução 11 horas
Comentário do cliente
Fulfilled the requirements
Comentário do desenvolvedor
Good employer! Thank you :)

Termos de Referência

Hi

I need an EA that uses two sets of moving averages to execute trades.

One set of moving average will have two moving averages (FAST and SLOW moving averages) and the second sets as well. The moving averages of one set will share the same method but the two sets can use different methods among them.

The EA is to execute trades as follows:

Ø    Open a Long trade when the fast moving average of first set crosses above the slow moving average of the same set as long as the number of bars is not more than certain number after cross-over (See point A in the sketch).

Ø  The EA is to open only one trade in the same direction (i.e. No more than one Long or short trade at any given point in time).

 Ø  Close the long trade when the fast moving average of the second set crosses below the slow moving average of the second set (See point C in the sketch).

 Ø  Open a short trade when the fast moving average of the first set crosses below the slow moving average of the same set as long as the number of bars is not more than a certain number after cross-over (See point B in the sketch).

 Ø  The Short trade will close when the fast moving average of the second set crosses above the slow moving average of the same set (see point D in the sketch).

Note: Given that fast moving average of set 1 may cross down the slow moving average of the same set before the fast moving average of set 2 crosses down the moving average of set 2; this may prompt opening a short trade whilst the long trade is still open. We will therefore permit opening a short trade before the long trade may have closed and vice versa.

We will need to plot the moving average in different color with the moving average of 

the first set ploted as solid lines and moving averages of the second set plotted as Dash lines. Lets use Green for Fast moving average and Red for Slow moving averages.

Moving Average Indication

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(382)
Projetos
493
23%
Arbitragem
60
55% / 25%
Expirado
57
12%
Carregado
2
Desenvolvedor 2
Classificação
(19)
Projetos
24
8%
Arbitragem
9
33% / 33%
Expirado
1
4%
Carregado
3
Desenvolvedor 3
Classificação
(633)
Projetos
1001
47%
Arbitragem
33
36% / 36%
Expirado
98
10%
Trabalhando
Publicou: 6 códigos
4
Desenvolvedor 4
Classificação
(2)
Projetos
2
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 código
5
Desenvolvedor 5
Classificação
(596)
Projetos
687
33%
Arbitragem
42
45% / 45%
Expirado
12
2%
Ocupado
6
Desenvolvedor 6
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(2322)
Projetos
2925
63%
Arbitragem
124
44% / 25%
Expirado
429
15%
Trabalhando
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(11)
Projetos
18
17%
Arbitragem
3
33% / 67%
Expirado
3
17%
Livre
11
Desenvolvedor 11
Classificação
(25)
Projetos
31
32%
Arbitragem
0
Expirado
2
6%
Trabalhando
12
Desenvolvedor 12
Classificação
(200)
Projetos
256
21%
Arbitragem
23
48% / 17%
Expirado
0
Ocupado
13
Desenvolvedor 13
Classificação
(39)
Projetos
50
18%
Arbitragem
6
33% / 50%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(16)
Projetos
20
0%
Arbitragem
10
0% / 80%
Expirado
6
30%
Livre
15
Desenvolvedor 15
Classificação
(21)
Projetos
23
17%
Arbitragem
5
20% / 80%
Expirado
1
4%
Livre
Publicou: 6 códigos
16
Desenvolvedor 16
Classificação
(10)
Projetos
12
0%
Arbitragem
3
33% / 33%
Expirado
1
8%
Livre
17
Desenvolvedor 17
Classificação
(618)
Projetos
1429
59%
Arbitragem
31
81% / 0%
Expirado
10
1%
Livre
18
Desenvolvedor 18
Classificação
(640)
Projetos
865
48%
Arbitragem
29
38% / 17%
Expirado
63
7%
Trabalhando
19
Desenvolvedor 19
Classificação
(3)
Projetos
1
0%
Arbitragem
5
0% / 100%
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(314)
Projetos
563
35%
Arbitragem
81
31% / 44%
Expirado
205
36%
Trabalhando
21
Desenvolvedor 21
Classificação
(40)
Projetos
44
59%
Arbitragem
2
100% / 0%
Expirado
1
2%
Trabalhando
Publicou: 5 códigos
22
Desenvolvedor 22
Classificação
(2)
Projetos
4
50%
Arbitragem
0
Expirado
0
Trabalhando
23
Desenvolvedor 23
Classificação
(6)
Projetos
5
0%
Arbitragem
4
25% / 75%
Expirado
2
40%
Livre
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
26
Desenvolvedor 26
Classificação
(2668)
Projetos
3400
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Trabalhando
Publicou: 1 código
27
Desenvolvedor 27
Classificação
(31)
Projetos
38
53%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
28
Desenvolvedor 28
Classificação
(89)
Projetos
253
78%
Arbitragem
9
22% / 56%
Expirado
36
14%
Trabalhando
Publicou: 3 artigos, 26 códigos
29
Desenvolvedor 29
Classificação
(13)
Projetos
20
40%
Arbitragem
1
0% / 100%
Expirado
1
5%
Livre
30
Desenvolvedor 30
Classificação
(271)
Projetos
553
50%
Arbitragem
57
40% / 37%
Expirado
227
41%
Trabalhando
31
Desenvolvedor 31
Classificação
(545)
Projetos
827
62%
Arbitragem
33
27% / 45%
Expirado
23
3%
Livre
Publicou: 1 código
32
Desenvolvedor 32
Classificação
(442)
Projetos
570
37%
Arbitragem
106
39% / 33%
Expirado
17
3%
Livre
33
Desenvolvedor 33
Classificação
(298)
Projetos
477
40%
Arbitragem
105
40% / 24%
Expirado
81
17%
Carregado
Publicou: 2 códigos
34
Desenvolvedor 34
Classificação
(27)
Projetos
30
37%
Arbitragem
0
Expirado
3
10%
Livre
35
Desenvolvedor 35
Classificação
(5)
Projetos
6
50%
Arbitragem
0
Expirado
1
17%
Livre
36
Desenvolvedor 36
Classificação
(258)
Projetos
265
29%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
Pedidos semelhantes
//+------------------------------------------------------------------+ //| Simple XAUUSD EA | //+------------------------------------------------------------------+ input double LotSize = 0.01; input int StopLoss = 500; // in points input int TakeProfit = 1000; // in points input int MAPeriod = 20; int maHandle; int OnInit() { maHandle = iMA(_Symbol, PERIOD_H1, MAPeriod, 0, MODE_SMA
Hello, I need a Python-based MT5 forex trading bot developed. The bot should connect to MetaTrader 5, execute trades based on a predefined strategy, and support standard risk management features such as stop loss, take profit, and position sizing. Requirements: MT5 integration using Python Automated trade execution based on provided strategy rules Configurable risk management settings Support for major forex pairs
Hi, I'm Barak, founder of FX Trade Africa, a trading automation company based in Africa. I'm looking for a serious EA developer for a long-term business partnership — not a one-time paid job. IMPORTANT: This is not a paid order. I am looking for a long-term partner who believes in the model and wants to build something serious together. Compensation will be based on profit sharing from funded accounts — details
### ** Main EA File** - `InstitutionalTrendPullbackScalper.mq5` **Core Features Implemented:** **Multi-Timeframe Analysis** - M15 trend filter (EMA20 > EMA50 for uptrends) - M5 entry signals with 5-condition confirmation - Independent indicator sets for both symbols **Advanced Entry Logic** - RSI reversal detection (crosses thresholds) - Price pullback zone validation - Bullish/bearish candle close confirmation -
I need developer who Can perfectly build me a layout of Ninjatrader 8 (NT8) to look and feel the same on SierraCharts? I currently use NT8 but I want to start using SierraCharts because its more robust than NT8, but I don't want to have to worry about programming SierraCharts. How much would this cost? Thank you
Automate my trading 100 - 300 USD
i want a trading bot that take trade auto and make 5% profit daily and stop with in 24 hours not more then that at least the bot give me more then 2% not less then that like a ai agent if it make any loss that agent have to take care of it i need only 5 % profit
I am looking for an EA for MT5 which is stable for long period. should make minimum 20% per month and DD should be less than 10% first send me your backtest reports for last 5 years with real ticks. budget is negotiable based on the quality of the EA. source code should be delivered at the end. Please dont apply without sending backtest report as mentioned above, in other case offers would be rejected
I do not have any startegy, and I want you to create one with your experience, you will provide me EA along with source code. you may use Grid or any logic, but the EA should keep generating profit during Newyourk and Asian session
I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor (EA) for MetaTrader 5. The strategy is based on liquidity sweeps, market structure (Break of Structure), and institutional concepts (order blocks), specifically optimized for XAUUSD (Gold). This is not a basic bot. I need a structured, optimized, and reliable system suitable for live trading after testing
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation

Informações sobre o projeto

Orçamento
30+ USD
Prazo
para 5 dias