Pine Script v6 manual, offline
78 pages, mirrored from TradingView 2026-10-29
concepts
Alerts
Bar states
Chart information
Inputs
Libraries
Non-standard charts data
Other timeframes and data
Repainting
Sessions
Strategies
Strings
Time
Timeframes
errors
Errors and warnings / CE10101
Errors and warnings / CE10117
Errors and warnings / CW10003
Errors and warnings / CW10026
Errors and warnings / RE10139
Errors and warnings / RE10143
Overview
faq
Alerts
Data structures
Functions
FAQ
Indicators
Other data and timeframes
Programming
Strategies
Strings and formatting
Techniques
Times, dates, and sessions
Variables and operators
Visuals
language
Arrays
Built-ins
Conditional structures
Declaration statements
Enums
Execution model
Identifiers
Loops
Maps
Matrices
Methods
Objects
Operators
Script structure
Type system
User-defined functions
Variable declarations
migration-guides
Overview
To Pine Script® version 2
To Pine Script® version 3
To Pine Script® version 4
To Pine Script® version 5
To Pine Script® version 6
primer
First indicator
First steps
Next steps
release-notes
Release notes
visuals
Backgrounds
Bar coloring
Bar plotting
Colors
Fills
Levels
Lines and boxes
Overview
Plots
Tables
Text and shapes
welcome
Welcome to Pine Script® v6
where-can-i-get-more-information
Where can I get more information?
writing
Debugging
Limitations
Profiling and optimization
Publishing scripts
Style guide