Cannot read color bars histogram in custom indicators
-
Hello, I am trying to read the color bars of the histogram in some custom indicators I have. For example, for the following custom indicator:
0_1579787260376_HAWKEYE_VOLUME_modif2.mq4
I want the EA to place a buy order when the bar in the histogram is green. This is what i have done:

For some reason, nothing happens. I also tried to do the following:
Effort 1:

Effort 2:

Effort 3:

Effort 4:

Again no trade takes place.
I tried the same things with another indicator and still the same problem.
Why the EA cannot read the green bar? Any ideas?
Thank you
-
@tns This is how the indicator looks on the chart:

-
try using indicator appear block with candle id 1 and the right buffer
-
@fabien-s Thank you, that works!
-
@tns HOLA TNS TENGO EL MISMO PROBLEMA QUE TU, TENGO UN INDICADOR QUE ME DA LA LINEA DE COLOR VERDE Y QUIERO HACER QUE ABRA UNA OPERACION DE COMPRA. YA INTENTE TAMBIEN VARIAS FORMAS Y NO HE PODIDO CONSEGUIRLO.
¿NO SE SI PUDISTE SOLUCIONAR EL PROBLEMA? SI ES ASI, PUEDES COMPARTIRME TU SOLUCION, TE LO VOY AGRADECER. -
@javier-dl Depende de cada indicador. No todos son correctamente identificados por fxDreema. ¿Puedes compartir el enlace que muestra tu proyecto para poderlo comprobar?