Constants
xloc.bar_time
X-coordinate is a UNIX timestamp in milliseconds.
Example
//@lipi=2
indicator("xloc.bar_time Example", overlay=true)
if barstate.islast {
// x is a UNIX time in milliseconds: the time of the bar 10 bars ago
label.new(time[10], high[10], text="10 bars ago", xloc=xloc.bar_time)
}
Type
const string