[{"data":1,"prerenderedAt":927},["ShallowReactive",2],{"wrun-open-editor-url":3,"indicators:getting-started/write-with-ai":4},"https://openmarket.xyz/chart/#wrun-open=v1",{"slug":5,"filePath":6,"frontmatter":7,"rawMarkdown":12,"tree":13},"getting-started/write-with-ai","getting-started/write-with-ai.md",{"title":8,"description":9,"order":10,"section":11},"Write it with AI","Any AI assistant can write wrun. It is TypeScript syntax, which assistants have read a great deal of, and the editor's compiler checks every draft before…",4,"getting-started","---\ntitle: \"Write it with AI\"\ndescription: \"Any AI assistant can write wrun. It is TypeScript syntax, which assistants have read a great deal of, and the editor's compiler checks every draft before…\"\norder: 4\nsection: \"getting-started\"\n---\n\n\u003C!-- source: docs/indicators/getting-started/write-with-ai.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit -->\n\n# Write it with AI\n\n**Any AI assistant can write wrun.** It is TypeScript syntax, which\nassistants have read a great deal of, and the editor's compiler checks\nevery draft before anything runs.\n\n## The loop\n\n![The AI loop: you describe your idea to any AI assistant together with Copy for LLM from the editor; you paste the file it writes into the editor and press Run; if the compiler names errors, Copy for LLM sends the code and every error back; when it compiles, it draws on your chart](/wrun/images/diagrams/ai-loop.svg)\n\n1. **Open a tab.** In the editor, press **New indicator**, or open the\n   indicator you want to change.\n2. **Copy for LLM.** Right-click the editor tab and pick **Copy for LLM**.\n   One paste carries the language rules, the kit's API, your numbered code,\n   every error and your last run.\n3. **Ask.** Paste it into any assistant and say what you want, naming\n   everything it should draw (an example is below).\n4. **Run.** Put the complete file it returns into the tab and press\n   **Run**. The compiler names every mistake with a line and column.\n5. **Repeat until it compiles.** Copy for LLM again and paste it back. When\n   it compiles, it draws on your chart.\n\n## Better results\n\nA request that names everything it wants drawn:\n\n```text\nAn RSI(14) in its own pane with bands at 30 and 70, a dot on every cross\nback inside the bands, and an alert on each cross.\n```\n\n- **Name everything you want drawn.** Assistants keep the lines and tend to\n  drop labels, per-bar colors, fills, boxes, tables and alerts. List them in your\n  request, then check the legend and the chart against it.\n- **Build long scripts in parts.** A few hundred lines can outgrow one\n  answer. Ask for the settings and the plotted lines first and press\n  **Run**; then ask for the drawings, then the alerts, each time with a\n  fresh Copy for LLM.\n- **Check the numbers before you publish.** Compare the result with a\n  version you trust, on the same market and timeframe.\n\n## Porting from Pine\n\nPaste your Pine script with a **Copy for LLM** and ask for a port; the\nloop above takes it from there.\n[wrun vs Pine](wrun-vs-pine.md#bring-your-pine-scripts) shows one\nindicator in both languages, line for line.\n",{"type":14,"children":15,"data":920,"position":922},"root",[16,26,29,30,66,67,84,85,416,417,655,656,671,672,687,688,721,722,845,846,860,861],{"type":17,"value":18,"position":19},"comment"," source: docs/indicators/getting-started/write-with-ai.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit ",{"start":20,"end":23},{"line":21,"column":21,"offset":22},1,0,{"line":21,"column":24,"offset":25},136,135,{"type":27,"value":28},"text","\n",{"type":27,"value":28},{"type":31,"tagName":32,"properties":33,"children":34,"position":63},"element","p",{},[35,55],{"type":31,"tagName":36,"properties":37,"children":38,"position":49},"strong",{},[39],{"type":27,"value":40,"position":41},"Any AI assistant can write wrun.",{"start":42,"end":46},{"line":43,"column":44,"offset":45},5,3,159,{"line":43,"column":47,"offset":48},35,191,{"start":50,"end":52},{"line":43,"column":21,"offset":51},157,{"line":43,"column":53,"offset":54},37,193,{"type":27,"value":56,"position":57}," It is TypeScript syntax, which\nassistants have read a great deal of, and the editor's compiler checks\nevery draft before anything runs.",{"start":58,"end":59},{"line":43,"column":53,"offset":54},{"line":60,"column":61,"offset":62},7,34,329,{"start":64,"end":65},{"line":43,"column":21,"offset":51},{"line":60,"column":61,"offset":62},{"type":27,"value":28},{"type":31,"tagName":68,"properties":69,"children":70,"position":80},"h2",{},[71],{"type":27,"value":72,"position":73},"The loop",{"start":74,"end":77},{"line":75,"column":10,"offset":76},9,334,{"line":75,"column":78,"offset":79},12,342,{"start":81,"end":83},{"line":75,"column":21,"offset":82},331,{"line":75,"column":78,"offset":79},{"type":27,"value":28},{"type":31,"tagName":86,"properties":87,"children":90,"position":409},"figure",{"className":88},[89],"docs-figure",[91],{"type":31,"tagName":92,"properties":93,"children":102},"svg",{"xmlns":94,"viewBox":95,"role":96,"aria-labelledby":97,"letter-spacing":98,"className":99,"data-diagram":101},"http://www.w3.org/2000/svg","0 0 540 176","img","ai-loop-title","0",[100],"docs-diagram","ai-loop",[103,109,155,344],{"type":31,"tagName":104,"properties":105,"children":106},"title",{"id":97},[107],{"type":27,"value":108},"The AI loop: you describe your idea to any AI assistant together with Copy for LLM from the editor; you paste the file it writes into the editor and press Run; if the compiler names errors, Copy for LLM sends the code and every error back; when it compiles, it draws on your chart.",{"type":31,"tagName":110,"properties":111,"children":112},"defs",{},[113,142],{"type":31,"tagName":114,"properties":115,"children":119},"filter",{"id":116,"x":117,"y":117,"width":118,"height":118},"ai-loop-graphite","-2%","104%",[120,129,136],{"type":31,"tagName":121,"properties":122,"children":128},"feTurbulence",{"type":123,"baseFrequency":124,"numOctaves":125,"seed":126,"result":127},"fractalNoise","0.9","2","5","noise",[],{"type":31,"tagName":130,"properties":131,"children":135},"feColorMatrix",{"in":127,"type":132,"values":133,"result":134},"matrix","0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -1.6 1.5","grain",[],{"type":31,"tagName":137,"properties":138,"children":141},"feComposite",{"in":139,"in2":134,"operator":140},"SourceGraphic","in",[],{"type":31,"tagName":143,"properties":144,"children":146},"clipPath",{"id":145},"ai-loop-hatch1",[147],{"type":31,"tagName":148,"properties":149,"children":154},"rect",{"x":150,"y":151,"width":152,"height":153},"331","37","10","11",[],{"type":31,"tagName":156,"properties":157,"children":159},"g",{"filter":158},"url(#ai-loop-graphite)",[160,170,176,180,186,191,195,199,203,207,211,215,220,224,228,233,237,241,245,249,253,257,261,266,270,274,278,286,290,294,298,302,306,310,314,318,322,327,331,336,340],{"type":31,"tagName":161,"properties":162,"children":169},"path",{"d":163,"fill":164,"stroke":165,"stroke-width":166,"stroke-opacity":167,"stroke-linecap":168,"stroke-linejoin":168},"M41.8 29.3C41.8 29 41.9 27.9 42 27.1C42.2 26.4 42.4 25.7 42.6 25C42.9 24.4 43.2 23.7 43.6 23.1C43.9 22.4 44.4 21.8 44.8 21.3C45.3 20.7 45.8 20.2 46.3 19.7C46.8 19.2 47.4 18.7 48 18.3C48.6 17.9 49.3 17.6 49.9 17.3C50.6 17 51.3 16.7 52 16.5C52.7 16.3 53.4 16.2 54.1 16.1C54.9 16 55.6 16 56.3 16C57.1 16 57.8 16.1 58.5 16.2C59.2 16.4 60 16.5 60.7 16.8C61.3 17 62 17.3 62.7 17.7C63.3 18 64 18.4 64.6 18.9C65.1 19.3 65.7 19.8 66.2 20.3C66.8 20.9 67.2 21.5 67.7 22.1C68.1 22.7 68.5 23.3 68.8 24C69.2 24.7 69.5 25.4 69.7 26.1C69.9 26.8 70.1 27.6 70.2 28.3C70.3 29.1 70.4 29.9 70.4 30.6C70.4 31.4 70.3 32.2 70.2 32.9C70.1 33.7 69.9 34.5 69.6 35.2C69.4 35.9 69.1 36.7 68.7 37.3C68.3 38 67.9 38.7 67.4 39.3C66.9 39.9 66.4 40.5 65.8 41.1C65.3 41.6 64.6 42.1 64 42.5C63.3 43 62.6 43.4 61.9 43.7C61.2 44 60.5 44.3 59.7 44.5C58.9 44.7 58.2 44.9 57.4 45C56.6 45 55.8 45.1 55 45C54.2 45 53.4 44.9 52.7 44.7C51.9 44.6 51.1 44.3 50.4 44C49.7 43.8 48.9 43.4 48.3 43C47.6 42.6 46.9 42.2 46.3 41.7C45.7 41.2 45.2 40.6 44.6 40.1C44.1 39.5 43.6 38.8 43.2 38.2C42.8 37.5 42.4 36.8 42.1 36.1C41.7 35.4 41.5 34.7 41.3 33.9C41 33.2 40.9 32.4 40.8 31.6C40.7 30.8 40.7 30.1 40.7 29.3C40.7 28.5 40.8 27.7 41 26.9C41.1 26.2 41.3 25.4 41.6 24.6C41.8 23.9 42.4 22.9 42.5 22.5","none","var(--diagram-ink, #171511)","1.3","0.8","round",[],{"type":31,"tagName":161,"properties":171,"children":175},{"d":172,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":174,"stroke-linecap":168,"stroke-linejoin":168},"M50.1 47.3C52.1 47.3 60.1 47.2 62.1 47.2","1.15","0.75",[],{"type":31,"tagName":161,"properties":177,"children":179},{"d":178,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":174,"stroke-linecap":168,"stroke-linejoin":168},"M50.9 52.1C52.7 52.1 60.1 52 61.9 52",[],{"type":31,"tagName":161,"properties":181,"children":185},{"d":182,"fill":164,"stroke":183,"stroke-width":166,"stroke-opacity":184,"stroke-linecap":168,"stroke-linejoin":168},"M50.1 33.2C50.3 32.9 50.8 31.9 51.1 31.2C51.4 30.5 51.8 29.9 52.1 29.2C52.4 28.6 52.8 27.2 53.1 27.2C53.4 27.2 53.7 28.6 54 29.2C54.4 29.9 54.7 30.5 55 31.2C55.4 31.9 55.7 33.3 56.1 33.3C56.4 33.3 56.8 31.9 57.1 31.2C57.5 30.6 57.8 29.9 58.1 29.2C58.5 28.6 58.8 27.3 59.1 27.3C59.4 27.3 59.7 28.6 60 29.2C60.3 29.9 60.7 30.6 61 31.2C61.4 31.9 61.9 32.9 62 33.2","var(--diagram-wrun, #c85a34)","0.95",[],{"type":31,"tagName":161,"properties":187,"children":190},{"d":188,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M39.9 20.9C39.2 20.6 36.5 19.3 35.9 19","0.6",[],{"type":31,"tagName":161,"properties":192,"children":194},{"d":193,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M47.5 13.4C47.2 12.7 45.8 9.7 45.5 9",[],{"type":31,"tagName":161,"properties":196,"children":198},{"d":197,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M63.4 14.3C63.9 13.5 65.7 10.2 66.2 9.3",[],{"type":31,"tagName":161,"properties":200,"children":202},{"d":201,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M72.2 21.4C72.8 21 75.5 19.3 76.2 18.9",[],{"type":31,"tagName":161,"properties":204,"children":206},{"d":205,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M91.8 38.5C93.2 38.4 97.3 38.5 100.1 38.4C102.8 38.4 105.5 38.4 108.3 38.3C111 38.3 113.7 38.2 116.5 38.1C119.2 38.1 121.9 38 124.7 38C127.4 38 130.2 38 132.9 38C135.6 38 138.4 38 141.1 38.1C143.8 38.1 146.6 38.2 149.3 38.3C152 38.3 156.1 38.4 157.5 38.4",[],{"type":31,"tagName":161,"properties":208,"children":210},{"d":209,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M157.6 38.3C156.6 38.7 152.3 40.3 151.2 40.7",[],{"type":31,"tagName":161,"properties":212,"children":214},{"d":213,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M158.3 37.9C157.3 37.4 153.2 35.5 152.2 35",[],{"type":31,"tagName":161,"properties":216,"children":219},{"d":217,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":218,"stroke-linecap":168,"stroke-linejoin":168},"M167.8 31.9C167.8 30.9 167.8 27.4 167.8 25.9C167.9 24.5 168 24.2 168.2 23.3C168.5 22.5 168.8 21.7 169.3 21C169.7 20.2 170.3 19.5 170.9 19C171.6 18.4 172.3 17.9 173 17.5C173.8 17.1 174.6 16.8 175.4 16.6C176.2 16.4 176.5 16.4 177.9 16.4C179.4 16.4 182.2 16.6 184.3 16.6C186.4 16.7 188.5 16.7 190.6 16.7C192.7 16.7 194.8 16.6 196.9 16.6C199 16.5 201.1 16.4 203.3 16.4C205.4 16.3 207.5 16.2 209.6 16.2C211.7 16.2 214.4 16.1 215.9 16.2C217.4 16.2 217.6 16.3 218.4 16.6C219.2 16.8 220 17.1 220.8 17.6C221.5 18 222.1 18.6 222.7 19.2C223.3 19.8 223.8 20.5 224.2 21.2C224.6 21.9 224.9 22.7 225.1 23.5C225.2 24.3 225.3 24.6 225.3 26C225.4 27.4 225.3 29.9 225.3 31.9C225.3 33.9 225.4 35.9 225.4 37.9C225.5 39.9 225.7 42.5 225.7 43.9C225.7 45.4 225.7 45.7 225.5 46.5C225.3 47.3 225 48.2 224.6 49C224.2 49.7 223.7 50.5 223.1 51.1C222.5 51.7 221.8 52.3 221 52.8C220.3 53.2 219.4 53.6 218.6 53.9C217.7 54.1 217.4 54.2 215.9 54.2C214.4 54.3 211.7 54.2 209.6 54.2C207.5 54.1 205.4 54.1 203.3 54C201.1 54 199 54 196.9 54C194.8 54 192.7 54 190.6 54C188.5 54.1 186.4 54.1 184.3 54.2C182.1 54.3 179.4 54.5 177.9 54.5C176.4 54.5 176.1 54.4 175.2 54.2C174.3 54 173.4 53.7 172.6 53.2C171.8 52.8 171 52.2 170.3 51.6C169.6 50.9 169.1 50.1 168.6 49.3C168.1 48.5 167.8 47.6 167.5 46.7C167.3 45.8 167.2 45.4 167.2 44C167.2 42.5 167.3 39.9 167.4 37.9C167.5 35.9 167.6 32.9 167.6 31.9","0.7",[],{"type":31,"tagName":161,"properties":221,"children":223},{"d":222,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":218,"stroke-linecap":168,"stroke-linejoin":168},"M167.5 25.9C167.5 25.4 167.6 24.1 167.8 23.2C168 22.4 168.4 21.5 168.8 20.8C169.3 20 169.8 19.3 170.4 18.6C171 18 171.8 17.4 172.5 16.9C173.3 16.5 174.1 16.1 175 15.8C175.9 15.6 176.2 15.5 177.7 15.4C179.2 15.3 181.9 15.3 184 15.2C186.1 15.2 188.3 15.2 190.4 15.2C192.5 15.2 194.6 15.3 196.7 15.4C198.8 15.5 200.9 15.6 203 15.7C205.1 15.8 207.3 15.9 209.4 16C211.5 16.1 214.2 16.1 215.7 16.1C217.2 16.2 217.4 16.3 218.2 16.5C219 16.7 219.8 17 220.6 17.4C221.3 17.9 222 18.4 222.6 19C223.2 19.6 223.8 20.2 224.2 21C224.7 21.7 225 22.5 225.3 23.3C225.5 24.2 225.6 24.5 225.6 25.9C225.7 27.3 225.7 29.9 225.7 31.9C225.7 33.9 225.6 35.9 225.6 37.9C225.5 39.9 225.4 42.5 225.3 43.9C225.2 45.3 225.1 45.6 224.9 46.4C224.7 47.1 224.3 47.9 223.9 48.6C223.4 49.3 222.9 49.9 222.3 50.5C221.7 51 221 51.5 220.3 51.9C219.6 52.3 218.9 52.6 218.1 52.8C217.3 53 217.1 53 215.7 53.1C214.2 53.2 211.5 53.2 209.4 53.2C207.3 53.3 205.1 53.4 203 53.5C200.9 53.5 198.8 53.6 196.7 53.7C194.6 53.7 192.5 53.8 190.4 53.8C188.3 53.8 186.1 53.8 184 53.7C181.9 53.7 179.2 53.7 177.7 53.6C176.2 53.5 176 53.5 175.2 53.2C174.4 53 173.6 52.7 172.9 52.2C172.2 51.8 171.5 51.3 170.9 50.7C170.3 50.1 169.8 49.4 169.3 48.7C168.9 48 168.5 47.2 168.3 46.4C168.1 45.6 168 45.3 167.9 43.9C167.8 42.5 167.7 39.9 167.6 37.9C167.5 35.9 167.4 33.9 167.3 31.9C167.2 29.9 167.1 26.9 167.1 25.9",[],{"type":31,"tagName":161,"properties":225,"children":227},{"d":226,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":167,"stroke-linecap":168,"stroke-linejoin":168},"M183.6 54.2C183.4 54.8 182.7 56.5 182.2 57.6C181.8 58.7 181.3 59.8 180.9 60.9C180.4 62 179.3 64.1 179.6 64.3C179.8 64.6 181.5 63 182.5 62.3C183.4 61.7 184.4 61 185.3 60.3C186.2 59.7 187.2 59 188.1 58.3C189 57.7 190 57 190.9 56.3C191.8 55.7 193.2 54.7 193.7 54.3",[],{"type":31,"tagName":161,"properties":229,"children":232},{"d":230,"fill":165,"fill-opacity":231},"M188.2 35C188 35.2 187.8 36 187.5 36.3C187.3 36.6 187 36.6 186.7 36.8C186.3 36.9 185.7 37.1 185.3 37C185 36.9 184.7 36.7 184.5 36.3C184.3 36 184.1 35.4 184.1 35C184 34.6 183.9 34.1 184.2 33.7C184.4 33.4 185 33.2 185.4 33.1C185.8 33 186.3 33 186.6 33.1C187 33.2 187.2 33.5 187.4 33.8C187.7 34.1 188.1 34.6 188.2 35C188.2 35.4 187.6 36.1 187.5 36.3Z",".9",[],{"type":31,"tagName":161,"properties":234,"children":236},{"d":235,"fill":165,"fill-opacity":231},"M198.9 35C198.9 35.2 198.8 35.8 198.6 36.1C198.3 36.4 197.9 36.7 197.5 36.8C197.2 36.9 196.8 36.8 196.4 36.7C196.1 36.6 195.7 36.3 195.4 36C195.2 35.7 195 35.4 195 35C195 34.6 195.3 34.1 195.5 33.8C195.7 33.5 196 33.4 196.4 33.3C196.7 33.2 197.2 32.9 197.5 33C197.9 33.1 198.3 33.6 198.6 33.9C198.8 34.3 198.9 34.6 198.9 35C198.9 35.4 198.6 36 198.6 36.1Z",[],{"type":31,"tagName":161,"properties":238,"children":240},{"d":239,"fill":165,"fill-opacity":231},"M209.9 35C209.8 35.2 209.7 35.7 209.5 36C209.3 36.4 208.9 37 208.6 37.1C208.3 37.2 207.8 36.8 207.5 36.6C207.1 36.5 206.8 36.5 206.6 36.2C206.3 35.9 206.2 35.4 206.1 35C206.1 34.6 206.1 34.1 206.3 33.8C206.5 33.4 207 33 207.4 32.9C207.8 32.8 208.3 33.2 208.7 33.3C209.1 33.4 209.4 33.4 209.6 33.7C209.8 34 209.9 34.6 209.9 35C209.9 35.4 209.6 35.8 209.5 36Z",[],{"type":31,"tagName":161,"properties":242,"children":244},{"d":243,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M236.5 38C237.9 38 242 38 244.8 38C247.5 38 250.3 38 253 38C255.8 38 258.5 38 261.3 38C264 38 266.8 38 269.5 38C272.3 37.9 275 37.9 277.8 37.8C280.5 37.7 283.3 37.7 286 37.6C288.8 37.5 291.5 37.5 294.3 37.4C297 37.4 301.1 37.4 302.5 37.4",[],{"type":31,"tagName":161,"properties":246,"children":248},{"d":247,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M301.6 38.1C300.7 38.5 297 40.3 296.1 40.7",[],{"type":31,"tagName":161,"properties":250,"children":252},{"d":251,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":189,"stroke-linecap":168,"stroke-linejoin":168},"M301.6 38.2C300.4 37.6 296 35.4 294.9 34.8",[],{"type":31,"tagName":161,"properties":254,"children":256},{"d":255,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":218,"stroke-linecap":168,"stroke-linejoin":168},"M313.5 41.6C313.5 40.4 313.6 36.7 313.7 34.3C313.7 31.8 313.9 28.4 313.9 26.9C314 25.5 314 26 314.2 25.5C314.3 25.1 314.5 24.7 314.7 24.3C315 23.9 315.3 23.5 315.6 23.2C315.9 22.9 316.3 22.6 316.7 22.4C317.1 22.2 317.5 22 318 21.9C318.4 21.8 317.9 21.8 319.3 21.8C320.7 21.7 323.8 21.8 326.1 21.8C328.4 21.8 330.6 21.7 332.9 21.7C335.2 21.6 337.4 21.6 339.7 21.6C342 21.5 344.2 21.5 346.5 21.6C348.8 21.6 351.9 21.7 353.3 21.7C354.7 21.8 354.2 21.8 354.6 22C355.1 22.1 355.5 22.3 355.8 22.5C356.2 22.8 356.6 23.1 356.8 23.4C357.1 23.7 357.4 24.1 357.6 24.4C357.8 24.8 357.9 25.2 358 25.7C358.1 26.1 358.2 25.5 358.1 26.9C358.1 28.4 357.9 31.8 357.8 34.3C357.8 36.7 357.7 39.1 357.7 41.6C357.7 44 357.8 47.5 357.8 48.9C357.8 50.3 357.8 49.7 357.7 50.1C357.6 50.5 357.4 50.8 357.2 51.2C357.1 51.5 356.8 51.9 356.5 52.2C356.3 52.4 355.9 52.7 355.6 52.9C355.3 53.1 354.9 53.3 354.5 53.4C354.1 53.5 354.6 53.5 353.3 53.6C352 53.6 348.8 53.7 346.5 53.7C344.2 53.7 342 53.7 339.7 53.6C337.4 53.6 335.2 53.5 332.9 53.4C330.6 53.4 328.4 53.3 326.1 53.3C323.8 53.2 320.6 53.2 319.3 53.2C318 53.2 318.6 53.2 318.2 53.1C317.8 53 317.5 52.8 317.1 52.7C316.8 52.5 316.5 52.2 316.2 52C316 51.7 315.7 51.4 315.5 51.1C315.3 50.8 315.2 50.4 315 50.1C314.9 49.7 314.9 50.3 314.8 48.9C314.8 47.5 314.6 44 314.5 41.6C314.4 39.1 314.3 35.5 314.2 34.3",[],{"type":31,"tagName":161,"properties":258,"children":260},{"d":259,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":218,"stroke-linecap":168,"stroke-linejoin":168},"M357.1 25.6C357.1 25.8 357.2 25.4 357.3 26.8C357.3 28.2 357.2 31.7 357.2 34.1C357.2 36.6 357.2 39 357.2 41.5C357.3 43.9 357.4 47.4 357.4 48.8C357.4 50.2 357.4 49.6 357.3 50C357.2 50.4 357.1 50.8 356.9 51.1C356.7 51.5 356.5 51.8 356.2 52.1C355.9 52.4 355.6 52.7 355.2 52.9C354.9 53.1 354.5 53.3 354.1 53.4C353.7 53.6 354.2 53.6 352.8 53.7C351.5 53.7 348.3 53.8 346 53.9C343.8 54 341.5 54.1 339.2 54.1C337 54.2 334.7 54.2 332.4 54.2C330.2 54.2 327.9 54.2 325.6 54.2C323.4 54.2 320.2 54.2 318.8 54.1C317.5 54.1 317.9 54.1 317.5 53.9C317 53.8 316.6 53.6 316.2 53.4C315.8 53.2 315.4 52.9 315.1 52.5C314.8 52.2 314.5 51.8 314.3 51.4C314.1 51 313.9 50.6 313.8 50.1C313.7 49.7 313.6 50.2 313.6 48.8C313.6 47.3 313.7 43.9 313.7 41.5C313.7 39 313.6 36.6 313.6 34.1C313.6 31.7 313.5 28.2 313.5 26.8C313.5 25.3 313.5 25.8 313.6 25.4C313.7 24.9 313.9 24.5 314.1 24.1C314.4 23.7 314.7 23.3 315 22.9C315.3 22.6 315.7 22.3 316.1 22C316.5 21.8 317 21.6 317.4 21.4C317.9 21.3 317.5 21.3 318.8 21.2C320.2 21.2 323.4 21.1 325.6 21.1C327.9 21.1 330.2 21.1 332.4 21.1C334.7 21.1 337 21.1 339.2 21.1C341.5 21.2 343.8 21.3 346 21.3C348.3 21.4 351.5 21.5 352.9 21.6C354.2 21.7 353.8 21.7 354.2 21.8C354.6 21.9 355 22.1 355.4 22.4C355.8 22.6 356.1 22.9 356.4 23.2C356.7 23.5 357 23.9 357.2 24.3C357.4 24.7 357.6 25.3 357.7 25.5",[],{"type":31,"tagName":161,"properties":262,"children":265},{"d":263,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":264,"stroke-linecap":168,"stroke-linejoin":168},"M314 30.5C315.5 30.4 320 30.4 322.9 30.4C325.9 30.4 328.9 30.4 331.8 30.4C334.8 30.5 337.8 30.5 340.7 30.6C343.7 30.7 346.7 30.7 349.6 30.8C352.6 30.8 357.1 30.9 358.5 30.9","0.82",[],{"type":31,"tagName":161,"properties":267,"children":269},{"d":268,"fill":165,"fill-opacity":231},"M321.1 26.6C321 26.7 320.8 27 320.7 27.2C320.6 27.4 320.6 27.6 320.4 27.7C320.2 27.7 319.8 27.7 319.6 27.7C319.4 27.6 319.3 27.6 319.2 27.4C319.1 27.2 319 26.9 319 26.6C318.9 26.3 318.9 26 319 25.8C319.1 25.6 319.4 25.5 319.6 25.4C319.9 25.4 320.1 25.3 320.3 25.4C320.4 25.6 320.5 25.9 320.7 26C320.8 26.2 321.1 26.4 321.1 26.6C321.1 26.8 320.7 27.1 320.7 27.2Z",[],{"type":31,"tagName":161,"properties":271,"children":273},{"d":272,"fill":165,"fill-opacity":231},"M326.3 26.6C326.2 26.7 325.9 27.2 325.8 27.3C325.6 27.4 325.6 27.3 325.4 27.4C325.3 27.5 325 27.8 324.7 27.7C324.5 27.7 324.1 27.3 324 27.1C323.8 27 323.8 26.8 323.8 26.6C323.9 26.4 324.1 26.3 324.3 26.1C324.4 25.9 324.5 25.6 324.7 25.5C324.9 25.4 325.2 25.5 325.4 25.5C325.6 25.6 325.7 25.8 325.9 26C326 26.1 326.3 26.4 326.3 26.6C326.2 26.8 325.9 27.2 325.8 27.3Z",[],{"type":31,"tagName":161,"properties":275,"children":277},{"d":276,"fill":165,"fill-opacity":231},"M330.9 26.6C330.9 26.7 331.1 27.1 331 27.3C330.9 27.5 330.5 27.8 330.3 27.8C330.1 27.8 329.9 27.5 329.7 27.4C329.5 27.3 329.3 27.4 329.1 27.2C329 27.1 329 26.8 329 26.6C329 26.4 328.9 26.1 329 26C329.1 25.8 329.4 25.8 329.6 25.7C329.9 25.6 330.2 25.4 330.4 25.4C330.6 25.4 330.7 25.7 330.8 25.9C330.9 26.1 330.9 26.4 330.9 26.6C330.9 26.8 331 27.2 331 27.3Z",[],{"type":31,"tagName":156,"properties":279,"children":281},{"clip-path":280},"url(#ai-loop-hatch1)",[282],{"type":31,"tagName":161,"properties":283,"children":285},{"d":284,"fill":164,"stroke":183,"stroke-width":124,"stroke-opacity":189,"stroke-linecap":168},"M323 45.6C324.6 43 331.3 32.5 333 29.9 M323.9 46.8C325.6 44.1 332.7 33.3 334.5 30.6 M328.1 48C329.7 45.2 335.8 33.9 337.4 31.1 M328.7 49.5C330.6 46.9 337.9 36.8 339.8 34.2 M332.1 50.9C333.6 48.4 339.7 38.3 341.2 35.8 M332.5 52.1C334.3 49.5 341.5 39.2 343.3 36.6 M334.2 53.2C336 50.5 343.2 40 345 37.3 M335.7 53.6C337.4 51 344.5 40.3 346.3 37.6 M339.6 55C341.2 52.3 347.6 41.7 349.2 39.1",[],{"type":31,"tagName":161,"properties":287,"children":289},{"d":288,"fill":164,"stroke":183,"stroke-width":166,"stroke-opacity":184,"stroke-linecap":168,"stroke-linejoin":168},"M330.7 37.3C331.1 37.5 332.5 38.2 333.4 38.6C334.3 39.1 335.3 39.5 336.2 40C337.1 40.4 338 40.9 338.9 41.4C339.8 41.8 341.7 42.2 341.7 42.7C341.7 43.1 339.9 43.6 338.9 44C338 44.5 337.1 44.9 336.2 45.4C335.3 45.9 334.4 46.3 333.4 46.8C332.5 47.2 331.2 48.5 330.7 48.2C330.3 47.8 330.7 45.7 330.7 44.5C330.7 43.3 330.7 42.1 330.7 40.8C330.7 39.6 330.7 37.8 330.7 37.2",[],{"type":31,"tagName":161,"properties":291,"children":293},{"d":292,"fill":164,"stroke":183,"stroke-width":166,"stroke-opacity":184,"stroke-linecap":168,"stroke-linejoin":168},"M330.8 37.2C331.3 37.4 332.7 38.1 333.6 38.5C334.5 39 335.4 39.5 336.3 39.9C337.2 40.4 338.2 40.8 339.1 41.3C340 41.7 341.8 42.1 341.8 42.6C341.8 43 340 43.4 339.1 43.9C338.2 44.4 337.3 44.8 336.3 45.3C335.4 45.7 334.5 46.2 333.6 46.7C332.7 47.1 331.3 48.4 330.9 48.1C330.4 47.7 330.9 45.6 330.9 44.4C330.9 43.2 330.9 42 330.9 40.8C330.9 39.5 330.9 37.7 330.9 37.1",[],{"type":31,"tagName":161,"properties":295,"children":297},{"d":296,"fill":164,"stroke":183,"stroke-width":173,"stroke-opacity":124,"stroke-linecap":168,"stroke-linejoin":168},"M372.4 37.7C373.8 37.7 377.9 37.8 380.6 37.9C383.3 38 386.1 38.1 388.8 38.2C391.5 38.3 394.2 38.3 397 38.4C399.7 38.5 402.4 38.5 405.1 38.5C407.9 38.5 410.6 38.5 413.3 38.5C416.1 38.5 418.8 38.5 421.5 38.4C424.2 38.4 427 38.4 429.7 38.4C432.4 38.4 436.5 38.4 437.9 38.4",[],{"type":31,"tagName":161,"properties":299,"children":301},{"d":300,"fill":164,"stroke":183,"stroke-width":173,"stroke-opacity":124,"stroke-linecap":168,"stroke-linejoin":168},"M437.3 37.6C436.4 38.1 432.9 40.2 432 40.8",[],{"type":31,"tagName":161,"properties":303,"children":305},{"d":304,"fill":164,"stroke":183,"stroke-width":173,"stroke-opacity":124,"stroke-linecap":168,"stroke-linejoin":168},"M437.7 38.2C436.7 37.6 432.8 35.5 431.8 34.9",[],{"type":31,"tagName":161,"properties":307,"children":309},{"d":308,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":218,"stroke-linecap":168,"stroke-linejoin":168},"M504.6 47.6C504.6 48.7 504.5 52.5 504.4 54C504.3 55.5 504.3 55.8 504 56.7C503.8 57.5 503.4 58.4 503 59.1C502.5 59.9 502 60.6 501.4 61.2C500.7 61.9 500 62.4 499.2 62.9C498.5 63.3 497.6 63.7 496.8 63.9C495.9 64.2 495.6 64.2 494.1 64.3C492.6 64.4 489.8 64.5 487.7 64.5C485.6 64.6 483.4 64.6 481.3 64.6C479.2 64.7 477 64.7 474.9 64.6C472.8 64.6 470.6 64.5 468.5 64.5C466.4 64.4 463.6 64.3 462.1 64.2C460.6 64.1 460.3 64 459.5 63.7C458.7 63.5 457.8 63.1 457.1 62.6C456.4 62.2 455.7 61.6 455.1 61C454.5 60.4 454 59.6 453.6 58.9C453.2 58.2 452.9 57.3 452.7 56.5C452.5 55.7 452.4 55.5 452.3 54C452.3 52.5 452.3 49.7 452.3 47.6C452.3 45.5 452.2 43.3 452.2 41.2C452.1 39.1 452.1 36.9 452.1 34.8C452.1 32.7 452.1 30.5 452.1 28.4C452.2 26.3 452.2 23.5 452.3 22C452.4 20.5 452.5 20.3 452.7 19.5C453 18.7 453.3 17.9 453.8 17.2C454.2 16.5 454.8 15.8 455.4 15.3C456 14.7 456.7 14.2 457.4 13.8C458.1 13.5 458.9 13.2 459.7 13C460.5 12.8 460.7 12.8 462.1 12.7C463.6 12.7 466.4 12.8 468.5 12.8C470.6 12.7 472.8 12.7 474.9 12.6C477 12.6 479.2 12.5 481.3 12.4C483.4 12.4 485.6 12.3 487.7 12.3C489.8 12.2 492.6 12.1 494.1 12.2C495.6 12.2 495.8 12.3 496.6 12.5C497.5 12.8 498.3 13.1 499 13.5C499.7 14 500.4 14.5 501 15.1C501.5 15.7 502.1 16.4 502.5 17.2C502.9 17.9 503.2 18.7 503.4 19.5C503.6 20.3 503.6 20.5 503.6 22C503.7 23.5 503.6 26.3 503.6 28.4C503.6 30.5 503.6 32.7 503.6 34.8C503.7 36.9 503.8 39.1 503.9 41.2C503.9 43.3 504.1 45.5 504.1 47.6C504.2 49.7 504.3 52.9 504.4 54",[],{"type":31,"tagName":161,"properties":311,"children":313},{"d":312,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":218,"stroke-linecap":168,"stroke-linejoin":168},"M457.1 14.3C457.5 14.1 458.6 13.5 459.4 13.2C460.2 13 460.4 12.9 461.9 12.8C463.4 12.7 466.1 12.7 468.3 12.7C470.4 12.6 472.5 12.6 474.7 12.7C476.8 12.7 478.9 12.7 481.1 12.8C483.2 12.9 485.3 13 487.5 13C489.6 13.1 492.4 13.1 493.8 13.2C495.3 13.3 495.5 13.3 496.3 13.5C497 13.7 497.8 14.1 498.5 14.5C499.2 14.8 499.8 15.3 500.4 15.9C501 16.5 501.5 17.1 501.9 17.8C502.4 18.5 502.7 19.2 502.9 20C503.2 20.8 503.3 21 503.4 22.5C503.5 23.9 503.5 26.7 503.6 28.8C503.7 31 503.8 33.1 503.8 35.2C503.8 37.4 503.8 39.5 503.8 41.6C503.8 43.8 503.7 45.9 503.7 48C503.7 50.2 503.6 52.9 503.6 54.4C503.5 55.9 503.4 56.1 503.2 56.9C503 57.7 502.6 58.5 502.2 59.3C501.8 60 501.3 60.7 500.7 61.3C500.1 61.9 499.4 62.4 498.7 62.8C498 63.3 497.2 63.6 496.4 63.9C495.6 64.1 495.4 64.2 493.9 64.3C492.4 64.4 489.6 64.5 487.5 64.6C485.3 64.7 483.2 64.8 481.1 64.8C478.9 64.9 476.8 65 474.7 65C472.5 65 470.4 64.9 468.3 64.9C466.1 64.9 463.4 64.9 461.9 64.8C460.4 64.7 460.1 64.6 459.2 64.3C458.4 64.1 457.5 63.7 456.8 63.3C456 62.8 455.3 62.3 454.7 61.6C454.1 61 453.5 60.3 453.1 59.5C452.6 58.8 452.3 57.9 452 57.1C451.8 56.2 451.7 56 451.6 54.4C451.5 52.9 451.5 50.2 451.4 48C451.4 45.9 451.3 43.8 451.2 41.6C451.2 39.5 451.1 37.4 451.1 35.2C451.1 33.1 451.1 31 451.1 28.8C451.2 26.7 451.2 23.9 451.3 22.4C451.4 20.9 451.5 20.6 451.8 19.7C452 18.9 452.4 18 452.9 17.3C453.4 16.5 454 15.8 454.6 15.2C455.3 14.6 456 14 456.8 13.6C457.6 13.2 458.8 12.8 459.2 12.6",[],{"type":31,"tagName":161,"properties":315,"children":317},{"d":316,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":218,"stroke-linecap":168,"stroke-linejoin":168},"M462.1 21.2C462.2 22.6 462.3 26.8 462.3 29.6C462.3 32.4 462.3 35.2 462.3 38C462.3 40.8 462.3 43.6 462.2 46.4C462.2 49.2 462.3 53.4 462.3 54.8",[],{"type":31,"tagName":161,"properties":319,"children":321},{"d":320,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":218,"stroke-linecap":168,"stroke-linejoin":168},"M461.6 53.7C462.9 53.7 467.1 53.8 469.9 53.9C472.7 53.9 475.5 54 478.3 54C481.1 54.1 483.9 54.1 486.6 54.1C489.4 54.2 493.6 54.2 495 54.2",[],{"type":31,"tagName":161,"properties":323,"children":326},{"d":324,"fill":164,"stroke":183,"stroke-width":325,"stroke-opacity":184,"stroke-linecap":168,"stroke-linejoin":168},"M466 48.9C466.7 48.3 468.7 46.6 470.1 45.4C471.4 44.3 472.1 42.1 473.9 42C475.8 41.9 479.4 45.2 481 45C482.6 44.7 482.7 42.1 483.6 40.6C484.4 39.2 485.2 37.8 486 36.4C486.9 34.9 487.7 33.5 488.5 32.1C489.3 30.7 490.6 28.6 491 27.8","1.6",[],{"type":31,"tagName":161,"properties":328,"children":330},{"d":329,"fill":164,"stroke":183,"stroke-width":325,"stroke-opacity":184,"stroke-linecap":168,"stroke-linejoin":168},"M465.9 48.8C466.6 48.2 468.6 46.4 470 45.3C471.3 44.1 472.1 41.9 473.9 41.9C475.7 41.8 479.3 45.1 480.9 44.9C482.5 44.7 482.7 42 483.6 40.5C484.4 39.1 485.2 37.7 486 36.3C486.9 34.9 487.7 33.4 488.5 32C489.3 30.6 490.5 28.4 491 27.7",[],{"type":31,"tagName":161,"properties":332,"children":335},{"d":333,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":334,"stroke-linecap":168,"stroke-linejoin":168},"M335.5 115.6C335.3 116.5 334.5 119 334 120.6C333.5 122.3 333 124 332.5 125.6C331.9 127.3 331.4 129 330.9 130.6C330.4 132.2 330.5 134.4 329.4 135.5C328.3 136.6 326.1 136.5 324.5 137C322.8 137.6 321.1 138.1 319.5 138.7C317.8 139.3 316.1 139.8 314.5 140.4C312.8 141 311.1 141.5 309.5 142.1C307.8 142.7 306.2 143.3 304.5 143.9C302.9 144.4 301.3 145.3 299.5 145.6C297.8 145.9 296 145.6 294.2 145.6C292.4 145.6 290.7 145.6 288.9 145.6C287.1 145.6 285.3 145.6 283.6 145.6C281.8 145.5 280 145.5 278.2 145.5C276.4 145.5 274.7 145.5 272.9 145.5C271.1 145.5 269.3 145.5 267.6 145.5C265.8 145.5 264 145.5 262.2 145.6C260.4 145.6 258.7 145.6 256.9 145.6C255.1 145.7 253.3 145.7 251.6 145.7C249.8 145.8 248 145.8 246.2 145.8C244.4 145.8 242.7 145.8 240.9 145.8C239.1 145.8 237.3 146.1 235.5 145.8C233.8 145.6 232.1 144.9 230.4 144.5C228.6 144 226.9 143.5 225.2 143.1C223.5 142.6 221.8 142.2 220 141.7C218.3 141.3 216.6 140.8 214.9 140.4C213.1 140 211.4 139.5 209.7 139.1C208 138.7 205.7 139 204.4 137.8C203.1 136.6 202.8 133.7 202 131.7C201.2 129.7 200.4 127.8 199.6 125.8C198.8 123.8 197.7 120.7 197.3 119.7","0.65",[],{"type":31,"tagName":161,"properties":337,"children":339},{"d":338,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":334,"stroke-linecap":168,"stroke-linejoin":168},"M197.2 117.5C198.1 118.3 201.6 121.3 202.5 122.1",[],{"type":31,"tagName":161,"properties":341,"children":343},{"d":342,"fill":164,"stroke":165,"stroke-width":173,"stroke-opacity":334,"stroke-linecap":168,"stroke-linejoin":168},"M197 117.7C196.9 118.8 196.3 123.4 196.2 124.6",[],{"type":31,"tagName":156,"properties":345,"children":347},{"fill-opacity":346},".88",[348,358,367,374,381,387,396,401],{"type":31,"tagName":27,"properties":349,"children":355},{"x":350,"y":351,"font-family":352,"font-size":153,"fill":183,"text-anchor":353,"transform":354},"405","28","'Architects Daughter', 'Bradley Hand', 'Segoe Print', cursive","middle","rotate(-0.05 405 28)",[356],{"type":27,"value":357},"compiles",{"type":31,"tagName":27,"properties":359,"children":364},{"x":360,"y":361,"font-family":352,"font-size":362,"fill":165,"text-anchor":353,"transform":363},"56","90","13.5","rotate(-0.49 56 90)",[365],{"type":27,"value":366},"your idea",{"type":31,"tagName":27,"properties":368,"children":371},{"x":369,"y":361,"font-family":352,"font-size":362,"fill":165,"text-anchor":353,"transform":370},"197","rotate(0.40 197 90)",[372],{"type":27,"value":373},"any AI",{"type":31,"tagName":27,"properties":375,"children":378},{"x":376,"y":361,"font-family":352,"font-size":362,"fill":165,"text-anchor":353,"transform":377},"336","rotate(0.60 336 90)",[379],{"type":27,"value":380},"Run",{"type":31,"tagName":27,"properties":382,"children":384},{"x":383,"y":361,"font-family":352,"font-size":362,"fill":165,"text-anchor":353},"478",[385],{"type":27,"value":386},"your chart",{"type":31,"tagName":27,"properties":388,"children":393},{"x":369,"y":389,"font-family":352,"font-size":390,"fill":391,"text-anchor":353,"transform":392},"107","10.5","var(--diagram-muted, #766f64)","rotate(-0.38 197 107)",[394],{"type":27,"value":395},"with Copy for LLM",{"type":31,"tagName":27,"properties":397,"children":398},{"x":376,"y":389,"font-family":352,"font-size":390,"fill":391,"text-anchor":353},[399],{"type":27,"value":400},"in the editor",{"type":31,"tagName":27,"properties":402,"children":406},{"x":403,"y":404,"font-family":352,"font-size":405,"fill":391,"text-anchor":353},"267","166","12",[407],{"type":27,"value":408},"errors? Copy for LLM, paste it back",{"start":410,"end":413},{"line":411,"column":21,"offset":412},11,344,{"line":411,"column":414,"offset":415},319,662,{"type":27,"value":28},{"type":31,"tagName":418,"properties":419,"children":420,"position":652},"ol",{},[421,422,481,482,535,536,567,568,618,619,651],{"type":27,"value":28},{"type":31,"tagName":423,"properties":424,"children":425,"position":477},"li",{},[426,445,452,469],{"type":31,"tagName":36,"properties":427,"children":428,"position":439},{},[429],{"type":27,"value":430,"position":431},"Open a tab.",{"start":432,"end":436},{"line":433,"column":434,"offset":435},13,6,669,{"line":433,"column":437,"offset":438},17,680,{"start":440,"end":442},{"line":433,"column":10,"offset":441},667,{"line":433,"column":443,"offset":444},19,682,{"type":27,"value":446,"position":447}," In the editor, press ",{"start":448,"end":449},{"line":433,"column":443,"offset":444},{"line":433,"column":450,"offset":451},41,704,{"type":31,"tagName":36,"properties":453,"children":454,"position":464},{},[455],{"type":27,"value":456,"position":457},"New indicator",{"start":458,"end":461},{"line":433,"column":459,"offset":460},43,706,{"line":433,"column":462,"offset":463},56,719,{"start":465,"end":466},{"line":433,"column":450,"offset":451},{"line":433,"column":467,"offset":468},58,721,{"type":27,"value":470,"position":471},", or open the\nindicator you want to change.",{"start":472,"end":473},{"line":433,"column":467,"offset":468},{"line":474,"column":475,"offset":476},14,33,767,{"start":478,"end":480},{"line":433,"column":21,"offset":479},664,{"line":474,"column":475,"offset":476},{"type":27,"value":28},{"type":31,"tagName":423,"properties":483,"children":484,"position":531},{},[485,502,508,525],{"type":31,"tagName":36,"properties":486,"children":487,"position":496},{},[488],{"type":27,"value":489,"position":490},"Copy for LLM.",{"start":491,"end":494},{"line":492,"column":434,"offset":493},15,773,{"line":492,"column":443,"offset":495},786,{"start":497,"end":499},{"line":492,"column":10,"offset":498},771,{"line":492,"column":500,"offset":501},21,788,{"type":27,"value":503,"position":504}," Right-click the editor tab and pick ",{"start":505,"end":506},{"line":492,"column":500,"offset":501},{"line":492,"column":467,"offset":507},825,{"type":31,"tagName":36,"properties":509,"children":510,"position":520},{},[511],{"type":27,"value":512,"position":513},"Copy for LLM",{"start":514,"end":517},{"line":492,"column":515,"offset":516},60,827,{"line":492,"column":518,"offset":519},72,839,{"start":521,"end":522},{"line":492,"column":467,"offset":507},{"line":492,"column":523,"offset":524},74,841,{"type":27,"value":526,"position":527},".\nOne paste carries the language rules, the kit's API, your numbered code,\nevery error and your last run.",{"start":528,"end":529},{"line":492,"column":523,"offset":524},{"line":437,"column":61,"offset":530},952,{"start":532,"end":534},{"line":492,"column":21,"offset":533},768,{"line":437,"column":61,"offset":530},{"type":27,"value":28},{"type":31,"tagName":423,"properties":537,"children":538,"position":563},{},[539,556],{"type":31,"tagName":36,"properties":540,"children":541,"position":551},{},[542],{"type":27,"value":543,"position":544},"Ask.",{"start":545,"end":548},{"line":546,"column":434,"offset":547},18,958,{"line":546,"column":549,"offset":550},10,962,{"start":552,"end":554},{"line":546,"column":10,"offset":553},956,{"line":546,"column":78,"offset":555},964,{"type":27,"value":557,"position":558}," Paste it into any assistant and say what you want, naming\neverything it should draw (an example is below).",{"start":559,"end":560},{"line":546,"column":78,"offset":555},{"line":443,"column":561,"offset":562},52,1074,{"start":564,"end":566},{"line":546,"column":21,"offset":565},953,{"line":443,"column":561,"offset":562},{"type":27,"value":28},{"type":31,"tagName":423,"properties":569,"children":570,"position":614},{},[571,587,593,607],{"type":31,"tagName":36,"properties":572,"children":573,"position":582},{},[574],{"type":27,"value":575,"position":576},"Run.",{"start":577,"end":580},{"line":578,"column":434,"offset":579},20,1080,{"line":578,"column":549,"offset":581},1084,{"start":583,"end":585},{"line":578,"column":10,"offset":584},1078,{"line":578,"column":78,"offset":586},1086,{"type":27,"value":588,"position":589}," Put the complete file it returns into the tab and press\n",{"start":590,"end":591},{"line":578,"column":78,"offset":586},{"line":500,"column":21,"offset":592},1143,{"type":31,"tagName":36,"properties":594,"children":595,"position":602},{},[596],{"type":27,"value":380,"position":597},{"start":598,"end":600},{"line":500,"column":434,"offset":599},1148,{"line":500,"column":75,"offset":601},1151,{"start":603,"end":605},{"line":500,"column":10,"offset":604},1146,{"line":500,"column":411,"offset":606},1153,{"type":27,"value":608,"position":609},". The compiler names every mistake with a line and column.",{"start":610,"end":611},{"line":500,"column":411,"offset":606},{"line":500,"column":612,"offset":613},69,1211,{"start":615,"end":617},{"line":578,"column":21,"offset":616},1075,{"line":500,"column":612,"offset":613},{"type":27,"value":28},{"type":31,"tagName":423,"properties":620,"children":621,"position":647},{},[622,639],{"type":31,"tagName":36,"properties":623,"children":624,"position":634},{},[625],{"type":27,"value":626,"position":627},"Repeat until it compiles.",{"start":628,"end":631},{"line":629,"column":434,"offset":630},22,1217,{"line":629,"column":632,"offset":633},31,1242,{"start":635,"end":637},{"line":629,"column":10,"offset":636},1215,{"line":629,"column":475,"offset":638},1244,{"type":27,"value":640,"position":641}," Copy for LLM again and paste it back. When\nit compiles, it draws on your chart.",{"start":642,"end":643},{"line":629,"column":475,"offset":638},{"line":644,"column":645,"offset":646},23,40,1327,{"start":648,"end":650},{"line":629,"column":21,"offset":649},1212,{"line":644,"column":645,"offset":646},{"type":27,"value":28},{"start":653,"end":654},{"line":433,"column":21,"offset":479},{"line":644,"column":645,"offset":646},{"type":27,"value":28},{"type":31,"tagName":68,"properties":657,"children":658,"position":667},{},[659],{"type":27,"value":660,"position":661},"Better results",{"start":662,"end":665},{"line":663,"column":10,"offset":664},25,1332,{"line":663,"column":546,"offset":666},1346,{"start":668,"end":670},{"line":663,"column":21,"offset":669},1329,{"line":663,"column":546,"offset":666},{"type":27,"value":28},{"type":31,"tagName":32,"properties":673,"children":674,"position":684},{},[675],{"type":27,"value":676,"position":677},"A request that names everything it wants drawn:",{"start":678,"end":681},{"line":679,"column":21,"offset":680},27,1348,{"line":679,"column":682,"offset":683},48,1395,{"start":685,"end":686},{"line":679,"column":21,"offset":680},{"line":679,"column":682,"offset":683},{"type":27,"value":28},{"type":14,"children":689},[690],{"type":31,"tagName":691,"properties":692,"children":695,"data":-1},"pre",{"class":693,"style":694,"tabindex":98},"shiki shiki-themes github-dark github-light","--shiki-dark:#e1e4e8;--shiki-light:#24292e;--shiki-dark-bg:#24292e;--shiki-light-bg:#fff",[696],{"type":31,"tagName":697,"properties":698,"children":701},"code",{"class":699},[700],"language-text",[702,712,713],{"type":31,"tagName":703,"properties":704,"children":706},"span",{"class":705},"line",[707],{"type":31,"tagName":703,"properties":708,"children":709},{},[710],{"type":27,"value":711},"An RSI(14) in its own pane with bands at 30 and 70, a dot on every cross",{"type":27,"value":28},{"type":31,"tagName":703,"properties":714,"children":715},{"class":705},[716],{"type":31,"tagName":703,"properties":717,"children":718},{},[719],{"type":27,"value":720},"back inside the bands, and an alert on each cross.",{"type":27,"value":28},{"type":31,"tagName":723,"properties":724,"children":725,"position":842},"ul",{},[726,727,758,759,809,810,841],{"type":27,"value":28},{"type":31,"tagName":423,"properties":728,"children":729,"position":754},{},[730,747],{"type":31,"tagName":36,"properties":731,"children":732,"position":741},{},[733],{"type":27,"value":734,"position":735},"Name everything you want drawn.",{"start":736,"end":738},{"line":61,"column":43,"offset":737},1538,{"line":61,"column":739,"offset":740},36,1569,{"start":742,"end":744},{"line":61,"column":44,"offset":743},1536,{"line":61,"column":745,"offset":746},38,1571,{"type":27,"value":748,"position":749}," Assistants keep the lines and tend to\ndrop labels, per-bar colors, fills, boxes, tables and alerts. List them in your\nrequest, then check the legend and the chart against it.",{"start":750,"end":751},{"line":61,"column":745,"offset":746},{"line":739,"column":752,"offset":753},59,1750,{"start":755,"end":757},{"line":61,"column":21,"offset":756},1534,{"line":739,"column":752,"offset":753},{"type":27,"value":28},{"type":31,"tagName":423,"properties":760,"children":761,"position":805},{},[762,777,784,799],{"type":31,"tagName":36,"properties":763,"children":764,"position":772},{},[765],{"type":27,"value":766,"position":767},"Build long scripts in parts.",{"start":768,"end":770},{"line":53,"column":43,"offset":769},1755,{"line":53,"column":475,"offset":771},1783,{"start":773,"end":775},{"line":53,"column":44,"offset":774},1753,{"line":53,"column":47,"offset":776},1785,{"type":27,"value":778,"position":779}," A few hundred lines can outgrow one\nanswer. Ask for the settings and the plotted lines first and press\n",{"start":780,"end":781},{"line":53,"column":47,"offset":776},{"line":782,"column":21,"offset":783},39,1891,{"type":31,"tagName":36,"properties":785,"children":786,"position":794},{},[787],{"type":27,"value":380,"position":788},{"start":789,"end":791},{"line":782,"column":43,"offset":790},1895,{"line":782,"column":792,"offset":793},8,1898,{"start":795,"end":797},{"line":782,"column":44,"offset":796},1893,{"line":782,"column":549,"offset":798},1900,{"type":27,"value":800,"position":801},"; then ask for the drawings, then the alerts, each time with a\nfresh Copy for LLM.",{"start":802,"end":803},{"line":782,"column":549,"offset":798},{"line":645,"column":629,"offset":804},1984,{"start":806,"end":808},{"line":53,"column":21,"offset":807},1751,{"line":645,"column":629,"offset":804},{"type":27,"value":28},{"type":31,"tagName":423,"properties":811,"children":812,"position":837},{},[813,830],{"type":31,"tagName":36,"properties":814,"children":815,"position":824},{},[816],{"type":27,"value":817,"position":818},"Check the numbers before you publish.",{"start":819,"end":821},{"line":450,"column":43,"offset":820},1989,{"line":450,"column":822,"offset":823},42,2026,{"start":825,"end":827},{"line":450,"column":44,"offset":826},1987,{"line":450,"column":828,"offset":829},44,2028,{"type":27,"value":831,"position":832}," Compare the result with a\nversion you trust, on the same market and timeframe.",{"start":833,"end":834},{"line":450,"column":828,"offset":829},{"line":822,"column":835,"offset":836},55,2109,{"start":838,"end":840},{"line":450,"column":21,"offset":839},1985,{"line":822,"column":835,"offset":836},{"type":27,"value":28},{"start":843,"end":844},{"line":61,"column":21,"offset":756},{"line":822,"column":835,"offset":836},{"type":27,"value":28},{"type":31,"tagName":68,"properties":847,"children":848,"position":856},{},[849],{"type":27,"value":850,"position":851},"Porting from Pine",{"start":852,"end":854},{"line":828,"column":10,"offset":853},2114,{"line":828,"column":500,"offset":855},2131,{"start":857,"end":859},{"line":828,"column":21,"offset":858},2111,{"line":828,"column":500,"offset":855},{"type":27,"value":28},{"type":31,"tagName":32,"properties":862,"children":863,"position":917},{},[864,872,887,893,910],{"type":27,"value":865,"position":866},"Paste your Pine script with a ",{"start":867,"end":870},{"line":868,"column":21,"offset":869},46,2133,{"line":868,"column":632,"offset":871},2163,{"type":31,"tagName":36,"properties":873,"children":874,"position":882},{},[875],{"type":27,"value":512,"position":876},{"start":877,"end":879},{"line":868,"column":475,"offset":878},2165,{"line":868,"column":880,"offset":881},45,2177,{"start":883,"end":884},{"line":868,"column":632,"offset":871},{"line":868,"column":885,"offset":886},47,2179,{"type":27,"value":888,"position":889}," and ask for a port; the\nloop above takes it from there.\n",{"start":890,"end":891},{"line":868,"column":885,"offset":886},{"line":682,"column":21,"offset":892},2236,{"type":31,"tagName":894,"properties":895,"children":897,"position":906},"a",{"href":896},"wrun-vs-pine.md#bring-your-pine-scripts",[898],{"type":27,"value":899,"position":900},"wrun vs Pine",{"start":901,"end":904},{"line":682,"column":902,"offset":903},2,2237,{"line":682,"column":474,"offset":905},2249,{"start":907,"end":908},{"line":682,"column":21,"offset":892},{"line":682,"column":462,"offset":909},2291,{"type":27,"value":911,"position":912}," shows one\nindicator in both languages, line for line.",{"start":913,"end":914},{"line":682,"column":462,"offset":909},{"line":915,"column":828,"offset":916},49,2345,{"start":918,"end":919},{"line":868,"column":21,"offset":869},{"line":915,"column":828,"offset":916},{"quirksMode":921},false,{"start":923,"end":924},{"line":21,"column":21,"offset":22},{"line":925,"column":21,"offset":926},50,2346,1791265105843]