Indicator buffers issue
-
I have a mql5 HMA indicator I'm trying to use in an EA, the problem I am having is the buffers don't seem to be separately defined. FXDreema picked up on 2 buffers but the Logic points tester shows that neither of the 2 turn on/off when the color changes. any help is greatly appreciated.
......
colorhma.mq5
Untitled.png -
read data only from buffer0, so if buffer0 < 0 than it is "color1" and when buffer0 > 0 than it is "color2"
dont use buffer1 because it is filled with color0 before comparing and setting to right color -
so there is no way to distinguish between the 2 colors using buffers?
-
I dont know this because I am not using it this way. Maybe it is possible with blocks Condition for Indicators

You can try solution with my previous post -
oh i see ok, thank you
-
I don't fully understand how indicators work, in the case I don't know how and why there are 3 colors like that. If you can get any good value from the indicator, try to find a way to detect when colors change by working with buffer's values