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

Coming from TradingView

Bring an existing TradingView script to Tradequix: what runs unchanged, what to edit, and a checklist. Start with the checker.

View as MarkdownOpen in ClaudeOpen in ChatGPT

Most Pine v6 scripts run on Tradequix unchanged. The differences come from three places: the data (an OTC candle feed), the engine (PineTS, which implements most but not all of Pine), and the platform (no libraries).

The fastest path#

  1. Paste the script into Will it run here?. It lists every line that needs attention.
  2. Fix the red items, read the yellow ones.
  3. Open it in the editor and press Add to chart.

What to change#

On TradingViewOn Tradequix
import user/lib/1Not available. Paste the library's functions into your script.
request.financial, earnings, dividends, economicReturn na. Remove them or treat them as optional.
ticker.heikinashi(...) and other modified tickersRefused. Compute Heikin Ashi in the script (cookbook).
Volume as traded sizeVolume is a tick count. VWAP-style values are approximate.
Tick or sub-5-second timeframesNot available. 5 seconds is the smallest.
"W", "M" timeframesBuilt from daily bars; history may be short.
log.info and the Pine Logs paneThe calls run, but logs are not shown yet.
Session times and exchange hoursThe feed is 24x7 on UTC. See Time and sessions.

From older Pine versions#

v5 scripts usually run. Older ones need the usual conversions: study() becomes indicator(), security() becomes request.security(), rsi() becomes ta.rsi(), and so on. TradingView's editor can convert a script to v6 for you before you bring it over.

Things that are better here#

  • Closed-source scripts run on the server, so selling access never ships your code.
  • Every example in these docs runs in the page.
  • The error index explains every console message.
PreviousIndicator settingsNext The data

On this page

  • The fastest path
  • What to change
  • From older Pine versions
  • Things that are better here

Use with AI

View as MarkdownOpen in ClaudeOpen in ChatGPT