EMA Crossover Strategy

MQL5 Experts Scripts

Spécifications

Hi.

I have currently written the basis of a simple EMA cross strategy using TradingView Pine script, however it needs work, and I'd like it to be done on MLQ5 for use on metatrader.


The criteria is as follows:


Based on 1H timeframe

Uses 55 and 110 ema's


Entry Criteria

Short: 55 ema cross over 110 ema

Long: 110 ema cross over 55 ema


Exit Criteria

Short TP: -0.4% price difference from entry

Short SL: +0.4% price difference from entry

Short Alt Exit: If Long is signalled


Long TP: +0.4% price difference from entry

Long SL: -0.4% price difference from entry

Long Alt Exit: If Short is signalled


Risk Parameters

2% risk on every trade

No Pyramiding, ie. only 1 open trade for any one currency pair at a time.

Optional trailing stop?


Instruments & Directions

I want to be ably to apply the code on specified pairs in specified directions based on previous backtesting. For example, below are the profitable combinations for 2019, so I'd like to be able to do a similar thing but on a larger backtesting period to maximise profitability.


AUDCAD - Short Only

AUDCHF - Short Only

AUDJPY - Long & Short

AUDNZD - Short Only

CADJPY - Long & Short

CHFJPY - Short Only

EURAUD - Short Only

EURCHF - Short Only

EURGBP - Long & Short

EURJPY - Short Only

EURNZD - Long Only

EURUSD - Long & Short

GBPAUD - Short Only

GBPCAD - Short Only

GBPCHF - Long & Short

GBPJPY - Long & Short

GBPNZD - Short Only

GBPUSD - Short Only

NZDCAD - Long & Short

NZDCHF - Short Only

NZDJPY - Long & Short

NZDUSD - Long & Short

USDCHF - Long & Short

USDJPY - Long Only

XAUUSD - Long Only

USOIL - Long Only

US30 - Short Only

Répondu

1
Développeur 1
Évaluation
(590)
Projets
789
71%
Arbitrage
9
33% / 33%
En retard
22
3%
Gratuit
Publié : 8 codes
2
Développeur 2
Évaluation
(19)
Projets
24
17%
Arbitrage
7
0% / 71%
En retard
3
13%
Gratuit
Publié : 2 articles, 3 codes
3
Développeur 3
Évaluation
(647)
Projets
1295
67%
Arbitrage
84
26% / 49%
En retard
338
26%
Gratuit
4
Développeur 4
Évaluation
(119)
Projets
127
41%
Arbitrage
3
33% / 67%
En retard
0
Gratuit
5
Développeur 5
Évaluation
(28)
Projets
30
63%
Arbitrage
0
En retard
4
13%
Gratuit
Publié : 1 code
6
Développeur 6
Évaluation
(94)
Projets
148
59%
Arbitrage
16
38% / 13%
En retard
25
17%
Gratuit
Publié : 1 code
7
Développeur 7
Évaluation
(45)
Projets
91
13%
Arbitrage
34
26% / 59%
En retard
37
41%
Gratuit
8
Développeur 8
Évaluation
(52)
Projets
89
25%
Arbitrage
8
75% / 13%
En retard
44
49%
Gratuit
9
Développeur 9
Évaluation
(511)
Projets
549
53%
Arbitrage
13
69% / 15%
En retard
3
1%
Gratuit
10
Développeur 10
Évaluation
(349)
Projets
463
51%
Arbitrage
41
24% / 49%
En retard
149
32%
Gratuit
11
Développeur 11
Évaluation
(1927)
Projets
3545
88%
Arbitrage
73
40% / 15%
En retard
268
8%
Gratuit
12
Développeur 12
Évaluation
(29)
Projets
49
22%
Arbitrage
14
29% / 21%
En retard
13
27%
Gratuit
13
Développeur 13
Évaluation
(96)
Projets
143
76%
Arbitrage
0
En retard
2
1%
Gratuit
14
Développeur 14
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
15
Développeur 15
Évaluation
(3)
Projets
2
0%
Arbitrage
7
0% / 86%
En retard
0
Gratuit
16
Développeur 16
Évaluation
(564)
Projets
844
73%
Arbitrage
15
53% / 13%
En retard
193
23%
Gratuit
17
Développeur 17
Évaluation
(294)
Projets
470
39%
Arbitrage
102
40% / 24%
En retard
78
17%
Chargé
Publié : 2 codes
18
Développeur 18
Évaluation
(135)
Projets
163
40%
Arbitrage
11
27% / 73%
En retard
24
15%
Gratuit
19
Développeur 19
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
20
Développeur 20
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
21
Développeur 21
Évaluation
(8)
Projets
13
85%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
22
Développeur 22
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
23
Développeur 23
Évaluation
(1)
Projets
1
0%
Arbitrage
2
0% / 100%
En retard
0
Gratuit

Informations sur le projet

Budget
50 - 200 USD
Délais
à 14 jour(s)