Developing MT5 EA which uses two sets of Moving Averages

MQL5 Esperti

Specifiche

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

Con risposta

1
Sviluppatore 1
Valutazioni
(380)
Progetti
490
23%
Arbitraggio
59
54% / 25%
In ritardo
56
11%
Caricato
2
Sviluppatore 2
Valutazioni
(19)
Progetti
23
9%
Arbitraggio
6
33% / 50%
In ritardo
1
4%
Caricato
3
Sviluppatore 3
Valutazioni
(630)
Progetti
994
47%
Arbitraggio
33
36% / 36%
In ritardo
98
10%
Gratuito
Pubblicati: 6 codici
4
Sviluppatore 4
Valutazioni
(2)
Progetti
2
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 1 codice
5
Sviluppatore 5
Valutazioni
(566)
Progetti
655
33%
Arbitraggio
41
41% / 46%
In ritardo
11
2%
Occupato
6
Sviluppatore 6
Valutazioni
(60)
Progetti
87
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(2317)
Progetti
2918
63%
Arbitraggio
123
44% / 25%
In ritardo
429
15%
Caricato
9
Sviluppatore 9
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(10)
Progetti
15
13%
Arbitraggio
3
33% / 67%
In ritardo
2
13%
In elaborazione
11
Sviluppatore 11
Valutazioni
(19)
Progetti
24
21%
Arbitraggio
0
In ritardo
2
8%
Gratuito
12
Sviluppatore 12
Valutazioni
(190)
Progetti
246
20%
Arbitraggio
22
50% / 18%
In ritardo
0
In elaborazione
13
Sviluppatore 13
Valutazioni
(39)
Progetti
50
18%
Arbitraggio
6
33% / 50%
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(16)
Progetti
20
0%
Arbitraggio
10
0% / 80%
In ritardo
6
30%
Gratuito
15
Sviluppatore 15
Valutazioni
(20)
Progetti
22
14%
Arbitraggio
6
17% / 67%
In ritardo
1
5%
In elaborazione
Pubblicati: 3 codici
16
Sviluppatore 16
Valutazioni
(8)
Progetti
9
0%
Arbitraggio
2
0% / 50%
In ritardo
1
11%
In elaborazione
17
Sviluppatore 17
Valutazioni
(618)
Progetti
1428
59%
Arbitraggio
31
81% / 0%
In ritardo
10
1%
Gratuito
18
Sviluppatore 18
Valutazioni
(636)
Progetti
857
48%
Arbitraggio
29
38% / 17%
In ritardo
63
7%
In elaborazione
19
Sviluppatore 19
Valutazioni
(3)
Progetti
1
0%
Arbitraggio
5
0% / 100%
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(312)
Progetti
559
35%
Arbitraggio
80
31% / 43%
In ritardo
203
36%
In elaborazione
21
Sviluppatore 21
Valutazioni
(34)
Progetti
35
60%
Arbitraggio
1
100% / 0%
In ritardo
1
3%
Caricato
Pubblicati: 5 codici
22
Sviluppatore 22
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
(6)
Progetti
5
0%
Arbitraggio
2
50% / 50%
In ritardo
2
40%
Gratuito
24
Sviluppatore 24
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
25
Sviluppatore 25
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
26
Sviluppatore 26
Valutazioni
(2656)
Progetti
3374
68%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
In elaborazione
Pubblicati: 1 codice
27
Sviluppatore 27
Valutazioni
(30)
Progetti
37
54%
Arbitraggio
2
50% / 50%
In ritardo
3
8%
Gratuito
28
Sviluppatore 28
Valutazioni
(87)
Progetti
247
80%
Arbitraggio
9
22% / 56%
In ritardo
35
14%
Caricato
Pubblicati: 3 articoli, 26 codici
29
Sviluppatore 29
Valutazioni
(13)
Progetti
20
40%
Arbitraggio
1
0% / 100%
In ritardo
1
5%
Gratuito
30
Sviluppatore 30
Valutazioni
(271)
Progetti
553
50%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
31
Sviluppatore 31
Valutazioni
(541)
Progetti
818
62%
Arbitraggio
33
27% / 45%
In ritardo
23
3%
Gratuito
Pubblicati: 1 codice
32
Sviluppatore 32
Valutazioni
(442)
Progetti
570
37%
Arbitraggio
106
39% / 33%
In ritardo
17
3%
Gratuito
33
Sviluppatore 33
Valutazioni
(297)
Progetti
476
40%
Arbitraggio
105
40% / 24%
In ritardo
81
17%
Caricato
Pubblicati: 2 codici
34
Sviluppatore 34
Valutazioni
(16)
Progetti
18
28%
Arbitraggio
0
In ritardo
3
17%
Gratuito
Ordini simili
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

Informazioni sul progetto

Budget
30+ USD
Scadenze
a 5 giorno(i)

Cliente

Ordini effettuati3
Numero di arbitraggi0