Get value from data window to see if indicator is visible
-
Hello,
as the default Zigzag indicator doesn't recognize all highs and lows correctly, I want to use a different Zigzag indicator.
This one: alexstal_zigzagprof.mq5
In order to use it in an Fxdreema EA, I have to identify the candles where it is visible (in other words, where it has a value in the data window). For now, I want to draw a vertical line on each candle that has a zigzag value (high or low).
I created this: https://fxdreema.com/shared/Ubxkf64fc
The indicator mentioned above creates 2 rows in the data window; one for the identified highs, and one for the identified lows.
When I use the "Indicator is visible" block, it only recognizes the highs (first data window row), but not the lows (second data window row).
Here you can see how it recognizes the highs from the data window, but not the lows:

How can I recognize the lows as well?
As far as I know, I can work with iCustom, but I unfortunately have no idea how to approach this.
Any help is much appreciated.

-
Zigzag is a very tricky indicator. I'm not a programmer so I'm afraid I cannot help. I hope roar can.

-
It is indeed. To speed things up I hired a developer to add extra buffers that are plotted on each high and low. That should solve it
