time value
-
hi to all
I would like to draw a trend line using the Zigzag indicator, for example, connect the lows. I was able to find the price level, but how can I find the time value?

-
That's a difficult thing to do. You correctly identified the zigzag value, but you will need a loop to find the candle ID value for those zigzag lows. Additionally, those values will have to be updated every time a new candle is created.
-
Thank you for your time, which block should I use for the loop?
-
@mohammadmozaffari Sadly there is no block doing that specific loop. The loop I meant is a combination of blocks working as a loop. The loop experts in this forum are roar and jstap. Maybe they can give you a hand.
-
@mohammadmozaffari You can get the ZZ last Hi/Lo as in the link, without adding other logic, you will have to wait for lines to draw: https://fxdreema.com/shared/sThpMl31b
-
@jstap A very interesting approach! Didn't consider that.