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
評価
(1051)
プロジェクト
1388
45%
仲裁
46
72% / 13%
期限切れ
35
3%
2
開発者 2
評価
(372)
プロジェクト
394
31%
仲裁
61
20% / 67%
期限切れ
47
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
評価
(326)
プロジェクト
510
32%
仲裁
23
61% / 9%
期限切れ
14
3%
仕事中
9
開発者 9
評価
(88)
プロジェクト
143
39%
仲裁
21
19% / 48%
期限切れ
30
21%
10
開発者 10
評価
(512)
プロジェクト
717
44%
仲裁
23
39% / 13%
期限切れ
63
9%
取り込み中
11
開発者 11
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
12
開発者 12
評価
(1117)
プロジェクト
1418
61%
仲裁
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
評価
(386)
プロジェクト
438
34%
仲裁
24
38% / 46%
期限切れ
6
1%
仕事中
17
開発者 17
評価
(1)
プロジェクト
1
100%
仲裁
0
期限切れ
0
18
開発者 18
評価
(251)
プロジェクト
399
54%
仲裁
9
67% / 22%
期限切れ
36
9%
19
開発者 19
評価
(49)
プロジェクト
68
44%
仲裁
21
14% / 67%
期限切れ
8
12%
仕事中
20
開発者 20
評価
(95)
プロジェクト
141
75%
仲裁
0
期限切れ
2
1%
21
開発者 21
評価
(66)
プロジェクト
143
34%
仲裁
10
10% / 60%
期限切れ
26
18%

プロジェクト情報

予算
10 - 65 USD
開発者用
9 - 58.5 USD
締め切り
最高 7 日