Show more above Share link | Anyone with the link can view the source, even without signing in. Signed-in traders can select Copy To My Scripts.
Share code | Signed-in traders paste it into the share code field in the Scripts window and select Add.
Public Library listing | Turn on Also List It in the Public Library in the share dialog. Every trader with Scripts can find it and add a copy.
Each share shows one version. Saving new versions doesn't change what it
shows or what traders who added it run; publish an update when you want to
offer them a newer version. Traders who add it get their own copy in My
Scripts, starting from the script's default inputs and switched off for
trade charts, and they can't change your original.
Turn Code Off stops the link and code and removes the listing. Copies
traders already added stay theirs. Other Shared Versions lists older
versions you still share, each with Stop Sharing. You can keep up to 50
share links at once.
+ Describe your script
+ Write what your script does and how to use it under Description in the
+ share dialog, then select Save Description. The description appears on
+ every share link to the script and, shortened to its first lines, on its
+ Public Library card. It isn't part of a version: you can change it at any
+ time without publishing an update, and the change shows right away. A
+ description is plain text, up to 2,000 characters; line breaks are kept,
+ and links appear as text rather than clickable links. To remove it, clear the
+ text and save.
Publish an update
To offer a newer version to everyone who added an earlier one, save the new
Show more version, open Share, and select Publish Version for the older code.
It appears above Create Share Code while the new version has no code of
its own. The share keeps its code, link, Public
Library listing, and trader counts, and from then on shows the new version.
Traders who already added it see Update Available and choose whether to
accept it; their scripts don't change until they do.
You can publish only your script's current saved version, only when it
compiles, and only when that version doesn't already have its own share code.
If you already selected Create Share Code for the new version, select
Turn Code Off for it first; anyone who added that code keeps their copy.
A listing that staff removed from the Public Library can't be updated.
[!NOTE]
− A share shows the script's name, version, source code, and when it was shared,
− credited to your public username and generated avatar. Your uploaded profile
− photo and a link to your public profile appear only while your [public
− profile](/settings/public-profile) is on. Your email, account, and trading are
− never shown. Shared pages are hidden from search engines, but anyone you give
− the link to can open it.
+ A share shows the script's name, version, description, source code, and when
+ it was shared, credited to your public username and generated avatar. Your
+ uploaded profile photo and a link to your public profile appear only while
+ your public profile is on. Your email, account,
+ and trading are never shown. Shared pages are hidden from search engines, but
+ anyone you give the link to can open it.
Public Library
The Public Library tab lists scripts other traders chose to list. Search
by name, filter to Indicators or Strategies, and sort by **Most
− Used or Newest**. Each card shows the script's author and how many
+ Used or Newest**. Each card shows the script's author, the start of its
+ description, and how many
traders added it; counts update every hour.
Add saves a copy to My Scripts. View Source opens the script's shared
Show more below page. When the author publishes an update, traders who already added it can
review and accept it; see Update an added script. Report Listing tells staff what's wrong with a listing, such as
copied work or a misleading name; staff can remove it from the Public
Library, and a removed version can't be listed again. Your own listings show
Your Listing.
Update an added script
When the author of a script you added publishes a newer version, the script
shows Update Available in My Scripts and in the editor. Your copy never
changes on its own. Select Update Available to review the update:
- The version you have and the new version, and who published it.