Skip to main content

Why is my line missing when I use xloc.bar_time?

With xloc.bar_time the x coordinates must be timestamps in milliseconds, not bar index numbers. Passing a bar index places the line far off screen, where it never becomes visible.