Home/User Guides/Scripting

How do I edit an indicator I made?

Press Editor (the code icon) on the chart toolbar and click your indicator in the Explorer list. Change the code, press Run to see it, then Publish a new version to update it everywhere.

Open the script editor and click your indicator in its Explorer list. Your drafts and the indicators you saved or published are all listed there.

  1. On the chart toolbar, press Editor, the code icon, or pick Editor in the Panels menu.
  2. In the Explorer list on the left, click your indicator. It opens in a tab.
  3. Change the code and press Run to see the change on your active chart.
  4. Press Publish a new version to update the published indicator, on your charts and for the people you shared it with.
  • Rename it: right-click it in the Explorer and pick Rename.
  • Removing it from a chart does not delete it. It stays in the Explorer.
  • Deleting it from the Explorer (right-click, Delete) cannot be undone. A published version stays available to the people who have it, unless you also choose Also delete the published Indicator.
  • A draft you have not saved or published shows only in this browser.

Kata can make the changes for you: open your indicator in the editor and ask it. See Can AI write or fix an indicator for me?