Developing MT5 EA which uses two sets of Moving Averages

MQL5 Experts

Job finished

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

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
(382)
Projects
493
23%
Arbitration
60
55% / 25%
Overdue
57
12%
Loaded
2
Developer 2
Rating
(19)
Projects
24
8%
Arbitration
9
33% / 33%
Overdue
1
4%
Loaded
3
Developer 3
Rating
(633)
Projects
1001
47%
Arbitration
33
36% / 36%
Overdue
98
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
(596)
Projects
687
33%
Arbitration
42
45% / 45%
Overdue
12
2%
Busy
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
(2322)
Projects
2925
63%
Arbitration
124
44% / 25%
Overdue
429
15%
Working
9
Developer 9
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(11)
Projects
18
17%
Arbitration
3
33% / 67%
Overdue
3
17%
Free
11
Developer 11
Rating
(25)
Projects
31
32%
Arbitration
0
Overdue
2
6%
Working
12
Developer 12
Rating
(200)
Projects
256
21%
Arbitration
23
48% / 17%
Overdue
0
Busy
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
(21)
Projects
23
17%
Arbitration
5
20% / 80%
Overdue
1
4%
Free
Published: 6 codes
16
Developer 16
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
1
8%
Free
17
Developer 17
Rating
(618)
Projects
1429
59%
Arbitration
31
81% / 0%
Overdue
10
1%
Free
18
Developer 18
Rating
(640)
Projects
865
48%
Arbitration
29
38% / 17%
Overdue
63
7%
Working
19
Developer 19
Rating
(3)
Projects
1
0%
Arbitration
5
0% / 100%
Overdue
0
Free
20
Developer 20
Rating
(314)
Projects
563
35%
Arbitration
81
31% / 44%
Overdue
205
36%
Working
21
Developer 21
Rating
(40)
Projects
44
59%
Arbitration
2
100% / 0%
Overdue
1
2%
Working
Published: 5 codes
22
Developer 22
Rating
(2)
Projects
4
50%
Arbitration
0
Overdue
0
Working
23
Developer 23
Rating
(6)
Projects
5
0%
Arbitration
4
25% / 75%
Overdue
2
40%
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
(2668)
Projects
3400
68%
Arbitration
77
48% / 14%
Overdue
342
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
253
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
(545)
Projects
827
62%
Arbitration
33
27% / 45%
Overdue
23
3%
Free
Published: 1 code
32
Developer 32
Rating
(442)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
33
Developer 33
Rating
(298)
Projects
477
40%
Arbitration
105
40% / 24%
Overdue
81
17%
Loaded
Published: 2 codes
34
Developer 34
Rating
(27)
Projects
30
37%
Arbitration
0
Overdue
3
10%
Free
35
Developer 35
Rating
(5)
Projects
6
50%
Arbitration
0
Overdue
1
17%
Free
36
Developer 36
Rating
(258)
Projects
265
29%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
Similar orders
//+------------------------------------------------------------------+ //| 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

Project information

Budget
30+ USD
Deadline
to 5 day(s)