Skip to the content

Help / Indicators and scripts

Bringing Pine Script over

Most Pine Script (versions 4 and 5) converts to an OpenTapefolio script automatically. The converter translates the code, so the result is a normal script you can read and change.

Converting a script#

  1. Copy the Pine source, for example from TradingView’s Pine editor.
  2. In the Script editor tab, press + New… › Import Pine Script…
  3. Paste it on the left. The converted script appears on the right as you paste.
  4. Save it, then add it to the chart and compare it with the original.

When something doesn’t convert#

Anything the converter can’t translate becomes a // TODO(pine): comment in the code, and a warning says how many there are; “Everything converted.” means none. Fix those lines by hand, or ask the AI to (Write with AI…).

Note:Only import scripts you have the right to use. A published script’s licence still applies after it’s converted.

TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.