SuperCharting
Sign in Get started Account Open charts

Learn / Features

Community scripts library: find, use and publish trading scripts

The SuperCharting community scripts library: browse, boost and add published indicators and strategies, and publish your own as open, protected or invite-only.

The community scripts library is where SuperCharting users publish indicators and strategies for others to use. You can browse it in the app or on the public scripts pages, add any script to your chart with one click, and publish your own from the Script Editor with the code open to everyone, hidden, or shared only with people you invite.

The library is younger and smaller than the community of a large platform, so expect a focused selection rather than tens of thousands of scripts. Every script in it compiled in SuperCharting's engine when it was published.

Where to find community scripts

There are three ways in, all showing the same library:

Top ranks by boosts and chart uses, Trending by chart uses over the last seven days plus boosts, and New by the latest update. Editors' picks are chosen by hand.

How to use a community script in SuperCharting

  1. Open the chart you want, for example NSE:BANKNIFTY on 5 minutes.
  2. Open the Community panel (or the Indicators dialog) and find a script, for instance by typing "volume" in the search box.
  3. Click Add to chart. The script runs on your chart with its default settings, next to the built-in indicators you already use.
  4. Change its settings from its name in the chart legend, like any indicator.
  5. Click Boost on a script you find useful; click again to remove your boost. Open page opens the script's public page in a new tab.

For an open-source script, right-click its name in the legend and choose Source code… to load the code into your Script Editor, where you can study it or save your own copy. For a protected or invite-only script the code stays with its author: it runs on your chart, but it is never sent to your browser.

Open source, protected and invite-only

When you publish, you choose two things: privacy and visibility.

ChoiceWho can find itWho sees the code
Public + OpenEveryone, in the library and on /scriptsEveryone
Public + ProtectedEveryoneOnly the author
Invite-onlyOnly the author and the invited accountsOnly the author
PrivateOnly youOnly you

Private is a safe way to publish a draft for yourself first: today a private script is shown only to its author, even if someone else has its link. Open source is the norm for learning and for trust: other traders can check what a script really does. Protected suits code you want to share as a tool without giving away. Invite-only is for a private group, such as students or clients, and is explained in invite-only scripts.

How to publish a script

  1. Write the script (the first indicator tutorial is a good start) and give it a real title in its indicator() or strategy() line. "My script" is refused.
  2. Make sure the console shows the ✓ line: a script that does not compile cannot be published.
  3. Put it on a chart that shows it well. The library's picture for your script is drawn from the chart you publish from.
  4. Click Publish script. Keep Publish new script selected and write the description: what the script shows, how to read it and its inputs. It needs at least 20 characters, and the toolbar adds bold, lists, links, a chart snapshot or a symbol such as $XAUUSD.
  5. Click Continue. Under Final touches, choose Public or Private, and Open, Protected or Invite-only.
  6. Pick up to 3 categories (Oscillators, Trend analysis, Volume and others) and, under Show more, up to 8 tags.
  7. Tick the House Rules box and click Publish public script (or Publish private script). The script's page opens in a new tab.

Each account can publish up to 100 scripts.

Updating and removing your scripts

To publish a new version, open the code in the editor, click Publish script and choose Update existing script, then pick the script from your list. The new code replaces the old one and the script keeps its page, boosts and favourites; you can edit the description on the next step. Publishing a new script with the same title as one of yours also updates that one.

To remove a script, open the Community panel, go to My publications and click Unpublish, then confirm. It disappears from the library and from charts that used it.

Good practice for authors

Publishing and using community scripts is part of every account, and SuperCharting is currently free to use.

Frequently asked questions

Do I need an account to use community scripts?

Anyone can read the public /scripts pages. To add a script to a chart, boost it or publish, sign in; you can create a free account.

Can I see the code of a protected script?

No. Only its author can. You can still add it to your chart and change its inputs.

What happens to my chart if an author unpublishes a script?

The script stops running there, because the library no longer has it. Save a copy of open-source scripts you rely on.

Can I publish a strategy?

Yes. Strategies are published the same way and are marked Strategy in the library. Anyone who adds one gets the Strategy Tester report on their own chart.

Try it on a live chart

SuperCharting runs in your browser: charts, Pine-compatible scripts, the Strategy Tester, alerts and the screener, with Indian and global markets.

Create a free account More guides