Horizontal Line indicator - Custom

MQL4 Indicadores Scripts

Trabalho concluído

Tempo de execução 2 dias

Termos de Referência

Requiring a custom indicator that paints a horizontal line for every candle close(in any timeframe) - have the option to show/hide in different timeframe for the lines drawn by the custom indicator!

 Requirement:

Upon candle close:

 - calculate that candle's [HIGH-LOW]/2 === VALUE X

 - calculate the range of [CLOSE-OPEN OR OPEN-CLOSE] depending on long/short candle ===== RANGE Y

IF(For that candle that just closed)

 VALUE X is within(OR equals) RANGE Y, then DRAW Horizontal Line with VALUE = X (make sure there is option for color selection for the line)

 ELSE

Do not draw that line.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------- 

 More complex criteria to add to the above:

there must be a validation check on existing horizontal lines drawn to "delete" itself IF the value of such lines falls within RANGE Y of new candle closed.

The existing line drawn can still stay if stays outside the range of RANGE Y, and create a "spike" on support/resistance

 

 

Respondido

1
Desenvolvedor 1
Classificação
(626)
Projetos
986
47%
Arbitragem
33
36% / 36%
Expirado
98
10%
Carregado
Publicou: 6 códigos
2
Desenvolvedor 2
Classificação
(107)
Projetos
149
36%
Arbitragem
29
3% / 55%
Expirado
35
23%
Livre
3
Desenvolvedor 3
Classificação
(103)
Projetos
205
41%
Arbitragem
17
29% / 71%
Expirado
45
22%
Livre
4
Desenvolvedor 4
Classificação
(1156)
Projetos
1462
63%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
5
Desenvolvedor 5
Classificação
(772)
Projetos
1039
44%
Arbitragem
50
8% / 50%
Expirado
116
11%
Livre
6
Desenvolvedor 6
Classificação
(312)
Projetos
521
47%
Arbitragem
29
10% / 45%
Expirado
139
27%
Trabalhando
7
Desenvolvedor 7
Classificação
(806)
Projetos
1126
43%
Arbitragem
47
49% / 23%
Expirado
84
7%
Livre
8
Desenvolvedor 8
Classificação
(41)
Projetos
72
8%
Arbitragem
18
11% / 56%
Expirado
18
25%
Livre
9
Desenvolvedor 9
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
1
100%
Livre

Informações sobre o projeto

Orçamento
10 - 30 USD
Prazo
de 1 para 7 dias