Export a strategy to Pine Script
Open the strategy in “Strategies”, press “Export” and choose “Export → Pine Script”. Press “Copy” or “Download .pine” and paste the script into the TradingView Pine editor. The window lists anything that didn’t translate exactly.
Steps
- Open and test the strategy in “Strategies”.
- Press “Export” in the header and choose “Export → Pine Script” (also in the “Code” tab).
- Check the Pine version and asset type, then press “Copy” or “Download .pine”.
- In TradingView, open the Pine editor, paste, and add the script to a chart.

Good to know
- Results will differ: TradingView evaluates once per bar, Matana Labs every second. See Pine Script export.
Related
More in Where to find it
Still need help?
Or email support@matanalabs.com. Browse all topics in the Help Center.