//@version=6 // Little Bird Trading Active Traders, Thu Oct 22. Educational levels only, not financial advice. https://littlebirdtrading.com indicator("Little Bird Trading Active Traders, Thu Oct 22", shorttitle="LBT Levels", overlay=true, max_lines_count=500, max_labels_count=500) // The chart's symbol: SPY, ES1! (root ES), MES1!, BTCUSD, NVDA... isSym(string s) => t = syminfo.ticker r = syminfo.root t == s or r == s or str.startswith(t, s + "USD") or r == "M" + s level(float v, string name, color c) => line.new(bar_index - 1, v, bar_index, v, extend=extend.both, color=c, width=2) label.new(bar_index + 3, v, name + " " + str.tostring(v), style=label.style_label_left, color=color.new(c, 85), textcolor=c, size=size.small) var bool drawn = false if barstate.islast and not drawn drawn := true // Pro gets the next session's levels about 1 hour after the close. var table pro = table.new(position.top_right, 1, 2, bgcolor=#102A4D, border_width=0) if barstate.islast table.cell(pro, 0, 0, "Thu Oct 22 levels: free at 9:25 AM ET, now with Pro", text_color=color.white, text_size=size.normal) table.cell(pro, 0, 1, "littlebirdtrading.com/pricing", text_color=#EAD7BA, text_size=size.small)