Public Library

From TradingView Wiki
Jump to: navigation, search
Language: English  • 日本語 • 한국어 • Русский

Description

On TradingView it's possible to use pre-built indicators and write custom ones using Pine Script. Users who write their own scripts can publish them to the Public Library. You can search the library for needed scripts before writing one. You can also ask users who publish scripts for help by sending them a private message (PM) on TradingView.

Public Library is the storage of all user-published scripts. All published scripts can be viewed on this page, or in the Indicators window -> Public Library tab:
Public Library tab.png

Copying a Script from Public to Personal Library

To copy a script choose one of two methods:
1. Click the star next to the needed script in the Indicators window:
Add to Personal Library.png

2. Or open the needed script on this page and click the "Add to Favorite Scripts" button:
Add to Personal Library 2.png


The script will be added to your Favorites section in the Indicators window, where you can easily find it when needed.
Favorites section.png


Scripts in the Indicators window are sorted by popularity: the more users have favorited the script, the higher it will be displayed in the Indicators window.
Sorted by popularity.png

Editing a Script from the Public Library

To edit a script:
1. Open the script (the script will be unavailable for editing and will be colored lighter than normal):
Open the script.png

2. Click "Save as", enter the desired name and save a copy to your personal library:
Save as.png


A saved copy of the script will appear in the list of your scripts in the Indicators window, "My Scripts" tab:
My Scripts.png

Now you can open and edit the script.

If the same script is published more than once, a notification on older versions will appear that a new version is available.

Searching for a Script

To search for a script:

In the Indicators dialog use the Search field:
Search field.png

This will search your Personal and Public Library at the same time:
Search.png

Educational Videos

1.

2.

3.