An Expert Advisor for 2 MA cross

MQL4 Traduzione

Lavoro terminato

Tempo di esecuzione 1 giorno
Feedback del dipendente
Very thanks for order! Please let me know if you need programmer!
Feedback del cliente
Job done in a timely manner

Specifiche

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.

Con risposta

1
Sviluppatore 1
Valutazioni
(1305)
Progetti
1734
49%
Arbitraggio
55
67% / 16%
In ritardo
38
2%
Gratuito
2
Sviluppatore 2
Valutazioni
(390)
Progetti
416
30%
Arbitraggio
74
19% / 72%
In ritardo
52
13%
In elaborazione
3
Sviluppatore 3
Valutazioni
(885)
Progetti
1410
67%
Arbitraggio
123
32% / 41%
In ritardo
217
15%
Gratuito
Pubblicati: 1 codice
4
Sviluppatore 4
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(332)
Progetti
485
40%
Arbitraggio
82
11% / 63%
In ritardo
77
16%
Gratuito
Pubblicati: 1 codice
6
Sviluppatore 6
Valutazioni
(590)
Progetti
789
71%
Arbitraggio
9
33% / 33%
In ritardo
22
3%
Gratuito
Pubblicati: 8 codici
7
Sviluppatore 7
Valutazioni
(114)
Progetti
154
47%
Arbitraggio
2
0% / 50%
In ritardo
4
3%
Gratuito
8
Sviluppatore 8
Valutazioni
(455)
Progetti
721
34%
Arbitraggio
35
71% / 9%
In ritardo
23
3%
Gratuito
9
Sviluppatore 9
Valutazioni
(88)
Progetti
143
39%
Arbitraggio
21
19% / 48%
In ritardo
30
21%
Gratuito
10
Sviluppatore 10
Valutazioni
(645)
Progetti
873
48%
Arbitraggio
29
38% / 17%
In ritardo
63
7%
Gratuito
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(1156)
Progetti
1462
63%
Arbitraggio
21
57% / 10%
In ritardo
43
3%
Gratuito
13
Sviluppatore 13
Valutazioni
(574)
Progetti
945
47%
Arbitraggio
309
58% / 27%
In ritardo
125
13%
Gratuito
14
Sviluppatore 14
Valutazioni
(36)
Progetti
50
28%
Arbitraggio
2
0% / 100%
In ritardo
6
12%
Gratuito
15
Sviluppatore 15
Valutazioni
(135)
Progetti
163
40%
Arbitraggio
11
27% / 73%
In ritardo
24
15%
Gratuito
16
Sviluppatore 16
Valutazioni
(620)
Progetti
723
33%
Arbitraggio
46
48% / 41%
In ritardo
14
2%
Occupato
17
Sviluppatore 17
Valutazioni
(1)
Progetti
1
100%
Arbitraggio
0
In ritardo
0
Gratuito
18
Sviluppatore 18
Valutazioni
(251)
Progetti
400
54%
Arbitraggio
9
67% / 22%
In ritardo
36
9%
Gratuito
Pubblicati: 2 codici
19
Sviluppatore 19
Valutazioni
(61)
Progetti
83
45%
Arbitraggio
27
11% / 70%
In ritardo
8
10%
Gratuito
20
Sviluppatore 20
Valutazioni
(96)
Progetti
143
76%
Arbitraggio
0
In ritardo
2
1%
Gratuito
21
Sviluppatore 21
Valutazioni
(69)
Progetti
146
34%
Arbitraggio
13
8% / 62%
In ritardo
26
18%
Gratuito
Pubblicati: 6 codici

Informazioni sul progetto

Budget
10 - 65 USD
Scadenze
a 7 giorno(i)