On TradingView you may choose from our built-in scripts, from the user-published scripts in the Public Library, or write your own custom scripts using Pine Script. You can search the library for scripts before writing one. You may also ask users who publish scripts for help by sending them a private message (PM) on TradingView.
The Public Library contains all user-published scripts. All published scripts can be viewed either from the Scripts section of tradingview.com’s page, or from the Indicators → Public Library tab:
To copy a script, use one of the two following methods:
The script will be added to your Favorites section in the Indicators window, where you can easily find it when needed:
Scripts in the Indicators window are sorted by popularity. Scripts with the most likes appear first:
To edit a script from the Public Library:
A saved copy of the script will appear in the list of your scripts in the Indicators → My Scripts tab:
Now you can open and edit the script.
If the same script is published more than once, a notification on older versions will appear, indicating a new version is available.
To search for a script, use the Search field in the Indicators dialog:
This will search both your Personal and Public Library at the same time.
You may also search for scripts from the tradingview.com home page by first selecting Scripts from the Ticker dropdown menu and entering your search criteria.