Horizontal Line indicator - Custom

MQL4 Indicadores Sripts

Trabajo finalizado

Plazo de ejecución 2 días

Tarea técnica

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

 

 

Han respondido

1
Desarrollador 1
Evaluación
(624)
Proyectos
981
47%
Arbitraje
32
38% / 34%
Caducado
96
10%
Trabaja
Ha publicado: 6 ejemplos
2
Desarrollador 2
Evaluación
(107)
Proyectos
149
36%
Arbitraje
29
3% / 55%
Caducado
35
23%
Libre
3
Desarrollador 3
Evaluación
(103)
Proyectos
205
41%
Arbitraje
17
29% / 71%
Caducado
45
22%
Libre
4
Desarrollador 4
Evaluación
(1156)
Proyectos
1462
63%
Arbitraje
21
57% / 10%
Caducado
43
3%
Libre
5
Desarrollador 5
Evaluación
(772)
Proyectos
1039
44%
Arbitraje
50
8% / 50%
Caducado
116
11%
Libre
6
Desarrollador 6
Evaluación
(312)
Proyectos
521
47%
Arbitraje
29
10% / 45%
Caducado
139
27%
Trabaja
7
Desarrollador 7
Evaluación
(803)
Proyectos
1123
43%
Arbitraje
47
49% / 23%
Caducado
84
7%
Libre
8
Desarrollador 8
Evaluación
(41)
Proyectos
72
8%
Arbitraje
18
11% / 56%
Caducado
18
25%
Libre
9
Desarrollador 9
Evaluación
Proyectos
1
0%
Arbitraje
0
Caducado
1
100%
Libre

Información sobre el proyecto

Presupuesto
10 - 30 USD
Plazo límite de ejecución
de 1 a 7 día(s)