Tarea técnica
Can anyone please code this indicator. Range bar has the following properties:-
1. Each bar is the same height because the range is constant.
2. The close of a bar is always at the high or low of the bar.
3. The open of a bar is always one tick or pip below or above the close of the preceding bar.
4. The time period covered by each bar varies since time is irrelevant to range bars.
The varying parameter which has to be inputted by us externally would be bar height which would be different for each scrip.
Example:- Suppose a stock is at 100 right now and we define a bar height of 5 points. So the indicator should keep a watch on price movement and next bar shall be wither from 99.95 to 95 OR 100.05 to 105 (5 points). So the indicator should plot next bar till 105 or 95 (irrespective of time, if the price remains from 100.05 to 105 for whole day, it wud plot only one bar for the day) and next bar would only start at 105.05 or 94.95 on other side.
1. Each bar is the same height because the range is constant.
2. The close of a bar is always at the high or low of the bar.
3. The open of a bar is always one tick or pip below or above the close of the preceding bar.
4. The time period covered by each bar varies since time is irrelevant to range bars.
The varying parameter which has to be inputted by us externally would be bar height which would be different for each scrip.
Example:- Suppose a stock is at 100 right now and we define a bar height of 5 points. So the indicator should keep a watch on price movement and next bar shall be wither from 99.95 to 95 OR 100.05 to 105 (5 points). So the indicator should plot next bar till 105 or 95 (irrespective of time, if the price remains from 100.05 to 105 for whole day, it wud plot only one bar for the day) and next bar would only start at 105.05 or 94.95 on other side.
And we would use these bars in inside an EA which handles multiple scrips at a time.
Regards
Han respondido
1
Evaluación
Proyectos
342
42%
Arbitraje
118
12%
/
73%
Caducado
104
30%
Libre
Ha publicado: 4 ejemplos
2
Evaluación
Proyectos
254
53%
Arbitraje
16
50%
/
38%
Caducado
83
33%
Libre
3
Evaluación
Proyectos
5
20%
Arbitraje
2
50%
/
0%
Caducado
0
Libre
4
Evaluación
Proyectos
16
19%
Arbitraje
1
0%
/
100%
Caducado
5
31%
Libre
5
Evaluación
Proyectos
5
60%
Arbitraje
3
0%
/
67%
Caducado
0
Libre
6
Evaluación
Proyectos
218
50%
Arbitraje
6
17%
/
67%
Caducado
11
5%
Libre
Información sobre el proyecto
Presupuesto
Plazo límite de ejecución
a 3 día(s)