Developing MT5 EA which uses two sets of Moving Averages

MQL5 Experts

Job finished

Execution time 11 hours
Feedback from employee
Good employer! Thank you :)
Feedback from customer
Fulfilled the requirements

Specification

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

Responded

1
Developer 1
Rating
(402)
Projects
520
24%
Arbitration
61
57% / 25%
Overdue
60
12%
Loaded
2
Developer 2
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
3
Developer 3
Rating
(636)
Projects
1008
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
4
Developer 4
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
5
Developer 5
Rating
(634)
Projects
741
34%
Arbitration
49
53% / 39%
Overdue
14
2%
Loaded
6
Developer 6
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(2351)
Projects
2958
63%
Arbitration
125
44% / 26%
Overdue
429
15%
Free
9
Developer 9
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(21)
Projects
27
41%
Arbitration
3
33% / 67%
Overdue
3
11%
Free
11
Developer 11
Rating
(29)
Projects
36
39%
Arbitration
0
Overdue
2
6%
Free
12
Developer 12
Rating
(215)
Projects
280
21%
Arbitration
27
56% / 15%
Overdue
0
Loaded
13
Developer 13
Rating
(39)
Projects
50
18%
Arbitration
6
33% / 50%
Overdue
0
Free
14
Developer 14
Rating
(16)
Projects
20
0%
Arbitration
10
0% / 80%
Overdue
6
30%
Free
15
Developer 15
Rating
(22)
Projects
25
24%
Arbitration
5
20% / 80%
Overdue
1
4%
Free
Published: 9 codes
16
Developer 16
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
0
Free
17
Developer 17
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
18
Developer 18
Rating
(648)
Projects
876
48%
Arbitration
29
38% / 17%
Overdue
63
7%
Free
19
Developer 19
Rating
(3)
Projects
1
0%
Arbitration
5
0% / 100%
Overdue
0
Free
20
Developer 20
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
21
Developer 21
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
22
Developer 22
Rating
(4)
Projects
7
57%
Arbitration
1
100% / 0%
Overdue
0
Free
23
Developer 23
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(2678)
Projects
3423
68%
Arbitration
78
47% / 14%
Overdue
343
10%
Working
Published: 1 code
27
Developer 27
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
28
Developer 28
Rating
(89)
Projects
254
78%
Arbitration
9
22% / 56%
Overdue
36
14%
Working
Published: 3 articles, 26 codes
29
Developer 29
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
30
Developer 30
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
31
Developer 31
Rating
(560)
Projects
855
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Working
Published: 1 code
32
Developer 32
Rating
(443)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
33
Developer 33
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
34
Developer 34
Rating
(34)
Projects
35
40%
Arbitration
0
Overdue
3
9%
Free
35
Developer 35
Rating
(5)
Projects
6
50%
Arbitration
0
Overdue
1
17%
Free
36
Developer 36
Rating
(258)
Projects
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
Similar orders
I am looking for an experienced MQL5 developer and trader to develop a non-repainting scalping indicator for MT5 , designed for the M5 and M15 timeframes. Instruments I Trade: GainX 400 GainX 600 PainX 400 PainX 600 My Main Requirement: Signal Accuracy I do not need another basic indicator that simply displays BUY/SELL signals with Stop Loss and Take Profit levels. I already have several indicators, but their signals
Project Description: I need an MQL5 Expert Advisor built based on a precise Smart Money Concepts (SMC) multi-timeframe strategy. The bot must analyze the 1-Hour chart for institutional bias and execute trades on the 3-Minute chart following strict structural rules. 1. Inputs & Parameters (Customizable) - Risk Model: Fixed dollar risk of $20.00 for every $100.00 of account balance (20% per trade for personal capital
Hello, I want to create a custom Expert Advisor (EA) for MetaTrader 5 based on 3 main confirmations: Market Structure & Price Action: Identify high time-frame trend direction (HL/LH). Chart Pattern: Detect classic continuous/reversal patterns (e.g. Cup and Handle, Double Bottom/Top) on trading timeframe. Volume Profile (PoC): Confirm entry when price breaks/retests the Point of Control (PoC) level. Risk Management &
I am looking for a highly skilled trading strategist and MQL5 developer with genuine experience in researching, designing, testing, and implementing systematic trading strategies. My primary interest is XAUUSD (Gold), although proven experience with other financial markets is also welcome. I am not looking for someone who simply converts trading rules into code. I want to identify a professional who understands
We’re looking for an investment partner to help fund AegisGoldAIPro , an algorithmic trading platform being developed for MetaTrader 5, initially focused on gold. We’re building a modular system that combines market-structure analysis with planned AI-assisted decision support, risk controls, and automated execution. What we are building is not just a basic trading robots that depend on only one indicator or strategy
Title: Professional MT5 Expert Advisor Required - Fully Automated Trend Pullback Strategy Description: I am looking for an experienced MQL5 developer to create a fully automated MT5 Expert Advisor based on a trend-following pullback strategy. The EA must be flexible, fully configurable and optimized for use on different symbols and timeframes. ============================== STRATEGY OVERVIEW
Looking for a Complete Forex & Gold Signal System — Telegram Automation + Performance Tracking I’m looking for a complete automated trading signal solution for Forex pairs, including EUR/USD, GBP/USD and others, as well as gold (XAU/USD). Requirements: • An average of 2–3 quality signals per day across the selected instruments. Quality matters more than generating signals just to meet a quota. • A high win rate
FOR MT5. BROKERS - XM,TICKMILL. looking for an EA which can generate reasonable profits like 100% monthly, SEND ME SOUCE CODE AND UPON TESTING I SHALL PAY AND WE CAN MAKE NECESSARY MODIFICATIONS
I need a robot that will grow small accounts to bigger amounts, I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $200 profit for the day, it must close
I need a robot that will grow small accounts to bigger amounts like this one in this link, https://youtu.be/d38pMbJihew?si=3NeIOVyrlwDr4X_o. Please click the link and watch how this EA grow small accounts. Then create a robot like that. I will test it on demo first then if it does what i want, i will take it. Please it must be simply to use. It must set targets, for example, once it reaches $500 profit, it must

Project information

Budget
30+ USD
Deadline
to 5 day(s)