Reference
Function reference All 555 functions, variables and constants the engine implements, read from PineTS 0.11.1 itself, so nothing listed is missing and nothing missing is listed. The ones you use most have full entries and examples you can run.
Verified: used in tested scripts Supported: implemented, not yet in our tests Not available on this feed
Find a function: ta.rsi, str.format, strategy.exit…Ctrl K Built-ins and plotting Declarations, plotting, colouring the chart, and the small helpers every script uses: na, nz, fixnan. 54 names19 full entries4 runnableta: technical analysis Averages, oscillators, bands, trend studies, crosses, pivots and lookbacks. Each returns a series and handles its own warm-up. 67 names53 full entries14 runnablemath Arithmetic, rounding, logs, trigonometry and aggregates. 29 names17 full entriesstr: strings Format numbers, build and search text for labels and tables. 18 names9 full entriesinput Every input becomes a field in the indicator's settings. See the Inputs guide for how saved values behave. 13 names9 full entriesrequest: other data Other timeframes work. Company, economic and order-flow data are not in this feed and return na with a warning. 11 names7 full entriesstrategy Orders and the backtest's running statistics. Declare strategy() instead of indicator() to use them. 49 names10 full entries1 runnablecolor Named colours and functions to make your own. Transparency runs 0 (opaque) to 100 (invisible). 24 names4 full entries1 runnableDrawings: label, line, box, table Objects placed at coordinates. Create with *.new(), keep the id to update or delete it. See the Drawings guide. 134 names7 full entriesarray, matrix, map Collections of values. Up to 100,000 elements each. 115 names8 full entriesBar states, time, timeframe, session What the script knows about the bar, the chart and the clock. The feed trades 24x7 on UTC. 41 names8 full entries