Developing MT5 EA which uses two sets of Moving Averages

MQL5 Asesores Expertos

Tarea técnica

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

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(380)
Proyectos
490
23%
Arbitraje
59
54% / 25%
Caducado
56
11%
Trabajando
2
Desarrollador 2
Evaluación
(19)
Proyectos
23
9%
Arbitraje
6
33% / 50%
Caducado
1
4%
Trabajando
3
Desarrollador 3
Evaluación
(630)
Proyectos
994
47%
Arbitraje
33
36% / 36%
Caducado
98
10%
Libre
Ha publicado: 6 ejemplos
4
Desarrollador 4
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(566)
Proyectos
655
33%
Arbitraje
41
41% / 46%
Caducado
11
2%
Ocupado
6
Desarrollador 6
Evaluación
(60)
Proyectos
87
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(2317)
Proyectos
2918
63%
Arbitraje
123
44% / 25%
Caducado
429
15%
Trabajando
9
Desarrollador 9
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(10)
Proyectos
15
13%
Arbitraje
3
33% / 67%
Caducado
2
13%
Trabaja
11
Desarrollador 11
Evaluación
(19)
Proyectos
24
21%
Arbitraje
0
Caducado
2
8%
Libre
12
Desarrollador 12
Evaluación
(190)
Proyectos
246
20%
Arbitraje
22
50% / 18%
Caducado
0
Trabaja
13
Desarrollador 13
Evaluación
(39)
Proyectos
50
18%
Arbitraje
6
33% / 50%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(16)
Proyectos
20
0%
Arbitraje
10
0% / 80%
Caducado
6
30%
Libre
15
Desarrollador 15
Evaluación
(20)
Proyectos
22
14%
Arbitraje
6
17% / 67%
Caducado
1
5%
Trabaja
Ha publicado: 3 ejemplos
16
Desarrollador 16
Evaluación
(8)
Proyectos
9
0%
Arbitraje
2
0% / 50%
Caducado
1
11%
Trabaja
17
Desarrollador 17
Evaluación
(618)
Proyectos
1428
59%
Arbitraje
31
81% / 0%
Caducado
10
1%
Libre
18
Desarrollador 18
Evaluación
(636)
Proyectos
857
48%
Arbitraje
29
38% / 17%
Caducado
63
7%
Trabaja
19
Desarrollador 19
Evaluación
(3)
Proyectos
1
0%
Arbitraje
5
0% / 100%
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(312)
Proyectos
559
35%
Arbitraje
80
31% / 43%
Caducado
203
36%
Trabaja
21
Desarrollador 21
Evaluación
(34)
Proyectos
35
60%
Arbitraje
1
100% / 0%
Caducado
1
3%
Trabajando
Ha publicado: 5 ejemplos
22
Desarrollador 22
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
(6)
Proyectos
5
0%
Arbitraje
2
50% / 50%
Caducado
2
40%
Libre
24
Desarrollador 24
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
25
Desarrollador 25
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
(2656)
Proyectos
3374
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Trabaja
Ha publicado: 1 ejemplo
27
Desarrollador 27
Evaluación
(30)
Proyectos
37
54%
Arbitraje
2
50% / 50%
Caducado
3
8%
Libre
28
Desarrollador 28
Evaluación
(87)
Proyectos
247
80%
Arbitraje
9
22% / 56%
Caducado
35
14%
Trabajando
Ha publicado: 3 artículos, 26 ejemplos
29
Desarrollador 29
Evaluación
(13)
Proyectos
20
40%
Arbitraje
1
0% / 100%
Caducado
1
5%
Libre
30
Desarrollador 30
Evaluación
(271)
Proyectos
553
50%
Arbitraje
57
40% / 37%
Caducado
227
41%
Trabaja
31
Desarrollador 31
Evaluación
(541)
Proyectos
818
62%
Arbitraje
33
27% / 45%
Caducado
23
3%
Libre
Ha publicado: 1 ejemplo
32
Desarrollador 32
Evaluación
(442)
Proyectos
570
37%
Arbitraje
106
39% / 33%
Caducado
17
3%
Libre
33
Desarrollador 33
Evaluación
(297)
Proyectos
476
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
34
Desarrollador 34
Evaluación
(16)
Proyectos
18
28%
Arbitraje
0
Caducado
3
17%
Libre
Solicitudes similares
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
Project Overview: I am looking for a professional MQL5 developer to build a high-performance Expert Advisor (EA) for MT5. The project requires high-level technical skills in integrating external indicators and managing complex trade exits. General Requirements: 1. Integration with external indicators via Buffers (iCustom). 2. Implementation of an advanced 5-Tier Trailing system based on Money/Points. 3. Custom Visual
Ihy 30 - 500 USD
Hello, I am looking for access to MT5 trading accounts connected to the market, either demo or live, for the purpose of monitoring and verifying trading performance. Investor (read-only) password access is sufficient, as I only need to log in through MetaTrader 5 to review trade history, risk management, and consistency of results over time. Kindly provide the necessary login details for any available accounts that

Información sobre el proyecto

Presupuesto
30+ USD
Plazo límite de ejecución
a 5 día(s)

Cliente

Encargos realizados3
Número de arbitrajes0