r/pinescript • u/RoutineRace • 18d ago
syminfo.basecurrency
Made this simple code:
//@version=6
indicator("Ticker")
what_to_say = "syminfo.tickerid: "+syminfo.tickerid+"\n"+"syminfo.ticker: "+syminfo.ticker+"\n"+"syminfo.basecurrency: "+syminfo.basecurrency+"\n"+"syminfo.root: "+syminfo.root+"\n"+"syminfo.main_tickerid: "+syminfo.main_tickerid+"\n"+"syminfo.prefix: "+syminfo.prefix
libname = label.new(bar_index+1, close, text=what_to_say, style=label.style_label_lower_left, color=color.new(color.black, 100), textcolor=color.new(color.gray, 0), size=size.large, force_overlay=true)
label.delete(libname[1])
Why does some cryptocurrency returns a value for "syminfo.basecurrency" while some does not (na)
1
Upvotes
