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
(847)
Projets
1449
72%
Arbitrage
120
28% / 47%
En retard
355
24%
Travail
Publié : 3 articles
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
(83)
Projets
143
52%
Arbitrage
8
13% / 75%
En retard
22
15%
Gratuit
5
Développeur 5
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
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
Délais
à 3 jour(s)