Scripting
Pine Script®, running on Vela.
Any Pine Script® indicator or strategy runs on Vela, our next-generation charting platform, straight from its source. No rewrite, no new language. Paste it, press Run, and build on it with Quant, our coding agent.
Free to start. No credit card required.

We didn’t reinvent the wheel. We built past it.
Pine Script® is the language traders already write. Other platforms asked you to rewrite your scripts in a language of their own. We built a runtime that runs Pine Script® as written, then put Vela’s data and backtesting underneath it, so the same code can reach further.

How we did it.
Pine Script® runs on Vela through PineTS, our own runtime. Your source goes in as you wrote it, and the chart draws what it plots.
01 · Read
Your source, as written.
PineTS takes Pine Script® v6 and v5 as they are: indicators and strategies, inputs and all, with 60+ ta functions built in.
02 · Run
Off the main thread.
Every script computes in a background worker beside the chart, so a heavy one never freezes it, and an error stops that script, not your chart.
03 · Feed
On Vela’s own data.
request.security reaches any timeframe, request.security_lower_tf the bars inside a bar, and request.footprint the order flow inside every candle.
Real order flow, in your code.
request.footprint() hands your script the footprint of every bar: bid and ask volume, delta, the point of control and imbalances, price by price, built from real trades. Write on it yourself, or ask Quant to build an indicator on it.
Your strategies backtest here, as written.
We rebuilt Vela’s broker emulator on an intrabar model. Inside each bar, orders fill along the same assumed path Pine Script® strategies are written for, from the open to the nearer extreme, the farther extreme, then the close. Same fills, same exits, same trailing stops, margin and risk rules. Your code, our charts.
- Market, limit, stop and stop-limit orders
- Gap fills at the open
- strategy.exit profit and loss legs
- Trailing stops
- Pyramiding and OCA groups
- Commission and slippage
- Margin, with margin calls
- strategy.risk rules

Every fill is marked on the chart, with the summary docked beneath it. The full report adds trade analysis, the trade log, Monte Carlo simulation, and the prop-firm challenges the backtest would pass.
Backtesting is research, not prophecy: it shows how logic performed on past data, so you can refine it honestly. Past performance does not guarantee future results.
800+ tools in the Library, among the most used in the world.
Every one of them is Pine Script® running on the same engine, a menu away on Vela: browse it by family or by any of 800+ concepts, preview a tool before you add it, and read the code of every free one, or hand it to Quant.
Or don’t write it at all.
Quant, our coding agent, writes Pine Script® from a sentence or a chart screenshot, checks every line, and puts the script on your chart. Choose Make it a strategy on an indicator’s legend row and it becomes one. When a script errors, Fix with Quant sends the error straight to Quant, and an older script you paste goes to Quant to port to v6.

Bring your setup.
Coming from TradingView®? Import your watchlists, chart layouts, Pine Script® code you can access, and paper trading history. A checklist keeps your progress, so you can finish later.
Drawings, notes and protected scripts don’t transfer.
Questions, answered.
Yes. Vela, our next-generation charting platform, runs Pine Script® v6 and v5 from the source: paste a script into the Pine editor and press Run. Indicators and strategies both run, with nothing to rewrite.
Built in the open.
PineTS, the runtime at the core of our scripting engine, is open source, like the rest of the foundations we build on. Read it, run it in your own projects, or help it cover more of the language.
Go build.
Paste what you have, or describe what you want to Quant. Free to start.
Pine Script® is a registered trademark of TradingView, Inc., named here only to describe the language Vela runs. LuxAlgo is not affiliated with, sponsored by or endorsed by TradingView, Inc.
