[{"data":1,"prerenderedAt":516},["ShallowReactive",2],{"user-guide:faq/scripting/edit-your-own-indicator":3},{"slug":4,"filePath":5,"frontmatter":6,"rawMarkdown":27,"tree":28},"faq/scripting/edit-your-own-indicator","faq/scripting/edit-your-own-indicator.md",{"title":7,"description":8,"category":9,"kind":10,"keywords":11,"updatedAt":25,"popularity":26},"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.","scripting","faq",[12,13,14,15,16,17,18,19,20,21,22,23,24],"edit my indicator","modify my indicator","change my indicator","update my indicator","edit indicator code","my indicator editor","my scripts","where are my indicators","indicators i wrote","rename my script","delete indicator","change source code","edit script","2026-11-27",13,"---\ntitle: 'How do I edit an indicator I made?'\ndescription: '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.'\ncategory: scripting\nkind: faq\nkeywords:\n  [\n    edit my indicator,\n    modify my indicator,\n    change my indicator,\n    update my indicator,\n    edit indicator code,\n    my indicator editor,\n    my scripts,\n    where are my indicators,\n    indicators i wrote,\n    rename my script,\n    delete indicator,\n    change source code,\n    edit script,\n  ]\nupdatedAt: '2026-11-27'\npopularity: 13\n---\n\n# How do I edit an indicator I made?\n\n**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.\n\n1. On the chart toolbar, press **Editor**, the code icon, or pick **Editor** in the **Panels** menu.\n2. In the **Explorer** list on the left, click your indicator. It opens in a tab.\n3. Change the code and press **Run** to see the change on your active chart.\n4. Press **Publish a new version** to update the published indicator, on your charts and for the people you shared it with.\n\n- **Rename it:** right-click it in the Explorer and pick **Rename**.\n- **Removing it from a chart** does not delete it. It stays in the Explorer.\n- **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**.\n- A draft you have not saved or published shows only in this browser.\n\nKata 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?](/learn/faq/scripting/ai-writes-indicators)\n",{"type":29,"children":30,"data":509,"position":511},"root",[31,34,69,70,286,287,476,477],{"type":32,"value":33},"text","\n",{"type":35,"tagName":36,"properties":37,"children":38,"position":66},"element","p",{},[39,59],{"type":35,"tagName":40,"properties":41,"children":42,"position":52},"strong",{},[43],{"type":32,"value":44,"position":45},"Open the script editor and click your indicator in its Explorer list.",{"start":46,"end":49},{"line":47,"column":47,"offset":48},3,40,{"line":47,"column":50,"offset":51},72,109,{"start":53,"end":56},{"line":47,"column":54,"offset":55},1,38,{"line":47,"column":57,"offset":58},74,111,{"type":32,"value":60,"position":61}," Your drafts and the indicators you saved or published are all listed there.",{"start":62,"end":63},{"line":47,"column":57,"offset":58},{"line":47,"column":64,"offset":65},150,187,{"start":67,"end":68},{"line":47,"column":54,"offset":55},{"line":47,"column":64,"offset":65},{"type":32,"value":33},{"type":35,"tagName":71,"properties":72,"children":73,"position":283},"ol",{},[74,75,163,164,203,204,242,243,282],{"type":32,"value":33},{"type":35,"tagName":76,"properties":77,"children":78,"position":159},"li",{},[79,89,105,112,128,135,152],{"type":32,"value":80,"position":81},"On the chart toolbar, press ",{"start":82,"end":86},{"line":83,"column":84,"offset":85},5,4,192,{"line":83,"column":87,"offset":88},32,220,{"type":35,"tagName":40,"properties":90,"children":91,"position":100},{},[92],{"type":32,"value":93,"position":94},"Editor",{"start":95,"end":98},{"line":83,"column":96,"offset":97},34,222,{"line":83,"column":48,"offset":99},228,{"start":101,"end":102},{"line":83,"column":87,"offset":88},{"line":83,"column":103,"offset":104},42,230,{"type":32,"value":106,"position":107},", the code icon, or pick ",{"start":108,"end":109},{"line":83,"column":103,"offset":104},{"line":83,"column":110,"offset":111},67,255,{"type":35,"tagName":40,"properties":113,"children":114,"position":123},{},[115],{"type":32,"value":93,"position":116},{"start":117,"end":120},{"line":83,"column":118,"offset":119},69,257,{"line":83,"column":121,"offset":122},75,263,{"start":124,"end":125},{"line":83,"column":110,"offset":111},{"line":83,"column":126,"offset":127},77,265,{"type":32,"value":129,"position":130}," in the ",{"start":131,"end":132},{"line":83,"column":126,"offset":127},{"line":83,"column":133,"offset":134},85,273,{"type":35,"tagName":40,"properties":136,"children":137,"position":147},{},[138],{"type":32,"value":139,"position":140},"Panels",{"start":141,"end":144},{"line":83,"column":142,"offset":143},87,275,{"line":83,"column":145,"offset":146},93,281,{"start":148,"end":149},{"line":83,"column":133,"offset":134},{"line":83,"column":150,"offset":151},95,283,{"type":32,"value":153,"position":154}," menu.",{"start":155,"end":156},{"line":83,"column":150,"offset":151},{"line":83,"column":157,"offset":158},101,289,{"start":160,"end":162},{"line":83,"column":54,"offset":161},189,{"line":83,"column":157,"offset":158},{"type":32,"value":33},{"type":35,"tagName":76,"properties":165,"children":166,"position":199},{},[167,176,192],{"type":32,"value":168,"position":169},"In the ",{"start":170,"end":173},{"line":171,"column":84,"offset":172},6,293,{"line":171,"column":174,"offset":175},11,300,{"type":35,"tagName":40,"properties":177,"children":178,"position":187},{},[179],{"type":32,"value":180,"position":181},"Explorer",{"start":182,"end":184},{"line":171,"column":26,"offset":183},302,{"line":171,"column":185,"offset":186},21,310,{"start":188,"end":189},{"line":171,"column":174,"offset":175},{"line":171,"column":190,"offset":191},23,312,{"type":32,"value":193,"position":194}," list on the left, click your indicator. It opens in a tab.",{"start":195,"end":196},{"line":171,"column":190,"offset":191},{"line":171,"column":197,"offset":198},82,371,{"start":200,"end":202},{"line":171,"column":54,"offset":201},290,{"line":171,"column":197,"offset":198},{"type":32,"value":33},{"type":35,"tagName":76,"properties":205,"children":206,"position":238},{},[207,216,232],{"type":32,"value":208,"position":209},"Change the code and press ",{"start":210,"end":213},{"line":211,"column":84,"offset":212},7,375,{"line":211,"column":214,"offset":215},30,401,{"type":35,"tagName":40,"properties":217,"children":218,"position":227},{},[219],{"type":32,"value":220,"position":221},"Run",{"start":222,"end":224},{"line":211,"column":87,"offset":223},403,{"line":211,"column":225,"offset":226},35,406,{"start":228,"end":229},{"line":211,"column":214,"offset":215},{"line":211,"column":230,"offset":231},37,408,{"type":32,"value":233,"position":234}," to see the change on your active chart.",{"start":235,"end":236},{"line":211,"column":230,"offset":231},{"line":211,"column":126,"offset":237},448,{"start":239,"end":241},{"line":211,"column":54,"offset":240},372,{"line":211,"column":126,"offset":237},{"type":32,"value":33},{"type":35,"tagName":76,"properties":244,"children":245,"position":278},{},[246,255,271],{"type":32,"value":247,"position":248},"Press ",{"start":249,"end":252},{"line":250,"column":84,"offset":251},8,452,{"line":250,"column":253,"offset":254},10,458,{"type":35,"tagName":40,"properties":256,"children":257,"position":267},{},[258],{"type":32,"value":259,"position":260},"Publish a new version",{"start":261,"end":264},{"line":250,"column":262,"offset":263},12,460,{"line":250,"column":265,"offset":266},33,481,{"start":268,"end":269},{"line":250,"column":253,"offset":254},{"line":250,"column":225,"offset":270},483,{"type":32,"value":272,"position":273}," to update the published indicator, on your charts and for the people you shared it with.",{"start":274,"end":275},{"line":250,"column":225,"offset":270},{"line":250,"column":276,"offset":277},124,572,{"start":279,"end":281},{"line":250,"column":54,"offset":280},449,{"line":250,"column":276,"offset":277},{"type":32,"value":33},{"start":284,"end":285},{"line":83,"column":54,"offset":161},{"line":250,"column":276,"offset":277},{"type":32,"value":33},{"type":35,"tagName":288,"properties":289,"children":290,"position":473},"ul",{},[291,292,346,347,377,378,456,457,472],{"type":32,"value":33},{"type":35,"tagName":76,"properties":293,"children":294,"position":342},{},[295,312,319,336],{"type":35,"tagName":40,"properties":296,"children":297,"position":306},{},[298],{"type":32,"value":299,"position":300},"Rename it:",{"start":301,"end":303},{"line":253,"column":83,"offset":302},578,{"line":253,"column":304,"offset":305},15,588,{"start":307,"end":309},{"line":253,"column":47,"offset":308},576,{"line":253,"column":310,"offset":311},17,590,{"type":32,"value":313,"position":314}," right-click it in the Explorer and pick ",{"start":315,"end":316},{"line":253,"column":310,"offset":311},{"line":253,"column":317,"offset":318},58,631,{"type":35,"tagName":40,"properties":320,"children":321,"position":331},{},[322],{"type":32,"value":323,"position":324},"Rename",{"start":325,"end":328},{"line":253,"column":326,"offset":327},60,633,{"line":253,"column":329,"offset":330},66,639,{"start":332,"end":333},{"line":253,"column":317,"offset":318},{"line":253,"column":334,"offset":335},68,641,{"type":32,"value":337,"position":338},".",{"start":339,"end":340},{"line":253,"column":334,"offset":335},{"line":253,"column":118,"offset":341},642,{"start":343,"end":345},{"line":253,"column":54,"offset":344},574,{"line":253,"column":118,"offset":341},{"type":32,"value":33},{"type":35,"tagName":76,"properties":348,"children":349,"position":373},{},[350,367],{"type":35,"tagName":40,"properties":351,"children":352,"position":361},{},[353],{"type":32,"value":354,"position":355},"Removing it from a chart",{"start":356,"end":358},{"line":174,"column":83,"offset":357},647,{"line":174,"column":359,"offset":360},29,671,{"start":362,"end":364},{"line":174,"column":47,"offset":363},645,{"line":174,"column":365,"offset":366},31,673,{"type":32,"value":368,"position":369}," does not delete it. It stays in the Explorer.",{"start":370,"end":371},{"line":174,"column":365,"offset":366},{"line":174,"column":126,"offset":372},719,{"start":374,"end":376},{"line":174,"column":54,"offset":375},643,{"line":174,"column":126,"offset":372},{"type":32,"value":33},{"type":35,"tagName":76,"properties":379,"children":380,"position":452},{},[381,398,405,422,429,446],{"type":35,"tagName":40,"properties":382,"children":383,"position":392},{},[384],{"type":32,"value":385,"position":386},"Deleting it",{"start":387,"end":389},{"line":262,"column":83,"offset":388},724,{"line":262,"column":390,"offset":391},16,735,{"start":393,"end":395},{"line":262,"column":47,"offset":394},722,{"line":262,"column":396,"offset":397},18,737,{"type":32,"value":399,"position":400}," from the Explorer (right-click, ",{"start":401,"end":402},{"line":262,"column":396,"offset":397},{"line":262,"column":403,"offset":404},51,770,{"type":35,"tagName":40,"properties":406,"children":407,"position":417},{},[408],{"type":32,"value":409,"position":410},"Delete",{"start":411,"end":414},{"line":262,"column":412,"offset":413},53,772,{"line":262,"column":415,"offset":416},59,778,{"start":418,"end":419},{"line":262,"column":403,"offset":404},{"line":262,"column":420,"offset":421},61,780,{"type":32,"value":423,"position":424},") cannot be undone. A published version stays available to the people who have it, unless you also choose ",{"start":425,"end":426},{"line":262,"column":420,"offset":421},{"line":262,"column":427,"offset":428},167,886,{"type":35,"tagName":40,"properties":430,"children":431,"position":441},{},[432],{"type":32,"value":433,"position":434},"Also delete the published Indicator",{"start":435,"end":438},{"line":262,"column":436,"offset":437},169,888,{"line":262,"column":439,"offset":440},204,923,{"start":442,"end":443},{"line":262,"column":427,"offset":428},{"line":262,"column":444,"offset":445},206,925,{"type":32,"value":337,"position":447},{"start":448,"end":449},{"line":262,"column":444,"offset":445},{"line":262,"column":450,"offset":451},207,926,{"start":453,"end":455},{"line":262,"column":54,"offset":454},720,{"line":262,"column":450,"offset":451},{"type":32,"value":33},{"type":35,"tagName":76,"properties":458,"children":459,"position":468},{},[460],{"type":32,"value":461,"position":462},"A draft you have not saved or published shows only in this browser.",{"start":463,"end":465},{"line":26,"column":47,"offset":464},929,{"line":26,"column":466,"offset":467},70,996,{"start":469,"end":471},{"line":26,"column":54,"offset":470},927,{"line":26,"column":466,"offset":467},{"type":32,"value":33},{"start":474,"end":475},{"line":253,"column":54,"offset":344},{"line":26,"column":466,"offset":467},{"type":32,"value":33},{"type":35,"tagName":36,"properties":478,"children":479,"position":506},{},[480,488],{"type":32,"value":481,"position":482},"Kata can make the changes for you: open your indicator in the editor and ask it. See ",{"start":483,"end":485},{"line":304,"column":54,"offset":484},998,{"line":304,"column":486,"offset":487},86,1083,{"type":35,"tagName":489,"properties":490,"children":492,"position":501},"a",{"href":491},"/learn/faq/scripting/ai-writes-indicators",[493],{"type":32,"value":494,"position":495},"Can AI write or fix an indicator for me?",{"start":496,"end":498},{"line":304,"column":142,"offset":497},1084,{"line":304,"column":499,"offset":500},127,1124,{"start":502,"end":503},{"line":304,"column":486,"offset":487},{"line":304,"column":504,"offset":505},171,1168,{"start":507,"end":508},{"line":304,"column":54,"offset":484},{"line":304,"column":504,"offset":505},{"quirksMode":510},false,{"start":512,"end":514},{"line":54,"column":54,"offset":513},0,{"line":390,"column":54,"offset":515},1169,1795819757192]