An Expert Advisor for 2 MA cross

MQL4 翻译

工作已完成

执行时间1 一天
员工反馈
Very thanks for order! Please let me know if you need programmer!
客户反馈
Job done in a timely manner

指定

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.

附加的文件:

反馈

1
开发者 1
等级
(1053)
项目
1390
45%
仲裁
46
72% / 13%
逾期
35
3%
空闲
2
开发者 2
等级
(373)
项目
395
31%
仲裁
61
20% / 67%
逾期
48
12%
已载入
3
开发者 3
等级
(878)
项目
1390
67%
仲裁
117
32% / 42%
逾期
215
15%
空闲
4
开发者 4
等级
项目
0
0%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(320)
项目
466
42%
仲裁
78
12% / 63%
逾期
75
16%
工作中
6
开发者 6
等级
(590)
项目
789
71%
仲裁
9
33% / 33%
逾期
22
3%
空闲
7
开发者 7
等级
(114)
项目
154
47%
仲裁
2
0% / 50%
逾期
4
3%
空闲
8
开发者 8
等级
(327)
项目
517
32%
仲裁
23
65% / 9%
逾期
15
3%
空闲
9
开发者 9
等级
(88)
项目
143
39%
仲裁
21
19% / 48%
逾期
30
21%
空闲
10
开发者 10
等级
(520)
项目
727
45%
仲裁
23
39% / 13%
逾期
63
9%
工作中
11
开发者 11
等级
项目
0
0%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
(1117)
项目
1419
62%
仲裁
21
57% / 10%
逾期
43
3%
空闲
13
开发者 13
等级
(555)
项目
922
48%
仲裁
300
59% / 25%
逾期
123
13%
工作中
14
开发者 14
等级
(36)
项目
50
28%
仲裁
2
0% / 100%
逾期
6
12%
空闲
15
开发者 15
等级
(135)
项目
163
40%
仲裁
11
27% / 73%
逾期
25
15%
空闲
16
开发者 16
等级
(403)
项目
457
33%
仲裁
24
42% / 46%
逾期
6
1%
工作中
17
开发者 17
等级
(1)
项目
1
100%
仲裁
0
逾期
0
空闲
18
开发者 18
等级
(251)
项目
399
54%
仲裁
9
67% / 22%
逾期
36
9%
空闲
19
开发者 19
等级
(51)
项目
70
43%
仲裁
21
14% / 67%
逾期
8
11%
空闲
20
开发者 20
等级
(96)
项目
142
75%
仲裁
0
逾期
2
1%
空闲
21
开发者 21
等级
(66)
项目
143
34%
仲裁
10
10% / 60%
逾期
26
18%
工作中

项目信息

预算
10 - 65 USD
开发人员
9 - 58.5 USD
截止日期
 7 天