Skip to main content
You can share a saved Pine Script indicator. A draft cannot be shared, so save it first.

Publish an indicator

  1. Open the indicator in the editor and choose Share in the header.
  2. The first time you share, choose a username. Your indicators are listed under it, and the name on your account is never shown. A username has 3 to 20 characters: letters a to z, digits, underscores and dots. It cannot start or end with a dot or have two dots in a row. You cannot change it later.
  3. Under Who can use it, choose one option:
    • Private. Only you can use it.
    • Public. Anyone on Darvas can add it. It is listed under Community indicators.
    • Invite only. Only people who know the password can add it. The password has at least 10 characters.
  4. Choose whether to Hide the code. See Hidden code.
  5. Choose Publish.
After you publish, Darvas shows a link to the indicator. Copy it and send it with the password to the people you choose. The link opens the indicator in Darvas, and adding an invite-only indicator still needs the password.

What the people who add it get

  • They run your newest version. When you save a change, their charts use it.
  • They can change their own input values. They cannot change the code.
  • If the code is shared, they can read it.

Hidden code

With Hide the code, other users never see the code. The indicator runs on Darvas servers, and only its results reach their charts. Logs and error details stay with you. When it fails on their chart, they see “The indicator failed on this chart”. You choose this at the first publication, and you cannot change it afterwards.

Change the password

Enter a new password in the sharing settings. People who added the indicator before stay on the version that was current at the change, until they enter the new password. Leave the field empty to keep the current password.

Stop sharing

Choose Private, then Make private. Everyone who added the indicator loses it, and their chart says the author stopped sharing it. Deleting the indicator removes it for them too.

Add an indicator from the community

  1. Open the editor menu and choose Community indicators. The list shows what Darvas users published, the most added and favourited first. Search it by name.
  2. Choose Add. For an invite-only indicator, enter the password and choose Unlock.
The indicator then appears with your custom indicators. Each row shows the author, how many users added it, when it last changed, and whether its code is hidden or invite only. The favourite button marks an indicator as a favourite, and the code button opens code that the author shares, read only. Wrong passwords are limited. After too many attempts, wait and try again later.