Add Supertrend function for EA

MQL5 Experts

Trabalho concluído

Tempo de execução 7 dias
Comentário do desenvolvedor
5+

Termos de Referência

I have a working self developed EA, dealing with US30. 


I want to add a SuperTrend function to it. Supertrend is an indicator from TradingView. You can check it there. The Code is public and free. 


The function shall return the SuperTrend of the current time of the tick. I just need the Source Code.


Variable: 

TimeFrame M5,15,M30,H1,D1

Return: true or false

Example: 

bool UpTrend = SuperTrendUp(_Symbol,PERIOD_CURRENT);

bool DownTrend = !SuperTrendUp(_Symbol,PERIOD_CURRENT);




Respondido

1
Desenvolvedor 1
Classificação
(77)
Projetos
131
50%
Arbitragem
5
80% / 0%
Expirado
6
5%
Livre
2
Desenvolvedor 2
Classificação
(236)
Projetos
440
26%
Arbitragem
125
21% / 57%
Expirado
96
22%
Trabalhando
3
Desenvolvedor 3
Classificação
(213)
Projetos
246
45%
Arbitragem
42
10% / 57%
Expirado
5
2%
Livre
4
Desenvolvedor 4
Classificação
(563)
Projetos
932
47%
Arbitragem
302
59% / 25%
Expirado
124
13%
Ocupado
5
Desenvolvedor 5
Classificação
(259)
Projetos
420
38%
Arbitragem
86
44% / 19%
Expirado
70
17%
Ocupado
6
Desenvolvedor 6
Classificação
(4)
Projetos
5
0%
Arbitragem
5
0% / 80%
Expirado
2
40%
Livre

Informações sobre o projeto

Orçamento
30+ USD
Desenvolvedor
27 USD
Prazo
de 1 para 3 dias