Export to Pine Script: test here, run it on TradingView
Build and test a strategy in Matana Labs, then export it as a Pine Script strategy and run it on TradingView. The script holds the strategy’s rules and settings, no market data. Anything that couldn’t be translated exactly is listed at the top of the script, and results will differ, because TradingView evaluates once per bar while Matana Labs fills by the second.
How to export

- Open the strategy in Strategies (Strategy Lab) and test it.
- Press Export in the header and choose Export → Pine Script (also in the Code tab).
- Press Copy, or download it as a .pine file.
- In TradingView, open the Pine editor, paste the script and add it to a chart.
- Read the note at the top: it lists what didn’t translate exactly.
What you get on each plan
Pine Script export is on every plan:
| Plan | Price | Smallest bar |
|---|---|---|
| Explore | Free | 10-minute |
| Builder | $39/month | 1-minute (better than Explore) |
| Pro | $49/month | 30-second (better than Builder) |
| Quant | $89/month | 1-second (better than Pro) |
Highlighted: better than the plan above. Compare every plan side by side on the pricing page
Limits
- Results will differ: TradingView calculates a strategy once per bar, at the close, and fills by bars; Matana Labs checks the rules and fills every second.
- Only the rules and settings are exported; prices never leave the app.
Keep reading
Questions
Will TradingView show the same results?
No, and the export says so. TradingView evaluates once per bar and fills by bars; Matana Labs fills by the second, so entries, exits and costs differ.
Can I import Pine Script into Matana Labs?
No. Export goes one way; build the strategy from blocks or describe it in words instead.
Does the script contain market data?
No. Only the strategy’s rules and settings.