Qustion for real programmers
-
I have a problem with the following custom indicator:
0_1572026231216_Heiken_Ashi_Smoothed.mq4
It draws bars with two colours, red and green. Bar's bodies can be red or green and wicks can also be red and green, combining both possibilities (bodies and wicks with different colour.
I want it for this EA:
https://fxdreema.com/shared/BckotxM1c
Unfortunately, none of the four buffers the biulder can identify work as I want. I took a look on the code and I see up to eight different buffers. Could a real programmer tell me which buffers can give the information related to the colour of the bar's body/wick, please?
-

i tried looking at how each buffer traces
-
How can you do that? I can't see those colours on my MT4.
-
@l-andorrà Not a programmer, but.

If you change right at the beginning at property where it writes buffers 4 to 8, You will get four more black visible buffers.
Checked it out with buffers explorer, and you could do a crossover with buffers 6 and 7. -
@l-andorrà It looks like if Buffer0 and Buffer2 have same value it's green and if Buffer 1 and Buffer3 have same value it's red. Does that makes sense? Is the wick important?
-
I have now seen the post, Smothed hhashi is a nice indicator, but it is also slow, and I always simplify it in this way, I hope it is useful to everyone, when the crossings between the two moving averages arrive the indicator changes color(little repainting)

-
I found the solution on a different forum. Thank you all for hyour help, though.

-
@l-andorrà And what is the solution?
-
Using a different indicator, LOL! XD