An Expert Advisor for 2 MA cross

MQL4 Çeviri

İş tamamlandı

Tamamlanma süresi: 1 gün
Geliştirici tarafından geri bildirim
Very thanks for order! Please let me know if you need programmer!
Müşteri tarafından geri bildirim
Job done in a timely manner

Şartname

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(1305)
Projeler
1734
49%
Arabuluculuk
55
67% / 16%
Süresi dolmuş
38
2%
Serbest
2
Geliştirici 2
Derecelendirme
(390)
Projeler
416
30%
Arabuluculuk
74
19% / 72%
Süresi dolmuş
52
13%
Çalışıyor
3
Geliştirici 3
Derecelendirme
(885)
Projeler
1410
67%
Arabuluculuk
123
32% / 41%
Süresi dolmuş
217
15%
Serbest
Yayınlandı: 1 kod
4
Geliştirici 4
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
5
Geliştirici 5
Derecelendirme
(332)
Projeler
485
40%
Arabuluculuk
82
11% / 63%
Süresi dolmuş
77
16%
Serbest
Yayınlandı: 1 kod
6
Geliştirici 6
Derecelendirme
(590)
Projeler
789
71%
Arabuluculuk
9
33% / 33%
Süresi dolmuş
22
3%
Serbest
Yayınlandı: 8 kod
7
Geliştirici 7
Derecelendirme
(114)
Projeler
154
47%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
4
3%
Serbest
8
Geliştirici 8
Derecelendirme
(455)
Projeler
721
34%
Arabuluculuk
35
71% / 9%
Süresi dolmuş
23
3%
Serbest
9
Geliştirici 9
Derecelendirme
(88)
Projeler
143
39%
Arabuluculuk
21
19% / 48%
Süresi dolmuş
30
21%
Serbest
10
Geliştirici 10
Derecelendirme
(645)
Projeler
873
48%
Arabuluculuk
29
38% / 17%
Süresi dolmuş
63
7%
Serbest
11
Geliştirici 11
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(1156)
Projeler
1462
63%
Arabuluculuk
21
57% / 10%
Süresi dolmuş
43
3%
Serbest
13
Geliştirici 13
Derecelendirme
(574)
Projeler
945
47%
Arabuluculuk
309
58% / 27%
Süresi dolmuş
125
13%
Serbest
14
Geliştirici 14
Derecelendirme
(36)
Projeler
50
28%
Arabuluculuk
2
0% / 100%
Süresi dolmuş
6
12%
Serbest
15
Geliştirici 15
Derecelendirme
(135)
Projeler
163
40%
Arabuluculuk
11
27% / 73%
Süresi dolmuş
24
15%
Serbest
16
Geliştirici 16
Derecelendirme
(620)
Projeler
723
33%
Arabuluculuk
46
48% / 41%
Süresi dolmuş
14
2%
Meşgul
17
Geliştirici 17
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
18
Geliştirici 18
Derecelendirme
(251)
Projeler
400
54%
Arabuluculuk
9
67% / 22%
Süresi dolmuş
36
9%
Serbest
Yayınlandı: 2 kod
19
Geliştirici 19
Derecelendirme
(61)
Projeler
83
45%
Arabuluculuk
27
11% / 70%
Süresi dolmuş
8
10%
Serbest
20
Geliştirici 20
Derecelendirme
(96)
Projeler
143
76%
Arabuluculuk
0
Süresi dolmuş
2
1%
Serbest
21
Geliştirici 21
Derecelendirme
(69)
Projeler
146
34%
Arabuluculuk
13
8% / 62%
Süresi dolmuş
26
18%
Serbest
Yayınlandı: 6 kod

Proje bilgisi

Bütçe
10 - 65 USD
Son teslim tarihi
to 7 gün