Notice!
This is documentation for v4, which is no longer
actively maintained.
For up-to-date documentation, see the latest version.
Where can I get more information?
- Additional descriptions of all built-in operators, variables, functions and annotation functions can be found in the Pine Script Reference.
- Use the code from one of TradingView’s built-in scripts to start from. Open a new chart and click the Pine Editor button on the toolbar. Once in the editor window, click the New button. You’ll find the TradingView built-in scripts in the dropdown list.
- There is a TradingView public chat dedicated to Pine Script where active developers of our community help each other out.
- Information about major releases and modifications to Pine Script (as well as other features) is regularly published on TradingView’s blog.
- TradingView’s Public Library contains all user-published scripts. All published scripts are also listed in the Scripts section of the tradingview.com home page and in the Indicators Public Library dialog box.
External resources
- PineCoders publishes useful information for Pine coders.
- Kodify has TradingView tutorials on various topics for beginners and more experienced coders alike. Topics include plotting, alerts, strategy orders, and complete example indicators and strategies.
- There is a Pine Script community growing on StackOverflow where you can ask questions. See questions tagged with pine-script.