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

Publish and sell

Share a script open source, protect its code, or sell access to it. Visibility, the edit window, the published chart and paid spaces.

View as MarkdownOpen in ClaudeOpen in ChatGPT

A saved script is private. Publishing puts it in the community catalogue with its own page, where people can add it to their charts, boost it, favourite it and discuss it.

Choose a visibility#

VisibilityWho can use itWho can read the codeWhere it runs
Open sourceEveryoneEveryoneIn each viewer's browser
ProtectedEveryoneOnly youOn the Tradequix server
Invite-onlyPeople you grant accessOnly youOn the Tradequix server

Protected and invite-only scripts run on the server, and only the computed values reach a subscriber's browser. The source is never sent to anyone but its author; the endpoints that serve source refuse it outright.

The edit window#

For 15 minutes after publishing you can still correct the title, description and tags, and replace the published chart. After that, the publication is fixed. To change the code, publish an update; each publication is a version.

Public publications are rate limited: five per rolling day and fifteen per month. Updates do not count toward either. All limits are listed on Limits.

The published chart#

A script page shows a chart of the script running, like a published idea: you choose the symbol, timeframe and inputs, and the server runs the script and captures the result. Viewers can pan, zoom and read the values. The capture is computed by the server, so a published chart cannot be faked.

Invite-only access#

An invite-only script appears in the catalogue but is locked. You grant access by hand from your dashboard, or sell it through a paid space. Every grant, manual or paid, is the same kind of record, and revoking it removes access.

Selling access with a space#

A space is your storefront: one subscription covers every script you put in it. Subscribers pay through Stripe and get access to the whole space for as long as they subscribe. Set up payouts in the author studio.

Note

Closed source is about who can read the code, not who can run it. A subscriber's chart shows the script working, values and all; they just never receive the source.

PreviousThe dataNext Catalogue and community

On this page

  • Choose a visibility
  • The edit window
  • The published chart
  • Invite-only access
  • Selling access with a space

Use with AI

View as MarkdownOpen in ClaudeOpen in ChatGPT