Trabalho concluído
Tempo de execução 3 dias
![](https://c.mql5.com/i/avatar/avatar_na2.png)
Comentário do cliente
very nice job
Termos de Referência
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:
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)
plot(avg,"Average",color=orange,linewidth=2,transp=0)
Respondido
1
Classificação
Projetos
1372
72%
Arbitragem
112
29%
/
48%
Expirado
341
25%
Trabalhando
2
Classificação
Projetos
210
40%
Arbitragem
90
20%
/
43%
Expirado
85
40%
Livre
3
Classificação
Projetos
167
35%
Arbitragem
11
91%
/
0%
Expirado
0
Livre
4
Classificação
Projetos
121
52%
Arbitragem
4
25%
/
75%
Expirado
19
16%
Livre
5
Classificação
Projetos
932
47%
Arbitragem
301
59%
/
25%
Expirado
124
13%
Trabalhando
6
Classificação
Projetos
17
59%
Arbitragem
2
0%
/
100%
Expirado
2
12%
Livre
Informações sobre o projeto
Orçamento
30 - 130 USD
Desenvolvedor
27
- 117
USD
Prazo
para 3 dias