Reputation: 115
On Daily timeframe view I tried this:
t = tickerid(syminfo.prefix, syminfo.ticker, session.extended)
cc = security(t, "5", close, false)
l = label.new(time, high, text=tostring(cc), xloc=xloc.bar_time)
label.delete(l[1])
but it always gives me the daily close price, not the 5m chart, what am I doing wrong?
Upvotes: 1
Views: 348
Reputation: 8779
You're not doing anything wrong. Extended session information is not available from daily resolutions and up.
Upvotes: 1