EMA Crossover Strategy

MQL5 Esperti Script

Specifiche

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

Con risposta

1
Sviluppatore 1
Valutazioni
(590)
Progetti
789
71%
Arbitraggio
9
33% / 33%
In ritardo
22
3%
Gratuito
2
Sviluppatore 2
Valutazioni
(19)
Progetti
24
17%
Arbitraggio
7
0% / 71%
In ritardo
3
13%
Gratuito
3
Sviluppatore 3
Valutazioni
(647)
Progetti
1295
67%
Arbitraggio
84
26% / 49%
In ritardo
338
26%
Gratuito
4
Sviluppatore 4
Valutazioni
(119)
Progetti
127
41%
Arbitraggio
3
33% / 67%
In ritardo
0
Gratuito
5
Sviluppatore 5
Valutazioni
(28)
Progetti
30
63%
Arbitraggio
0
In ritardo
4
13%
Gratuito
6
Sviluppatore 6
Valutazioni
(94)
Progetti
148
59%
Arbitraggio
16
38% / 13%
In ritardo
25
17%
Gratuito
7
Sviluppatore 7
Valutazioni
(42)
Progetti
88
14%
Arbitraggio
31
29% / 55%
In ritardo
36
41%
In elaborazione
8
Sviluppatore 8
Valutazioni
(48)
Progetti
80
28%
Arbitraggio
8
75% / 13%
In ritardo
41
51%
Gratuito
9
Sviluppatore 9
Valutazioni
(481)
Progetti
510
53%
Arbitraggio
10
60% / 20%
In ritardo
3
1%
Gratuito
10
Sviluppatore 10
Valutazioni
(349)
Progetti
463
51%
Arbitraggio
41
24% / 49%
In ritardo
149
32%
Gratuito
11
Sviluppatore 11
Valutazioni
(1859)
Progetti
3463
88%
Arbitraggio
73
40% / 15%
In ritardo
265
8%
Gratuito
12
Sviluppatore 12
Valutazioni
(28)
Progetti
47
23%
Arbitraggio
13
31% / 15%
In ritardo
12
26%
Gratuito
13
Sviluppatore 13
Valutazioni
(96)
Progetti
143
76%
Arbitraggio
0
In ritardo
2
1%
Gratuito
14
Sviluppatore 14
Valutazioni
(564)
Progetti
933
47%
Arbitraggio
302
59% / 25%
In ritardo
125
13%
Caricato
15
Sviluppatore 15
Valutazioni
(3)
Progetti
2
0%
Arbitraggio
7
0% / 86%
In ritardo
0
Gratuito
16
Sviluppatore 16
Valutazioni
(550)
Progetti
827
73%
Arbitraggio
15
53% / 13%
In ritardo
193
23%
In elaborazione
17
Sviluppatore 17
Valutazioni
(261)
Progetti
425
38%
Arbitraggio
86
44% / 19%
In ritardo
71
17%
Caricato
18
Sviluppatore 18
Valutazioni
(135)
Progetti
163
40%
Arbitraggio
11
27% / 73%
In ritardo
25
15%
Gratuito
19
Sviluppatore 19
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
21
Sviluppatore 21
Valutazioni
(8)
Progetti
13
85%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
(66)
Progetti
143
34%
Arbitraggio
10
10% / 60%
In ritardo
26
18%
Gratuito
23
Sviluppatore 23
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
2
0% / 100%
In ritardo
0
Gratuito
Ordini simili
I’m looking for someone experienced with Think or Swim to create a backtesting script for an in-the-money Iron Condor strategy using options on the SPX. The strategy involves setting up 10 contracts of an Iron Condor with a 10-point spread width and a net credit requirement of $11 per contract. The goal is to backtest the performance over the last three years, focusing on trades where the SPX closes outside a
I currently have a license code that connects to my web server, and I add the account number, client name, and expiration date. I’d like something more automated. Currently I allow clients 10 licenses, but adding for them on my side can get exhausting. I’d like a better solution for myself and clients

Informazioni sul progetto

Budget
50 - 200 USD
Per lo sviluppatore
45 - 180 USD
Scadenze
a 14 giorno(i)