Developing MT5 EA which uses two sets of Moving Averages

MQL5 Experts

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
(380)
Projetos
490
23%
Arbitragem
59
54% / 25%
Expirado
56
11%
Carregado
2
Desenvolvedor 2
Classificação
(19)
Projetos
23
9%
Arbitragem
6
33% / 50%
Expirado
1
4%
Carregado
3
Desenvolvedor 3
Classificação
(630)
Projetos
994
47%
Arbitragem
33
36% / 36%
Expirado
98
10%
Livre
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
(566)
Projetos
655
33%
Arbitragem
41
41% / 46%
Expirado
11
2%
Ocupado
6
Desenvolvedor 6
Classificação
(60)
Projetos
87
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
(2317)
Projetos
2918
63%
Arbitragem
123
44% / 25%
Expirado
429
15%
Carregado
9
Desenvolvedor 9
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Trabalhando
10
Desenvolvedor 10
Classificação
(10)
Projetos
15
13%
Arbitragem
3
33% / 67%
Expirado
2
13%
Trabalhando
11
Desenvolvedor 11
Classificação
(19)
Projetos
24
21%
Arbitragem
0
Expirado
2
8%
Livre
12
Desenvolvedor 12
Classificação
(190)
Projetos
246
20%
Arbitragem
22
50% / 18%
Expirado
0
Trabalhando
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
(20)
Projetos
22
14%
Arbitragem
6
17% / 67%
Expirado
1
5%
Trabalhando
Publicou: 3 códigos
16
Desenvolvedor 16
Classificação
(8)
Projetos
9
0%
Arbitragem
2
0% / 50%
Expirado
1
11%
Trabalhando
17
Desenvolvedor 17
Classificação
(618)
Projetos
1428
59%
Arbitragem
31
81% / 0%
Expirado
10
1%
Livre
18
Desenvolvedor 18
Classificação
(636)
Projetos
857
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
(312)
Projetos
559
35%
Arbitragem
80
31% / 43%
Expirado
203
36%
Trabalhando
21
Desenvolvedor 21
Classificação
(36)
Projetos
37
57%
Arbitragem
1
100% / 0%
Expirado
1
3%
Trabalhando
Publicou: 5 códigos
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(6)
Projetos
5
0%
Arbitragem
2
50% / 50%
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
(2656)
Projetos
3374
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Trabalhando
Publicou: 1 código
27
Desenvolvedor 27
Classificação
(30)
Projetos
37
54%
Arbitragem
2
50% / 50%
Expirado
3
8%
Livre
28
Desenvolvedor 28
Classificação
(87)
Projetos
247
80%
Arbitragem
9
22% / 56%
Expirado
35
14%
Carregado
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
(541)
Projetos
818
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
(297)
Projetos
476
40%
Arbitragem
105
40% / 24%
Expirado
81
17%
Ocupado
Publicou: 2 códigos
34
Desenvolvedor 34
Classificação
(16)
Projetos
18
28%
Arbitragem
0
Expirado
3
17%
Livre
35
Desenvolvedor 35
Classificação
(3)
Projetos
3
67%
Arbitragem
0
Expirado
0
Trabalhando
36
Desenvolvedor 36
Classificação
(257)
Projetos
263
30%
Arbitragem
0
Expirado
3
1%
Livre
Publicou: 2 códigos
Pedidos semelhantes
Due to price constraints, I am shifting what I would like. Would you be able to develop part of a strategy that automatically screens and selects stocks for trading? For example, screens for stocks up 20% with 500k volume for the day, and automatically begin trading them according to the strategy I already use. I use NinjaTrader to day trade my Interactive Brokers account and would like to add an automatic
Hello i need some to teach me step my step in an idiot terms and I will be willing to learn more and I am ready to pay for it any amount please if anyone can put me though i will be happy thank look forward to anyone responses
Hello traders, I am currently looking for a professional and experienced trading coach/mentor and would like to connect with individuals who offer structured coaching services. Before proceeding, I would appreciate clarity on the following: Your primary trading strategy (scalping, intraday, swing, or long-term investing) Markets you specialize in (Forex, crypto, indices, stocks, etc.) Availability of verified track
Hello traders, I am currently looking for a professional and experienced trading coach/mentor and would like to connect with individuals who offer structured coaching services. Before proceeding, I would appreciate clarity on the following: Your primary trading strategy (scalping, intraday, swing, or long-term investing) Markets you specialize in (Forex, crypto, indices, stocks, etc.) Availability of verified track
أحتاج إلى مبرمج محترف لبرمجة اكسبيرت تداول آلي لمنصة MetaTrader 5 يعمل على زوج الذهب XAUUSD فريم الدقيقة. الاستراتيجية المطلوبة: الدخول شراء عند تقاطع المتوسط المتحرك 10 مع 50 صعوداً + مؤشر RSI فوق مستوى 50. الدخول بيع عند التقاطع هبوطاً + مؤشر RSI تحت مستوى 50. إدارة رأس المال: اللوت 0.01 لكل 1000 دولار، وقف خسارة 100 نقطة، هدف ربح 200 نقطة، مع تريلنق ستوب يبدأ بعد 50 نقطة ربح. المطلوب: تسليم الكود مفتوح المصدر مع
Looking for experience profitable manual traders that will be willing to trade my live mt5 account for profit share. Requirements Must have at least 6 months of profitable months. Min 10 percent monthly Send me investor credentials for mt5 or mt4 account. Can be trading Any instruments. Must reply with mt5 credentials or will disregard
XAUUSD_Strategy_EA 80 - 120 USD
I need an MT5 Expert Advisor for XAUUSD. Strategy: BUY conditions: Price above EMA 50 RSI above 50 Recent high breakout Retest confirmation candle bullish SELL conditions: Price below EMA 50 RSI below 50 Recent low breakout Retest confirmation candle bearish Risk management: Risk per trade 1% Stop loss = recent swing high/low Take profit = Risk Reward 1:2 Extra features: Trailing stop option Breakeven option Max 4
more detailed requirements 1 Expert in MQL5, who can build with supertrend formula which can calculate the target time. For instance:When there is buy and sell in supertrend ,our target is of 20 points, that method should calculate the target with time
Hello i am looking for a profitable gold MT5 indicator that shows entry zones. Send trial when applying. Also provide screenshots. The indicator should give buy/sell entry points with SL and TP
Am looking for good programmer to help me to convert two Ex4 file into EA. The first indicator provide 9 tools signal and the second indicator is Candle stick strategy. Kindly see the attached file for proper explanation about the BOT. Below is discription 🔹 PART 1: Candle Structure Strategy (Daily / Weekly / Monthly) ✅ Core Idea You are trading alignment of higher timeframe direction with lower timeframe

Informações sobre o projeto

Orçamento
30+ USD
Prazo
para 5 dias

Cliente

Pedidos postados3
Número de arbitragens0