An Expert Advisor for 2 MA cross

2020.03.26 Translation

Job finished

Execution time 1 day
Feedback from employee
Very thanks for order! Please let me know if you need programmer!
Feedback from customer
Job done in a timely manner

Specification

Just an EA I can attach to a chart so once Slow EMA crosses the Fast EMA (slow EMA is above the fast EMA) I want the EA to enter a short position and once the Fast EMA crosses the slow EMA (the fast EMA is above the slow) I want the EA to buy and enter long. I want the EMA to close orders at the intersection of the EMAs and enter a position either by buying or selling.

MA's time frame as per the launched pair.

MA's values must be fully configurable: Period, Method (exponential, simple,...), Apply to (open, close,...) 

No need to close multiple EA's as I will run just one EA per pair/account so it can work by using the same magic number as the running EA.

Specifications:

1.       1.  An EA that trades at the intersection of 2 MAs based on the closing of the previous bar.

2.       2.  EA Signal is based on the previous candle.

3.       3.  A trailing stop loss.

4.      4.   Trend is determined based on the Exponential Moving Average with the specified period (InpMATrendPeriod). If the fast EMA value is greater than the previous one, the trend is seen as growing (ema_fast > ema_slow). Alternatively, if fast EMA is below the previous one, the trend is considered to be falling (ema_fast< ema_slow).

5.     5.  Trading Signals:

  • Buy signal: the fast MA line crosses the slow MA line upwards (ema_fast > ema_slow)
  • Sell signal: the main fast MA line crosses the slow MA line downwards (ema_fast< ema_slow). The below figure shows Buy and Sell cases.

6. Positions are closed at opposite signals: Buy positions are closed at Sell signals, and Sell positions are closed at Buy signals.

7. Positions are opened at the market price, when a new bar emerges. The Expert Advisor is to be tested using Open prices (for buying and selling signal) and Close prices (for the MA intersection signal and closing open orders).

 


Parameters:

Fast EMA period: 20

Slow EMA period: 7

shift for both fast and slow : 0

Slippage:0

TakeProfit: 0

StopLoss:0

The takeprofit is Zero as it will takeprofit / loss at the intersection by closing the orders



Any question, please, just ask.


Thank you.

Responded

1
Developer 1
2020.03.26
Rating
4.91
(400)
Projects
527
41%
Arbitration
20
65% / 20%
Overdue
26
5%
Free
2
Developer 2
2020.03.26
Rating
4.74
(19)
Projects
20
20%
Arbitration
6
0% / 50%
Overdue
3
15%
Loaded
3
Developer 3
2020.03.26
Rating
4.89
(738)
Projects
1144
66%
Arbitration
107
29% / 44%
Overdue
249
22%
Working
4
Developer 4
2020.03.26
Rating
0
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
2020.03.26
Rating
4.87
(197)
Projects
281
36%
Arbitration
66
11% / 64%
Overdue
82
29%
Loaded
6
Developer 6
2020.03.26
Rating
4.98
(502)
Projects
665
69%
Arbitration
9
33% / 33%
Overdue
34
5%
Loaded
7
Developer 7
2020.03.26
Rating
4.98
(87)
Projects
117
44%
Arbitration
1
0% / 0%
Overdue
5
4%
Working
8
Developer 8
2020.03.26
Rating
4.78
(51)
Projects
69
23%
Arbitration
2
0% / 50%
Overdue
1
1%
Working
9
Developer 9
2020.03.26
Rating
4.83
(35)
Projects
53
25%
Arbitration
15
27% / 40%
Overdue
14
26%
Working
10
Developer 10
2020.03.26
Rating
4.88
(154)
Projects
282
29%
Arbitration
18
39% / 17%
Overdue
69
24%
Working
11
Developer 11
2020.03.26
Rating
0
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
2020.03.26
Rating
4.98
(654)
Projects
802
56%
Arbitration
16
63% / 13%
Overdue
46
6%
Working
13
Developer 13
2020.03.26
Rating
4.83
(379)
Projects
676
49%
Arbitration
219
55% / 27%
Overdue
139
21%
Loaded
14
Developer 14
2020.03.26
Rating
5
(10)
Projects
13
15%
Arbitration
1
0% / 100%
Overdue
6
46%
Working
15
Developer 15
2020.03.26
Rating
4.43
(14)
Projects
19
42%
Arbitration
1
0% / 100%
Overdue
4
21%
Free
16
Developer 16
2020.03.26
Rating
5
(72)
Projects
84
30%
Arbitration
13
31% / 38%
Overdue
4
5%
Busy
17
Developer 17
2020.03.26
Rating
5
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
18
Developer 18
2020.03.26
Rating
4.99
(145)
Projects
225
52%
Arbitration
4
25% / 25%
Overdue
36
16%
Working
19
Developer 19
2020.03.27
Rating
4.75
(28)
Projects
38
42%
Arbitration
13
15% / 62%
Overdue
6
16%
Working
20
Developer 20
2020.03.27
Rating
5
(28)
Projects
33
55%
Arbitration
0
Overdue
1
3%
Working
21
Developer 21
2020.03.27
Rating
4.85
(55)
Projects
122
32%
Arbitration
7
14% / 71%
Overdue
30
25%
Working

Project information

Budget
10 - 65 USD
For the developer
9 - 58.5 USD
Deadlines
to 7 day(s)