How to draw zig zag top and bottom lines.
-
Can anyone help me with an example project?
I want from a specific time, let's say at 09:00 to draw a line on the ZIG ZAG H0
draw a line on the ZIG ZAG L0
I only need to draw these 2 lines once on the first H0 E L0 that appears and leave them fixed in the same place all day, I don't want these lines to be redrawn on the other new H0 and L0.

In short, I want to mark the first H0 E L0 of the day with lines.
-
@ontradingx Search @miro1360 and use his code this will give you the price level or candle ID.
-
@jstap I've already looked at some examples from Miro, but I haven't found a way to make a condition so that the lines are drawn only on the first top and bottom already formed.
-
@ontradingx MT4 or MT5? If ZZ on way up then the last fixed is H1 & L0, H1 candle high, L0 candle low.