Skip to main content
The syminfo namespace describes the instrument the script is running on. Every value is the same on every bar. These fourteen are the whole namespace. syminfo.tickerid fails with Namespace syminfo has no variable tickerid. Did you mean ticker? There is no syminfo.type either (type is a keyword: no viable alternative at input ‘plot(syminfo.type’); the asset type is syminfo.asset_type. To convert a price distance to ticks, divide by syminfo.minmove, not by syminfo.mintick. Another instrument’s data cannot be read (see Data availability by market).