Built-in values
These names are values. You read them. You do not call them. syminfo.mintick(close) is not a function. Write x = syminfo.mintick.
The bar#
open, high, low, close, volume, hl2, hlc3, ohlc4, hlcc4, bar_index, last_bar_index, last_bar_time, time, time_close, time_tradingday, and timenow.
The clock parts are year, month, weekofyear, dayofmonth, dayofweek, hour, minute, and second.
Where you are in the chart#
barstate holds isconfirmed, islast, islastconfirmedhistory, ishistory, isrealtime, isnew, and isfirst. session.ismarket tells you whether the bar is inside the session.
syminfo holds the market: ticker, currency, pricescale, mintick, and the rest of that group. Each name has its own page. The sidebar lists them under syminfo.
Colours, shapes, and the other constants#
Colour names, shape names, location, size, extend, xloc, yloc, and the merge modes used by request.security live in their own groups. Open those groups in the sidebar.
Use a name that is listed. Some groups still accept an unknown name when the script is compiled, so a script that runs is not proof that you invented a new constant.