Code: Select all
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © processingclouds
//@version=5
indicator("My Vertical line", overlay=true, scale=scale.none)
tempTime = timestamp(2022,01,31,02,20)
plotTime = input.time(defval=timestamp("31 Jan 2022 02:20 +0000"), title="Time")
plot((time == plotTime) ? 10e20 : na, color = color.red, linewidth = 10, title = "MyLine", style = plot.style_histogram)