Convert this Pine Script (only 8 lines of code) strategy to MQL5 as an EA

MQL5 Esperti In conversione

Lavoro terminato

Tempo di esecuzione 12 ore
Feedback del dipendente
Thank you very much, sir :)
Feedback del cliente
Took a basic description of what I wanted, then proceeded to provide exactly what was asked. I'll be requesting personal work in the near future.

Specifiche

The following code is in Pine Script.  I need it converted to MQL5 to be applied as an EA.

strategy("Trend", overlay=true)

tim=input('160')

out1 = security(tickerid, tim, open)
out2 = security(tickerid, tim, close)

plot(out1,color=red)
plot(out2,color=green)

longCondition = crossover(out2,out1)
if (longCondition)
    strategy.entry("long", strategy.long)

shortCondition = crossunder(out2,out1)
if (shortCondition)
    strategy.entry("short", strategy.short)

Con risposta

2
Sviluppatore 2
Valutazioni
(192)
Progetti
232
30%
Arbitraggio
1
100% / 0%
In ritardo
9
4%
Gratuito
Pubblicati: 2 codici
3
Sviluppatore 3
Valutazioni
(206)
Progetti
333
35%
Arbitraggio
66
12% / 58%
In ritardo
87
26%
Gratuito
4
Sviluppatore 4
Valutazioni
(94)
Progetti
148
59%
Arbitraggio
16
38% / 13%
In ritardo
25
17%
Gratuito
Pubblicati: 1 codice

Informazioni sul progetto

Budget
30 - 50 USD
Scadenze
da 1 a 5 giorno(i)