Matana Labs

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

  1. Open and test the strategy in “Strategies”.
  2. Press “Export” in the header and choose “Export → Pine Script” (also in the “Code” tab).
  3. Check the Pine version and asset type, then press “Copy” or “Download .pine”.
  4. In TradingView, open the Pine editor, paste, and add the script to a chart.
The Export to Pine Script window
Export to Pine Script.

Good to know

Screenshots show the real app on a test data set. Backtests and simulations are not real trading, and past results don’t guarantee future ones. Not investment advice. Risk disclaimer.

Related

More in Where to find it

Still need help?

Or email support@matanalabs.com. Browse all topics in the Help Center.