I need to convert a TRADING VIEW PINE CODE to MQL5. and create an expert based on it

MQL5 Experts Convertir

Tâche terminée

Temps d'exécution 3 jours
Commentaires du client
very nice job

Spécifications

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)


Répondu

1
Développeur 1
Évaluation
(810)
Projets
1385
72%
Arbitrage
113
29% / 48%
En retard
343
25%
Travail
2
Développeur 2
Évaluation
(130)
Projets
210
40%
Arbitrage
90
20% / 43%
En retard
85
40%
Gratuit
3
Développeur 3
Évaluation
(137)
Projets
167
35%
Arbitrage
11
91% / 0%
En retard
0
Gratuit
4
Développeur 4
Évaluation
(75)
Projets
127
53%
Arbitrage
5
20% / 60%
En retard
20
16%
Travail
5
Développeur 5
Évaluation
(564)
Projets
933
47%
Arbitrage
302
59% / 25%
En retard
125
13%
Chargé
6
Développeur 6
Évaluation
(11)
Projets
17
59%
Arbitrage
2
0% / 100%
En retard
2
12%
Gratuit

Informations sur le projet

Budget
30 - 130 USD
Pour le développeur
27 - 117 USD
Délais
à 3 jour(s)