---
title: "Pine Script® on Vela | LuxAlgo"
description: "Pine Script® runs on Vela by LuxAlgo through PineTS: paste your scripts, write your own, or have Quant, our coding agent, write them. Free to start."
canonical: https://www.luxalgo.com/features/pine-script/
---

# Pine Script® on Vela | LuxAlgo

> Pine Script® runs on Vela by LuxAlgo through PineTS: paste your scripts, write your own, or have Quant, our coding agent, write them. Free to start.

## Your Pine Script®, running on Vela

Paste the scripts you already have, write your own in the Pine editor, or have Quant, our coding agent, write them for you. Pine Script® runs on Vela, our next-generation charting platform, through PineTS, our open-source runtime. Free to start, no credit card required.

Open Vela: https://vela.luxalgo.com/chart

## Three ways onto the chart

- Paste it: open the Pine editor from the panel rail, paste the Pine Script® you already have, and press Run. It lands on the active chart.
- Write it: start a new script and run it as you go. Choose Edit code on a script’s legend row and Run becomes Update: the code changes in place, settings and all.
- Ask Quant: describe a tool or a strategy, or show it a chart screenshot. Quant, our coding agent, writes the Pine Script®, validates every line, and puts it on your chart.

## An editor inside the chart

- Run puts the script on the active chart. Once it is there, Update changes it in place and keeps its settings.
- Save keeps it in My scripts, in the Indicators menu, beside everything Quant wrote for you. Star it to keep it in Favorites.
- Version history holds the session’s versions, and the logs sit under the code. If an update fails, the previous version keeps running.

Pine editor docs: https://docs.luxalgo.com/platform/charts/pine-editor

## Strategies, backtested where they run

Run a strategy script and the chart marks every entry and exit, with a Backtest Summary underneath: net profit, trades, win rate, max drawdown, and profit factor. Open the full viewer for performance, trade analysis, the trade log, and simulations, and set capital, order size, commission, and slippage in the script’s settings. Backtesting is research, not prophecy: it shows how logic performed historically, so you can refine it honestly. Past performance does not guarantee future results.

## The Library, already in Pine Script®

Every indicator in the LuxAlgo Library runs on Vela through PineTS, straight from the Indicators menu: no import, no paste. Free indicators publish their full Pine Script® source on luxalgo.com with a Copy code button, so you can read one, paste it into the editor, and make it yours. Browse: https://www.luxalgo.com/library/

## Powered by PineTS, our open-source runtime

PineTS executes Pine Script® the way the language defines it: the bar-by-bar model, series indexing, var and varip, na and barstate. It is a runtime, not a converter, and it is open source, so anyone can read how a script runs. Smart Money Concepts by LuxAlgo runs on Vela through PineTS from its unmodified source, with the same structure labels and order blocks it draws on TradingView®.

- PineTS: https://www.luxalgo.com/pinets/
- API coverage tables: https://docs.luxalgo.com/developers/pinets/api-coverage
- Building your own product? Run Pine Script® on Vela’s open-source core: https://velacharts.dev/pine-script/

## Common questions

Q: Can I run my own Pine Script® on Vela?
A: Yes. Open the Pine editor from the panel rail, paste or write your script, and press Run: it lands on the active chart. Indicators and strategies both run, on every plan including Free. Running scripts needs a free account.

Q: Which versions of Pine Script® run?
A: Pine Script® v6 and v5, through PineTS, our open-source runtime. PineTS implements 800+ Pine Script® API functions, listed on its public coverage tables.

Q: What happens if a script doesn’t run?
A: You see why. The error shows in the code and in the editor’s logs, and when you are updating a script already on the chart, the previous version keeps running. Fix with Quant can repair syntax and runtime errors on supported plans.

Q: Do I need to know Pine Script®?
A: No. Quant, our coding agent, writes Pine Script® from a description or a chart screenshot, validates every line, and puts it on your chart. Open its code in the Pine editor whenever you want to read or change it.

Q: Where are my scripts saved?
A: In My scripts. Save from the editor (Ctrl+S or ⌘S) and the script joins My scripts in the Indicators menu, beside the scripts Quant wrote for you. Saved scripts stay in your account, up to 200,000 characters each.

Q: Can I use my scripts elsewhere?
A: Yes. Copy the code from the editor at any time. Quant writes Pine Script®, so its scripts can also be pasted onto a TradingView® chart.

"TradingView" and "Pine Script" are trademarks or registered trademarks
of TradingView, Inc. LuxAlgo is not affiliated with, sponsored by, or
endorsed by TradingView, Inc.

Sitemap: https://www.luxalgo.com/sitemap.xml · Machine-readable index: https://www.luxalgo.com/llms.txt
