Import a Pine Script indicator
Paste Pine Script v5 or v6 and ChartLabs translates it to a CodeLab TypeScript indicator. Lines it cannot translate stay as TODO comments.
Free- Open CodeLab (the CodeLab tab in the bottom panel, or chartlabs.co/codelabs).
- Choose File, then Import from Pine Script. On iPhone, use Import Pine in The Lab.
- Paste the Pine source and import.
- Review the result. Anything that could not be translated is left as a // TODO comment, and the dialog counts how many need a look.
- Run it and add it to the chart.
- Pine v5 and v6 are supported.
- Pine libraries (import user/Lib/1) are fetched automatically, including the libraries they import.
- Your pasted Pine source stays private with your script. It is never shipped to buyers if you sell the indicator.