Core types
The types you meet in signatures across the SDK.
SeriesA per-bar value with history, indexed current-first.
{ value, at(n), [n], column(), add(), sub(), gt(), ... }SeriesInputWhat ta.* functions and Series methods accept.
Series | number[] | numberPlacementWhere an indicator renders.
'overlay' | 'subpane' | 'widget'PlotStyleplot({ plotStyle }).
'line' | 'linebr' | 'stepline' | 'histogram' | 'columns' | 'area' | 'areabr' | 'circles' | 'cross'DrawSizeMarker and text sizes.
number | 'auto' | 'tiny' | 'small' | 'normal' | 'large' | 'huge'TableAnchortable({ position }).
'top-left' | 'top-center' | 'top-right' | 'middle-left' | 'middle-center' | 'middle-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'LabMetaThe static meta block of a class-form Lab.
{ name, slug, version, placement }StrategyPositionstrategy.position.
{ isLong, isShort, isFlat, size, entryPrice, entryBar }