Skip to content
TradequixDocsOpen the terminal
OverviewStart here, search, progress
  • Introduction
  • Quickstart
  • How a script runs
  • Types and qualifiers
  • Operators, conditionals and loops
  • Functions and methods
  • Objects and enums
  • Arrays, matrices and maps
  • Strings and colours
  • Time and sessions
  • Bar states
  • Plotting
  • Inputs
  • Technical analysis
  • Drawings and tables
  • Multiple timeframes
  • Strategies
  • Alerts in scripts
  • Repainting
  • The Pine editor
  • Indicator settings
  • Coming from TradingView
  • The data
  • Publish and sell
  • Catalogue and community
  • Your dashboard and earnings
  • Errors and debugging
  • Limits
  • Coverage
  • Built-in catalogue
  • Cookbook
  • Write Pine with AI
  • FAQ
  • Glossary
  • Cheat sheet
  • Function reference
  • Will it run here?
  • Error index
Function reference

input

Every input becomes a field in the indicator's settings. See the Inputs guide for how saved values behave.

13 names from PineTS 0.11.1 · 9 with full entries

input.int

Verified
input.int(defval, title, minval, maxval, step, tooltip, inline, group, confirm, options)

A whole-number field.

input.float

Verified
input.float(defval, title, minval, maxval, step, tooltip, inline, group, confirm, options)

A decimal field.

input.bool

Verified
input.bool(defval, title, tooltip, inline, group, confirm)

A checkbox.

input.string

Verified
input.string(defval, title, options, tooltip, inline, group, confirm)

Text, or a dropdown when options is given.

input.color

Verified
input.color(defval, title, tooltip, inline, group, confirm)

A colour picker.

input.source

Verified
input.source(defval, title, tooltip, inline, group)

A choice of price series: close, open, hl2, hlc3, ohlc4…

input.timeframe

Supported
input.timeframe(defval, title, options, tooltip, inline, group, confirm)

A timeframe picker for request.security.

input.text_area

Supported
input.text_area(defval, title, tooltip, group, confirm)

Multi-line text.

input.enum

Supported
input.enum(defval, title, options, tooltip, inline, group, confirm)

A dropdown of an enum's members.

Everything else in input

Also implemented. These follow TradingView’s Pine v6 reference for their arguments.

  • input.priceSupportedImplemented. Arguments as in TradingView's Pine v6 reference.
  • input.sessionSupportedImplemented. Arguments as in TradingView's Pine v6 reference.
  • input.symbolSupportedImplemented. Arguments as in TradingView's Pine v6 reference.
  • input.timeSupportedImplemented. Arguments as in TradingView's Pine v6 reference.

On this page

  • input.int
  • input.float
  • input.bool
  • input.string
  • input.color
  • input.source
  • input.timeframe
  • input.text_area
  • input.enum
  • Everything else (4)