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

On Tradequix

The Pine editor

Shortcuts, the console, editor settings, and what is still coming. Everything about the panel where you write scripts.

View as MarkdownOpen in ClaudeOpen in ChatGPT

Open the editor from Pine Script in the terminal's side rail. It sits over the live chart, so every change runs on real candles.

Shortcuts#

KeysDoes
Ctrl Enter (Cmd Enter)Add to chart: run the script on the chart
Ctrl S (Cmd S)Save to your account
TabInsert 4 spaces; with several lines selected, indent them
Shift TabOutdent the selected lines
EnterNew line, keeping the current indentation
Esc, then TabLeave the text area (Tab alone indents)
EscClose an open menu

The console#

The strip under the code reports the last run:

  • Syntax error, Script error, Timed out or Engine error, with the line and column, a Go to line button, and an Explain link that opens the error index at that message.
  • Warnings, each shown once.
  • Alerts your script fired, as title and message.
  • "Compiled successfully" or "added to the chart" when all went well.

Save and load problems appear on their own yellow line, so a storage failure is never mistaken for a bug in your code.

Editor settings#

Two settings work today: Word wrap and Line numbers. The others in the settings panel are shown but not yet available, each with its reason: suggestions as you type (needs a language server), minimap and line-length guide (planned), import hints (libraries are not supported), and diff decorations (needs a history of editor saves).

The Script menu#

Save, Rename, Version history (for a saved script, it opens its published versions on your dashboard), New indicator, the list of your saved scripts, and Pine docs, which opens these docs in a new tab.

Coming soon#

Shown in the editor with a preview of what they will do: Make a copy, a New strategy template, a New library template, Pine logs (a pane for log.info and friends), and a Profiler.

PreviousRepaintingNext Indicator settings

On this page

  • Shortcuts
  • The console
  • Editor settings
  • The Script menu
  • Coming soon

Use with AI

View as MarkdownOpen in ClaudeOpen in ChatGPT