Auftrag beendet
Ausführungszeit 3 Tage
I need to convert a very simple code on PINE to MQL5 and create a simple expert based on this signal to buy or sell.
This expert needs to have a leverage variant to define size. Also the same indicator in another timeframe and with diff setups will work as a stop.
This is the PINE code:
src = input(close)
length = input(10)
a = 0.,b = 0.
a := max(src,nz(a[1])) - nz(a[1] - b[1])/length
b := min(src,nz(b[1])) + nz(a[1] - b[1])/length
avg = avg(a,b)
plot(avg,"Average",color=orange,linewidth=2,transp=0)
Bewerbungen
Schlichtung
122
29%
/
48%
Frist nicht eingehalten
361
25%
Veröffentlicht: 3 Artikel
Frist nicht eingehalten
85
40%
Frist nicht eingehalten
0
Frist nicht eingehalten
22
15%
Schlichtung
309
58%
/
27%
Frist nicht eingehalten
125
13%
Frist nicht eingehalten
2
12%