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

MQL5 Experten Konvertierung

Auftrag beendet

Ausführungszeit 12 Stunden
Bewertung des Entwicklers
Thank you very much, sir :)
Bewertung des Kunden
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.

Spezifikation

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)

Bewerbungen

2
Entwickler 2
Bewertung
(192)
Projekte
232
30%
Schlichtung
1
100% / 0%
Frist nicht eingehalten
9
4%
Frei
Veröffentlicht: 2 Beispiele
3
Entwickler 3
Bewertung
(206)
Projekte
333
35%
Schlichtung
66
12% / 58%
Frist nicht eingehalten
87
26%
Frei
4
Entwickler 4
Bewertung
(94)
Projekte
148
59%
Schlichtung
16
38% / 13%
Frist nicht eingehalten
25
17%
Frei
Veröffentlicht: 1 Beispiel

Projektdetails

Budget
30 - 50 USD
Ausführungsfristen
von 1 bis 5 Tag(e)