Indicators - amplitude of the latest X bars

MQL5 Indicadores

Tarea técnica


create two indicators with same logic but different visualizations

the logic is 
identify if the last bar has the highest or lowest amplitude compared to the latest X bars
amplitude can be ( open and close / high and low )
X is a input value, is the numbers of bars to compare (10 = ten bars back; 50 = fifty bars back)

visualization 1
if bar is the highest amplitude and is an up bar, then indicator is (1)
if bar is the highest amplitude and is a down bar, then indicator is (-1)

visualization 2
plot the indicator value

Han respondido

1
Desarrollador 1
Evaluación
(563)
Proyectos
932
47%
Arbitraje
302
59% / 25%
Caducado
124
13%
Ocupado
2
Desarrollador 2
Evaluación
(726)
Proyectos
1046
39%
Arbitraje
47
49% / 23%
Caducado
84
8%
Libre
3
Desarrollador 3
Evaluación
(11)
Proyectos
17
59%
Arbitraje
2
0% / 100%
Caducado
2
12%
Libre
4
Desarrollador 4
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(38)
Proyectos
61
30%
Arbitraje
5
20% / 40%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre

Información sobre el proyecto

Presupuesto
30+ USD
Para el ejecutor
27 USD
Plazo límite de ejecución
de 1 a 2 día(s)