Skip to content
Algo Trade Analytics Docs

Pine Script Function Reference

Use this page to jump into the function reference. Each function has its own page, and namespace members are grouped by area.

NamespaceFocus
arrayDynamic arrays and utilities.
boxBox drawing objects.
chartChart point helpers.
colorColor construction and channels.
inputUser inputs for scripts.
labelLabel drawing objects.
lineLine drawing objects.
linefillFills between lines.
logLogging helpers.
mapKey/value map utilities.
mathNumeric helpers.
matrixMatrix utilities.
polylinePolyline drawing objects.
requestData requests and security calls.
runtimeRuntime errors and control.
strString helpers.
strategyStrategy order and reporting helpers.
taTechnical analysis indicators.
tableTable drawing objects.
tickerSynthetic tickers and transformations.
timeframeTimeframe conversion helpers.
FunctionPurpose
indicatorDeclare an indicator script.
strategyDeclare a strategy script.
libraryDeclare a library script.
plotPlot a series line.
plotshapePlot symbols on the chart.
plotcharPlot characters on the chart.
hlineDraw horizontal lines.
bgcolorColor the chart background.
barcolorOverride bar colors.
alertconditionDefine alert conditions.