[{"data":1,"prerenderedAt":3414},["ShallowReactive",2],{"wrun-open-editor-url":3,"indicators:core-concepts/repainting":4},"https://openmarket.xyz/chart/#wrun-open=v1",{"slug":5,"filePath":6,"frontmatter":7,"rawMarkdown":12,"tree":13},"core-concepts/repainting","core-concepts/repainting.md",{"title":8,"description":9,"order":10,"section":11},"Repainting","What repainting is, why it breaks backtests, and why a wrun indicator does not repaint by construction: onBar() sees one bar and nothing later, a higher…",8,"core-concepts","---\ntitle: \"Repainting\"\ndescription: \"What repainting is, why it breaks backtests, and why a wrun indicator does not repaint by construction: onBar() sees one bar and nothing later, a higher…\"\norder: 8\nsection: \"core-concepts\"\n---\n\n\u003C!-- source: docs/indicators/core-concepts/repainting.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit -->\n\n# Repainting\n\nWhat repainting is, why it breaks backtests, and why a wrun indicator does not\nrepaint by construction: `onBar()` sees one bar and nothing later, a\nhigher timeframe is folded in only after its candle closes, an `interval`\npin is read as of each bar's close, and the chart replays the forming bar\nfrom a snapshot of the state the closed bars left. What can still move a\nbar you have already seen on the chart is the window the indicator\ncomputes over and a correction to the data, and this page shows both so\nneither surprises you. The guarantee comes from the shape of the model,\nnot from a flag you remember to set.\n\n## What repainting is\n\n![Repainting: the values on closed bars never change; only the forming bar's value moves as new data arrives, until that bar closes](/wrun/images/diagrams/repaint-forming.svg)\n\nRepainting is when a script's historical values change after the fact. The\nline you see today over old bars is not the line the script drew when those\nbars were live. A signal that looks like it fired one bar early in backtest\nfires one bar late in production, or never. The chart redraws itself once\nthe future arrives, so your backtest is reading numbers that did not exist\nat the time.\n\nThat is the whole problem in one sentence: a repainting indicator lies\nabout the past, so anything you measure on history (win rate, drawdown,\nsignal timing) is fiction. You cannot trust a backtest you cannot\nreproduce.\n\n## Why it happens\n\nRepainting comes from reading data that was not yet available at the bar\nyou are computing, or from a history that is not the one you ran on. Three\nsources, two classic and one specific to a module with state:\n\n- **An unclosed higher-timeframe candle.** A naive 4h lookup on a 1h chart\n  hands back the forming candle's live value; history backfills the\n  finished number the live chart never had.\n- **A future-leaking series.** Anything that depends on a later bar: a\n  centered smoother, \"highest of the next N bars\". History resolves it; live\n  it does not exist yet.\n- **State that depends on where history starts.** A running total or a bar\n  counter begins at the first bar loaded; load more history and every value\n  shifts, although no bar looked ahead.\n\nThe tell is the same each time: the computation saw something during the\nbacktest that it could not have seen live, or saw something live that\nhistory will not replay.\n\n## The good news: no lookahead by construction\n\n`onBar()` receives exactly one bar: the inputs of the bar being evaluated,\noldest first. There is no history array to index forward, no `[−1]`, no\nway to reach the next bar. A value can only depend on bars at or before\nits own, so a mark that appears in history would have appeared live on the\nsame bar. An indicator cannot break this by accident; there is nothing to\npeek at.\n\nThe causal-prefix guarantee in one sentence: at bar *t*, every value the\nmodule holds was derived only from bars at or before *t*, so the past never\nchanges when the future arrives.\n\n`bar.count()` is the one way out, and you opt into it by name: it tells a\nbar how many bars the run holds, so a value that reads it (a lagging line\nthat waits for the bar `shift` bars later) does change when a later bar\narrives. The chart keeps such a file honest by running every bar again\nwhenever a bar opens, so the live chart always matches a fresh load over\nthe same bars ([How many bars the run holds](execution-model.md#how-many-bars-the-run-holds)).\n\n## Higher timeframes: confirmed by the fold\n\n![Higher timeframes, bar by bar: a 4h candle spans four 1h bars; with lookahead on, a Pine script on history sees the new 4h close from the first of those bars, while in wrun every 1h bar sees the previous close and the new one arrives on the bar after the 4h candle closes](/wrun/images/diagrams/repainting.svg)\n\nBuilt inside the module, a higher timeframe comes from the chart's own\nbars: bucket bars by `time.bar_open_sec`, remember the running bucket's\nclose, and fold it into the 4h statistic only when a bar from the **next**\nbucket arrives. A 4h candle contributes exactly once, after it closed.\nRerun over history and it matches what it showed live, bar for bar. No\nlook-ahead, no flag to remember.\n\n```typescript sample=cc-repaint-htf\nparam(\"bucket_hours\", 4, { min: 1, max: 168, description: \"Higher-timeframe bucket, in hours\" });\n// The confirmed higher-timeframe close: flat across the bucket, stepping only when a candle closes.\noutput(\"h4_close\", line, overlay, { color: \"#7c3aed\", width: 2, description: \"The most recent fully closed 4h candle, no look-ahead\" });\n// The developing value, opt-in and clearly labeled: it moves with every bar inside the bucket.\noutput(\"h4_developing\", line, overlay, { color: \"#16a34a\", width: 1, description: \"The forming 4h candle's running close (repaints by design)\" });\noutput(\"close\", line, overlay, { color: \"#94a3b8\", width: 1, description: \"The chart-timeframe close for comparison\" });\n\nlet bucketSec: f64 = 14400.0;\nlet bucket: f64 = NaN; // the bucket the running candle belongs to\nlet running: f64 = NaN; // the running candle's latest close (developing)\nlet confirmed: f64 = NaN; // the last CLOSED candle's close\n\nfunction onStart(): void {\n  bucketSec = p_bucket_hours() * 3600.0;\n}\n\nfunction onBar(): void {\n  const close = bar.close();\n  const b = Math.floor(bar.time() / bucketSec);\n  if (b != bucket) {\n    // A bar from the next bucket has arrived: the running candle is now closed, and only now is it confirmed.\n    if (!isNaN(bucket)) confirmed = running;\n    bucket = b;\n  }\n  running = close;\n  if (isNaN(confirmed)) return;\n  out_h4_close(confirmed);\n  out_h4_developing(running);\n  out_close(close);\n}\n```\n\n### Read the staircase\n\nThe purple `h4_close` line is flat across four 1h bars, then steps to a new\nlevel, then holds flat again. That staircase is the visual signature of a\ncorrect, confirmed higher timeframe: the value only changes when a 4h\ncandle actually closes, and between closes there is no new confirmed\ninformation. The green `h4_developing` line tracks the grey chart close\ninside each bucket: that is what a repainting value looks like, and it is\ndrawn here on purpose so you can see the difference. A cross built on the\ngreen line would not survive into production; a cross built on the purple\none reproduces exactly.\n\n## Requesting a live value is opt-in\n\nSometimes you genuinely want the forming bucket: a live 4h close ticking in\na readout. In a module that is just the running variable, as above, and it\nis a deliberate choice you make by reading `running` instead of\n`confirmed`. A developing value is fine for a display; it is the wrong\nthing for a signal, because it changes as the bucket fills, so a cross or\nthreshold built on it will not reproduce on history. Reach for it only when\nyou want to *show* the live edge, never when you want to *act* on it. A\npinned input's `forming` view is the same kind of value.\n\n## Pins are read as of close\n\nAn `interval` pin reads real coarser candles, and the chart applies the\nsame rule for you: a pinned candle reaches a chart bar only as of that\nbar's close, live or historical, so a forming 4h candle never leaks into\nthe 1h rows under it ([Multi-timeframe](multi-timeframe.md)). The cost is a\nvalue that steps once per pinned candle: the same staircase. Act on a pin\nthrough its default `confirmed` view.\n\n## The forming bar replays from a snapshot\n\n![The forming bar replays from a snapshot: the state after the last closed bar is saved; every update of the forming bar starts from that snapshot, so nothing counts twice; when the bar closes it runs once more and becomes the new snapshot](/wrun/images/diagrams/forming-snapshot.svg)\n\nThe forming bar is the one exception to \"one call per bar\": the chart\nevaluates it again as new data arrives, at most about once a second. It\ndoes not re-run history for that. It snapshots the module after the last\nclosed bar (its memory, every module-level variable, and its drawing\nhandles) and restores that snapshot before each new evaluation of the\nforming bar, so every replay starts from exactly the state the closed bars\nleft: an accumulator cannot count the forming bar twice, and nothing the\nforming bar drew is stacked. When the bar closes, the chart evaluates it\nonce more as a closed bar, then moves on to the new one.\n\nNothing in the file has to put its state back for this: the chart\nrestores the snapshot, every module-level variable and every TA object\nincluded, so the forming bar never depends on a reset of your own.\n\n## What can still change a closed bar\n\nNo bar changes because it looked ahead, but on the chart two things can\nchange a bar you have already seen:\n\n- **The window.** The chart runs an indicator over exactly the bars it has\n  loaded, and panning back runs it again over the longer window (so does a\n  live gap longer than 250 bars). A value that depends on where history\n  starts shifts when more history loads: a running total from the first\n  loaded bar, a bar counter, the open of the first bar. A value over a\n  fixed window (an SMA, a rolling sum) or reset each session stays put once\n  its window is loaded; an EMA, which remembers every bar it has seen,\n  moves slightly and converges.\n- **Corrected data.** When the chart learns that a closed bar's data\n  changed (a late trade folded into a closed bar, a candle the venue\n  corrected, an ETF flow revised after the US session), it runs the\n  indicator again from its buffers, so history matches the corrected data.\n\n```text\nlet cvd: f64 = 0.0; // a running sum since the first LOADED bar\n\n// Pan back and the chart runs the Indicator again over the longer window:\n// every closed bar's cvd shifts by the delta of the bars that just loaded,\n// while a delta summed over a rolling window, or reset each session, keeps\n// its values.\n```\n\nRun-level renderers and drawings are selected from the finished rows (the\nnewest ready row that satisfies the kind's rule wins), and they never\nchange an output's value.\n\n## How to stay repaint-safe\n\nA short checklist:\n\n- **Fold higher timeframes on the next bucket.** The confirmed value is the\n  one you act on; the running value is a readout.\n- **Read pins confirmed.** A pinned coarse input steps as of each bar's\n  close; its `forming` view is a readout, not a signal.\n- **Do not act on the still-forming bar.** Its high, low, and close are\n  moving until it closes. Gate confirmed signals on settled data.\n- **Anchor what you act on.** Act on values over a rolling window or a\n  session, not on the level of a total that starts at the first loaded\n  bar.\n\nStick to confirmed folds, confirmed pins and anchored windows and your\nbacktest will mean something: what you measured on history is what the\nindicator would have done live.\n\n## See also\n\n- [Multi-timeframe](multi-timeframe.md) for the full bucket-fold and\n  `interval`-pin story, calendar buckets included.\n- [Execution model](execution-model.md) for the bar loop, warm-up, and\n  where an indicator runs.\n",{"type":14,"children":15,"data":3407,"position":3409},"root",[16,26,29,30,91,92,110,111,562,563,578,579,594,595,611,612,627,628,736,737,752,753,768,769,817,818,876,877,948,949,964,965,1404,1405,1461,1462,2265,2266,2283,2284,2337,2338,2353,2354,2466,2467,2482,2483,2557,2558,2573,2574,2888,2889,2904,2905,2920,2921,2936,2937,2953,2954,3024,3025,3088,3089,3104,3105,3121,3122,3136,3137,3287,3288,3303,3304,3319,3320],{"type":17,"value":18,"position":19},"comment"," source: docs/indicators/core-concepts/repainting.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},131,130,{"type":27,"value":28},"text","\n",{"type":27,"value":28},{"type":31,"tagName":32,"properties":33,"children":34,"position":88},"element","p",{},[35,45,59,67,80],{"type":27,"value":36,"position":37},"What repainting is, why it breaks backtests, and why a wrun indicator does not\nrepaint by construction: ",{"start":38,"end":41},{"line":39,"column":21,"offset":40},5,146,{"line":42,"column":43,"offset":44},6,26,250,{"type":31,"tagName":46,"properties":47,"children":48,"position":56},"code",{},[49],{"type":27,"value":50,"position":51},"onBar()",{"start":52,"end":53},{"line":42,"column":43,"offset":44},{"line":42,"column":54,"offset":55},35,259,{"start":57,"end":58},{"line":42,"column":43,"offset":44},{"line":42,"column":54,"offset":55},{"type":27,"value":60,"position":61}," sees one bar and nothing later, a\nhigher timeframe is folded in only after its candle closes, an ",{"start":62,"end":63},{"line":42,"column":54,"offset":55},{"line":64,"column":65,"offset":66},7,64,357,{"type":31,"tagName":46,"properties":68,"children":69,"position":77},{},[70],{"type":27,"value":71,"position":72},"interval",{"start":73,"end":74},{"line":64,"column":65,"offset":66},{"line":64,"column":75,"offset":76},74,367,{"start":78,"end":79},{"line":64,"column":65,"offset":66},{"line":64,"column":75,"offset":76},{"type":27,"value":81,"position":82},"\npin is read as of each bar's close, and the chart replays the forming bar\nfrom a snapshot of the state the closed bars left. What can still move a\nbar you have already seen on the chart is the window the indicator\ncomputes over and a correction to the data, and this page shows both so\nneither surprises you. The guarantee comes from the shape of the model,\nnot from a flag you remember to set.",{"start":83,"end":84},{"line":64,"column":75,"offset":76},{"line":85,"column":86,"offset":87},13,37,762,{"start":89,"end":90},{"line":39,"column":21,"offset":40},{"line":85,"column":86,"offset":87},{"type":27,"value":28},{"type":31,"tagName":93,"properties":94,"children":95,"position":106},"h2",{},[96],{"type":27,"value":97,"position":98},"What repainting is",{"start":99,"end":103},{"line":100,"column":101,"offset":102},15,4,767,{"line":100,"column":104,"offset":105},22,785,{"start":107,"end":109},{"line":100,"column":21,"offset":108},764,{"line":100,"column":104,"offset":105},{"type":27,"value":28},{"type":31,"tagName":112,"properties":113,"children":116,"position":555},"figure",{"className":114},[115],"docs-figure",[117],{"type":31,"tagName":118,"properties":119,"children":128},"svg",{"xmlns":120,"viewBox":121,"role":122,"aria-labelledby":123,"letter-spacing":124,"className":125,"data-diagram":127},"http://www.w3.org/2000/svg","0 0 540 140","img","repaint-forming-title","0",[126],"docs-diagram","repaint-forming",[129,135,190,198,517],{"type":31,"tagName":130,"properties":131,"children":132},"title",{"id":123},[133],{"type":27,"value":134},"Repainting: the values on closed bars never change; only the forming bar's value moves as new data arrives, until that bar closes.",{"type":31,"tagName":136,"properties":137,"children":138},"defs",{},[139,168,180],{"type":31,"tagName":140,"properties":141,"children":145},"filter",{"id":142,"x":143,"y":143,"width":144,"height":144},"repaint-forming-graphite","-2%","104%",[146,155,162],{"type":31,"tagName":147,"properties":148,"children":154},"feTurbulence",{"type":149,"baseFrequency":150,"numOctaves":151,"seed":152,"result":153},"fractalNoise","0.9","2","5","noise",[],{"type":31,"tagName":156,"properties":157,"children":161},"feColorMatrix",{"in":153,"type":158,"values":159,"result":160},"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":163,"properties":164,"children":167},"feComposite",{"in":165,"in2":160,"operator":166},"SourceGraphic","in",[],{"type":31,"tagName":169,"properties":170,"children":172},"clipPath",{"id":171},"repaint-forming-hatch1",[173],{"type":31,"tagName":174,"properties":175,"children":179},"rect",{"x":176,"y":177,"width":178,"height":151},"86.5","50","11",[],{"type":31,"tagName":169,"properties":181,"children":183},{"id":182},"repaint-forming-hatch2",[184],{"type":31,"tagName":174,"properties":185,"children":189},{"x":186,"y":187,"width":178,"height":188},"242.5","40","3",[],{"type":31,"tagName":191,"properties":192,"children":197},"path",{"d":193,"stroke":194,"stroke-opacity":195,"stroke-width":196},"M0 0V140 M12 0V140 M24 0V140 M36 0V140 M48 0V140 M60 0V140 M72 0V140 M84 0V140 M96 0V140 M108 0V140 M120 0V140 M132 0V140 M144 0V140 M156 0V140 M168 0V140 M180 0V140 M192 0V140 M204 0V140 M216 0V140 M228 0V140 M240 0V140 M252 0V140 M264 0V140 M276 0V140 M288 0V140 M300 0V140 M312 0V140 M324 0V140 M336 0V140 M348 0V140 M360 0V140 M372 0V140 M384 0V140 M396 0V140 M408 0V140 M420 0V140 M432 0V140 M444 0V140 M456 0V140 M468 0V140 M480 0V140 M492 0V140 M504 0V140 M516 0V140 M528 0V140 M540 0V140 M0 0H540 M0 12H540 M0 24H540 M0 36H540 M0 48H540 M0 60H540 M0 72H540 M0 84H540 M0 96H540 M0 108H540 M0 120H540 M0 132H540","var(--diagram-ink, #171511)",".05",".6",[],{"type":31,"tagName":199,"properties":200,"children":202},"g",{"filter":201},"url(#repaint-forming-graphite)",[203,211,215,219,223,227,231,235,239,243,247,251,255,265,269,273,277,281,285,289,293,297,301,305,309,313,317,321,325,329,333,337,345,349,353,357,361,365,369,373,377,381,385,389,393,400,404,409,413,417,421,425,429,433,438,442,446,450,454,458,464,469,473,477,481,485,489,493,497,501,505,509,513],{"type":31,"tagName":191,"properties":204,"children":210},{"d":205,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M40.4 43.8C40.3 44.8 40.1 48.8 40 49.8","none","1.15","0.82","round",[],{"type":31,"tagName":191,"properties":212,"children":214},{"d":213,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M39.9 56.2C40 57.1 40.3 60.7 40.4 61.6",[],{"type":31,"tagName":191,"properties":216,"children":218},{"d":217,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M33.1 49.8C35.2 49.8 43.6 49.9 45.7 50",[],{"type":31,"tagName":191,"properties":220,"children":222},{"d":221,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M45.5 49.6C45.4 50.8 45.3 55.8 45.3 57",[],{"type":31,"tagName":191,"properties":224,"children":226},{"d":225,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M45.3 56.3C43.3 56.4 35.4 56.6 33.4 56.6",[],{"type":31,"tagName":191,"properties":228,"children":230},{"d":229,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M34.1 56.6C34.1 55.4 34.2 51 34.2 49.9",[],{"type":31,"tagName":191,"properties":232,"children":234},{"d":233,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M91.8 44.3C91.9 45.2 92.2 48.8 92.3 49.7",[],{"type":31,"tagName":191,"properties":236,"children":238},{"d":237,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M92.2 51.8C92.1 52.9 92 57 91.9 58",[],{"type":31,"tagName":191,"properties":240,"children":242},{"d":241,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M87.2 50.1C88.9 50.1 96 49.9 97.8 49.9",[],{"type":31,"tagName":191,"properties":244,"children":246},{"d":245,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M97 49.8C97 50.2 97.1 51.9 97.1 52.3",[],{"type":31,"tagName":191,"properties":248,"children":250},{"d":249,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M98.2 51.7C96.3 51.7 88.6 51.6 86.7 51.6",[],{"type":31,"tagName":191,"properties":252,"children":254},{"d":253,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M86.4 52.1C86.4 51.7 86.5 49.8 86.5 49.4",[],{"type":31,"tagName":199,"properties":256,"children":258},{"clip-path":257},"url(#repaint-forming-hatch1)",[259],{"type":31,"tagName":191,"properties":260,"children":264},{"d":261,"fill":206,"stroke":194,"stroke-width":262,"stroke-opacity":263,"stroke-linecap":209},"M81.3 53.4C82.6 51.3 88 43.3 89.4 41.3 M83.7 55.2C85.1 53 90.8 44.4 92.2 42.2 M85.5 56.8C87.1 54.6 93.1 46 94.6 43.9 M89.3 58.2C90.6 56.2 95.6 48.2 96.8 46.2 M91 59.4C92.4 57.2 97.9 48.6 99.3 46.5 M94 60.9C95.2 58.7 100.2 49.8 101.5 47.6","0.8","0.6",[],{"type":31,"tagName":191,"properties":266,"children":268},{"d":267,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M144.3 37.7C144.3 38.8 144.4 43 144.4 44",[],{"type":31,"tagName":191,"properties":270,"children":272},{"d":271,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M143.2 52.4C143.3 53.3 143.7 57 143.9 57.9",[],{"type":31,"tagName":191,"properties":274,"children":276},{"d":275,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M139 43.5C140.8 43.5 148 43.5 149.8 43.5",[],{"type":31,"tagName":191,"properties":278,"children":280},{"d":279,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M149.3 44C149.3 45.3 149.3 50.5 149.3 51.8",[],{"type":31,"tagName":191,"properties":282,"children":284},{"d":283,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M149.9 52C148.1 52 141 52.1 139.3 52.1",[],{"type":31,"tagName":191,"properties":286,"children":288},{"d":287,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M138.6 52.6C138.6 51.1 138.4 44.7 138.3 43.1",[],{"type":31,"tagName":191,"properties":290,"children":292},{"d":291,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M195.8 33.9C195.9 35 196.3 39.2 196.3 40.2",[],{"type":31,"tagName":191,"properties":294,"children":296},{"d":295,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M196 43.9C196 44.8 195.8 48.5 195.8 49.4",[],{"type":31,"tagName":191,"properties":298,"children":300},{"d":299,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M190.7 39.4C192.6 39.4 199.9 39.4 201.7 39.4",[],{"type":31,"tagName":191,"properties":302,"children":304},{"d":303,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M201.8 39.6C201.7 40.4 201.5 43.5 201.5 44.3",[],{"type":31,"tagName":191,"properties":306,"children":308},{"d":307,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M201.6 44.4C199.6 44.4 191.9 44.5 189.9 44.5",[],{"type":31,"tagName":191,"properties":310,"children":312},{"d":311,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M190.1 44.9C190.2 44.2 190.5 41.3 190.6 40.6",[],{"type":31,"tagName":191,"properties":314,"children":316},{"d":315,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M247.7 33.7C247.6 34.7 247.3 38.6 247.2 39.6",[],{"type":31,"tagName":191,"properties":318,"children":320},{"d":319,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M247.8 43.2C247.8 44.3 248 48.6 248.1 49.7",[],{"type":31,"tagName":191,"properties":322,"children":324},{"d":323,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M242.4 40.1C244.2 40.1 251.6 40.3 253.5 40.4",[],{"type":31,"tagName":191,"properties":326,"children":328},{"d":327,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M253.8 40.4C253.7 40.8 253.6 42.4 253.6 42.8",[],{"type":31,"tagName":191,"properties":330,"children":332},{"d":331,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M253.8 42.9C252 42.9 244.6 42.9 242.8 42.9",[],{"type":31,"tagName":191,"properties":334,"children":336},{"d":335,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M243 42.2C242.9 41.8 242.7 40.3 242.6 39.9",[],{"type":31,"tagName":199,"properties":338,"children":340},{"clip-path":339},"url(#repaint-forming-hatch2)",[341],{"type":31,"tagName":191,"properties":342,"children":344},{"d":343,"fill":206,"stroke":194,"stroke-width":262,"stroke-opacity":263,"stroke-linecap":209},"M237.6 43.6C239 41.4 244.6 32.5 246 30.3 M239.1 45.5C240.5 43.2 246 34.3 247.4 32 M240.7 46.2C242.1 44.1 247.7 35.7 249.1 33.6 M244 48C245.3 45.9 250.7 37.7 252.1 35.6 M245.4 49.7C246.8 47.4 252.5 37.9 253.9 35.6 M249 50.6C250.3 48.2 255.6 38.9 256.9 36.6",[],{"type":31,"tagName":191,"properties":346,"children":348},{"d":347,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M300 29.8C300 30.9 300 35.2 300 36.2",[],{"type":31,"tagName":191,"properties":350,"children":352},{"d":351,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M300 43.6C300 44.6 300.1 48.4 300.2 49.3",[],{"type":31,"tagName":191,"properties":354,"children":356},{"d":355,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M294 36.2C295.9 36.1 303.5 35.8 305.4 35.7",[],{"type":31,"tagName":191,"properties":358,"children":360},{"d":359,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M305.4 35.2C305.4 36.5 305.3 42 305.3 43.4",[],{"type":31,"tagName":191,"properties":362,"children":364},{"d":363,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M306.1 42.9C304.3 42.9 296.7 43.1 294.9 43.1",[],{"type":31,"tagName":191,"properties":366,"children":368},{"d":367,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M294.9 43.7C294.9 42.3 294.9 36.9 294.9 35.5",[],{"type":31,"tagName":191,"properties":370,"children":372},{"d":371,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M351.6 25.7C351.6 26.7 351.6 30.6 351.5 31.6",[],{"type":31,"tagName":191,"properties":374,"children":376},{"d":375,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M352.5 36.5C352.5 37.4 352.5 41.1 352.5 42.1",[],{"type":31,"tagName":191,"properties":378,"children":380},{"d":379,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M346.2 32C348.2 32 355.9 32 357.8 32",[],{"type":31,"tagName":191,"properties":382,"children":384},{"d":383,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M357.4 31.7C357.4 32.4 357.5 35.4 357.5 36.1",[],{"type":31,"tagName":191,"properties":386,"children":388},{"d":387,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M357.8 35.8C356 35.8 348.8 36.1 347.1 36.1",[],{"type":31,"tagName":191,"properties":390,"children":392},{"d":391,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M346.3 36.1C346.3 35.4 346.4 32.6 346.4 31.9",[],{"type":31,"tagName":191,"properties":394,"children":399},{"d":395,"fill":206,"stroke":396,"stroke-width":397,"stroke-opacity":398,"stroke-linecap":209,"stroke-linejoin":209},"M40.2 60C41.3 60 44.5 59.9 46.7 59.8C48.9 59.7 51 59.6 53.2 59.6C55.4 59.5 57.5 59.4 59.7 59.3C61.9 59.2 64 59 66.2 58.9C68.4 58.8 70.5 58.7 72.7 58.6C74.9 58.5 77 58.4 79.2 58.3C81.4 58.2 83.5 58.1 85.7 58C87.9 57.9 90 57.8 92.2 57.7C94.4 57.6 96.5 57.5 98.7 57.4C100.9 57.3 103 57.2 105.2 57C107.4 56.9 109.5 56.8 111.7 56.7C113.9 56.5 116 56.4 118.2 56.3C120.4 56.1 122.5 56 124.7 55.8C126.9 55.7 129 55.5 131.2 55.3C133.4 55.2 135.5 55 137.7 54.9C139.9 54.7 142 54.6 144.2 54.5C146.3 54.3 148.5 54.1 150.7 54C152.8 53.8 155 53.7 157.2 53.5C159.4 53.4 161.5 53.2 163.7 53.1C165.9 52.9 168 52.8 170.2 52.7C172.4 52.5 174.5 52.4 176.7 52.2C178.9 52.1 181 51.9 183.2 51.7C185.4 51.6 187.5 51.4 189.7 51.2C191.9 51.1 194 50.8 196.2 50.7C198.4 50.6 200.5 50.5 202.7 50.4C204.9 50.4 207 50.3 209.2 50.2C211.4 50.1 213.5 50.1 215.7 50C217.9 49.9 220 49.9 222.2 49.8C224.4 49.8 226.5 49.7 228.7 49.7C230.9 49.6 233 49.6 235.2 49.5C237.4 49.4 239.5 49.4 241.7 49.3C243.9 49.2 246 49.1 248.2 49C250.4 48.9 252.5 48.8 254.7 48.6C256.9 48.5 259 48.3 261.2 48.2C263.4 48 265.5 47.9 267.7 47.7C269.9 47.6 272 47.4 274.2 47.3C276.4 47.2 278.5 47 280.7 46.9C282.9 46.8 285 46.7 287.2 46.6C289.4 46.5 291.5 46.3 293.7 46.2C295.9 46.1 298 46 300.2 45.9C302.4 45.7 304.5 45.6 306.7 45.5C308.9 45.3 311 45.2 313.2 45C315.4 44.9 317.5 44.7 319.7 44.5C321.9 44.4 324 44.2 326.2 44.1C328.4 43.9 330.5 43.8 332.7 43.6C334.9 43.5 337 43.4 339.2 43.2C341.4 43.1 343.5 43 345.7 42.9C347.9 42.8 351.1 42.6 352.2 42.6","var(--diagram-wrun, #c85a34)","1.6","0.95",[],{"type":31,"tagName":191,"properties":401,"children":403},{"d":402,"fill":206,"stroke":396,"stroke-width":397,"stroke-opacity":398,"stroke-linecap":209,"stroke-linejoin":209},"M39.9 60.2C41 60.1 44.3 60 46.4 60C48.6 59.9 50.8 59.8 52.9 59.7C55.1 59.7 57.3 59.6 59.4 59.5C61.6 59.4 63.8 59.4 65.9 59.3C68.1 59.2 70.3 59.1 72.4 59C74.6 58.9 76.8 58.8 78.9 58.7C81.1 58.6 83.3 58.5 85.4 58.4C87.6 58.2 89.8 58.1 91.9 58C94.1 57.9 96.3 57.7 98.4 57.6C100.6 57.4 102.7 57.3 104.9 57.2C107.1 57 109.2 56.9 111.4 56.8C113.6 56.7 115.7 56.6 117.9 56.5C120.1 56.4 122.3 56.3 124.4 56.1C126.6 56 128.8 55.9 130.9 55.8C133.1 55.7 135.3 55.6 137.4 55.4C139.6 55.3 141.8 55.2 143.9 55C146.1 54.9 148.2 54.7 150.4 54.5C152.6 54.3 154.7 54.1 156.9 53.9C159.1 53.7 161.2 53.6 163.4 53.4C165.6 53.2 167.7 53 169.9 52.9C172.1 52.7 174.2 52.6 176.4 52.4C178.6 52.3 180.7 52.1 182.9 52C185.1 51.9 187.3 51.7 189.4 51.6C191.6 51.5 193.8 51.3 195.9 51.2C198.1 51.1 200.3 51 202.4 51C204.6 50.9 206.8 50.8 208.9 50.7C211.1 50.6 213.3 50.5 215.4 50.5C217.6 50.4 219.8 50.3 221.9 50.2C224.1 50.1 226.3 50 228.4 49.9C230.6 49.8 232.8 49.7 234.9 49.6C237.1 49.6 239.3 49.5 241.4 49.4C243.6 49.4 245.8 49.3 247.9 49.2C250.1 49.2 252.3 49.1 254.4 49C256.6 48.9 258.8 48.8 260.9 48.6C263.1 48.5 265.3 48.4 267.4 48.3C269.6 48.2 271.8 48.1 273.9 47.9C276.1 47.8 278.3 47.7 280.4 47.5C282.6 47.4 284.8 47.2 286.9 47.1C289.1 46.9 291.3 46.8 293.4 46.6C295.6 46.5 297.8 46.4 299.9 46.2C302.1 46.1 304.3 46 306.4 45.8C308.6 45.7 310.8 45.6 312.9 45.5C315.1 45.4 317.3 45.3 319.4 45.1C321.6 45 323.8 44.9 325.9 44.8C328.1 44.7 330.3 44.6 332.4 44.4C334.6 44.3 336.8 44.2 338.9 44C341.1 43.9 343.3 43.8 345.4 43.6C347.6 43.5 350.8 43.2 351.9 43.1",[],{"type":31,"tagName":191,"properties":405,"children":408},{"d":406,"fill":396,"fill-opacity":407},"M42.5 60C42.4 60.3 42.5 61.2 42.2 61.6C41.9 62.1 41.3 62.5 40.8 62.7C40.3 62.8 39.7 62.9 39.2 62.7C38.7 62.6 38.1 62.1 37.8 61.7C37.4 61.2 37.2 60.5 37.1 60C37.1 59.5 37.4 58.9 37.7 58.5C38.1 58.2 38.6 58 39.1 57.8C39.6 57.7 40.4 57.5 40.9 57.6C41.3 57.7 41.6 58 41.9 58.4C42.2 58.8 42.4 59.5 42.5 60C42.5 60.5 42.2 61.4 42.2 61.6Z",".9",[],{"type":31,"tagName":191,"properties":410,"children":412},{"d":411,"fill":396,"fill-opacity":407},"M94.3 58C94.3 58.3 94.6 59.3 94.3 59.7C94 60.1 93.3 60.2 92.8 60.3C92.3 60.5 91.8 60.6 91.3 60.4C90.8 60.3 90 59.8 89.7 59.4C89.5 59 89.5 58.5 89.6 58C89.7 57.5 89.8 56.9 90.1 56.5C90.3 56.1 90.7 55.9 91.1 55.7C91.6 55.5 92.3 55.3 92.8 55.4C93.2 55.5 93.7 55.9 93.9 56.4C94.2 56.8 94.3 57.4 94.3 58C94.4 58.6 94.3 59.4 94.3 59.7Z",[],{"type":31,"tagName":191,"properties":414,"children":416},{"d":415,"fill":396,"fill-opacity":407},"M146.8 55C146.6 55.3 146.3 56.2 146 56.6C145.7 57.1 145.4 57.6 144.9 57.7C144.4 57.8 143.7 57.5 143.2 57.3C142.7 57.1 142.2 56.9 141.9 56.5C141.6 56.1 141.3 55.5 141.3 55C141.3 54.5 141.5 53.9 141.8 53.5C142.1 53.2 142.7 53 143.2 52.8C143.7 52.6 144.3 52.2 144.8 52.3C145.3 52.4 145.8 53 146.2 53.5C146.5 54 146.8 54.5 146.8 55C146.7 55.5 146.1 56.4 146 56.6Z",[],{"type":31,"tagName":191,"properties":418,"children":420},{"d":419,"fill":396,"fill-opacity":407},"M198.3 51C198.3 51.2 198.4 51.9 198.2 52.4C197.9 52.8 197.2 53.3 196.8 53.6C196.3 53.8 195.7 53.9 195.2 53.7C194.8 53.6 194.4 53.1 194.1 52.6C193.8 52.1 193.7 51.5 193.6 51C193.6 50.5 193.5 50 193.7 49.6C194 49.1 194.6 48.6 195.1 48.4C195.6 48.3 196.4 48.5 196.9 48.6C197.3 48.8 197.7 49 197.9 49.4C198.2 49.8 198.3 50.5 198.3 51C198.4 51.5 198.2 52.1 198.2 52.4Z",[],{"type":31,"tagName":191,"properties":422,"children":424},{"d":423,"fill":396,"fill-opacity":407},"M250.7 49C250.6 49.3 250.6 50.1 250.3 50.5C250 51 249.3 51.4 248.7 51.6C248.2 51.8 247.6 51.9 247.2 51.7C246.7 51.5 246.3 50.8 246 50.4C245.7 49.9 245.5 49.5 245.5 49C245.5 48.5 245.6 47.7 245.9 47.4C246.2 47 246.8 46.9 247.3 46.8C247.8 46.6 248.4 46.2 248.9 46.4C249.3 46.5 249.8 47.1 250.1 47.6C250.4 48 250.6 48.5 250.7 49C250.7 49.5 250.4 50.3 250.3 50.5Z",[],{"type":31,"tagName":191,"properties":426,"children":428},{"d":427,"fill":396,"fill-opacity":407},"M302.4 46C302.4 46.3 302.3 47.1 302 47.6C301.8 48 301.3 48.6 300.8 48.7C300.4 48.8 299.7 48.5 299.2 48.3C298.7 48.1 298.3 47.9 298 47.5C297.7 47.1 297.4 46.5 297.4 46C297.3 45.5 297.6 44.9 297.9 44.5C298.2 44 298.7 43.7 299.2 43.5C299.7 43.3 300.3 43.2 300.8 43.3C301.3 43.5 302 44 302.2 44.5C302.5 44.9 302.5 45.5 302.4 46C302.4 46.5 302.1 47.3 302 47.6Z",[],{"type":31,"tagName":191,"properties":430,"children":432},{"d":431,"fill":396,"fill-opacity":407},"M354.5 43C354.4 43.2 354.3 44.1 354 44.5C353.7 44.9 353.3 45.3 352.8 45.5C352.4 45.6 351.8 45.8 351.3 45.6C350.8 45.5 350 45 349.7 44.6C349.5 44.1 349.6 43.5 349.6 43C349.6 42.5 349.6 41.9 349.8 41.5C350.1 41.1 350.7 40.9 351.2 40.7C351.7 40.5 352.4 40.2 352.8 40.3C353.3 40.4 353.6 41 353.9 41.4C354.2 41.9 354.5 42.5 354.5 43C354.5 43.5 354.1 44.2 354 44.5Z",[],{"type":31,"tagName":191,"properties":434,"children":437},{"d":435,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M423.6 12.1C423.6 13.4 423.7 18.9 423.7 20.2","0.7",[],{"type":31,"tagName":191,"properties":439,"children":441},{"d":440,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M423.5 31.7C423.5 32.4 423.6 35 423.6 35.6",[],{"type":31,"tagName":191,"properties":443,"children":445},{"d":444,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M418.8 19.4C420.7 19.4 428.6 19.4 430.6 19.4",[],{"type":31,"tagName":191,"properties":447,"children":449},{"d":448,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M429.4 20.3C429.4 22.3 429.4 30.7 429.4 32.8",[],{"type":31,"tagName":191,"properties":451,"children":453},{"d":452,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M429.7 31.6C427.9 31.6 420.5 31.6 418.6 31.6",[],{"type":31,"tagName":191,"properties":455,"children":457},{"d":456,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M418.9 32.1C418.8 30 418.4 21.7 418.3 19.6",[],{"type":31,"tagName":191,"properties":459,"children":463},{"d":460,"fill":206,"stroke":396,"stroke-width":461,"stroke-opacity":462,"stroke-linecap":209,"stroke-linejoin":209},"M423.8 59.3C423.8 59.3 424.1 59.3 424.2 59.3C424.3 59.3 424.5 59.3 424.6 59.3C424.8 59.3 424.9 59.4 425 59.4C425.2 59.5 425.3 59.5 425.4 59.6C425.5 59.7 425.7 59.7 425.8 59.8C425.9 59.9 426 60 426.1 60.1C426.2 60.2 426.3 60.3 426.4 60.5C426.4 60.6 426.5 60.7 426.6 60.8C426.6 61 426.7 61.1 426.7 61.2C426.8 61.4 426.8 61.5 426.8 61.7C426.8 61.8 426.8 61.9 426.8 62.1C426.8 62.2 426.8 62.4 426.8 62.5C426.8 62.7 426.7 62.8 426.7 63C426.6 63.1 426.6 63.2 426.5 63.4C426.4 63.5 426.3 63.6 426.2 63.7C426.2 63.9 426.1 64 425.9 64.1C425.8 64.2 425.7 64.3 425.6 64.3C425.5 64.4 425.3 64.5 425.2 64.6C425.1 64.6 424.9 64.7 424.8 64.7C424.6 64.8 424.5 64.8 424.3 64.8C424.2 64.8 424 64.8 423.9 64.8C423.7 64.8 423.6 64.8 423.4 64.8C423.3 64.7 423.1 64.7 423 64.7C422.8 64.6 422.7 64.5 422.6 64.5C422.4 64.4 422.3 64.3 422.2 64.2C422.1 64.1 422 64 421.9 63.9C421.8 63.8 421.7 63.7 421.6 63.5C421.5 63.4 421.4 63.3 421.3 63.1C421.3 63 421.2 62.8 421.2 62.7C421.1 62.5 421.1 62.4 421.1 62.2C421.1 62.1 421.1 61.9 421.1 61.8C421.1 61.6 421.1 61.5 421.1 61.3C421.2 61.2 421.2 61 421.3 60.9C421.3 60.7 421.4 60.6 421.5 60.4C421.6 60.3 421.6 60.2 421.7 60.1C421.8 59.9 421.9 59.8 422.1 59.7C422.2 59.6 422.3 59.5 422.4 59.4C422.6 59.3 422.7 59.3 422.8 59.2C423 59.1 423.1 59.1 423.3 59C423.4 59 423.6 59 423.7 59C423.9 58.9 424.1 58.9 424.2 59C424.4 59 424.5 59 424.7 59C424.8 59.1 425.1 59.1 425.1 59.2","1.1","0.35",[],{"type":31,"tagName":191,"properties":465,"children":468},{"d":466,"fill":206,"stroke":396,"stroke-width":461,"stroke-opacity":467,"stroke-linecap":209,"stroke-linejoin":209},"M426.9 45.6C426.9 45.6 426.8 45.9 426.7 46C426.7 46.1 426.6 46.3 426.5 46.4C426.4 46.6 426.3 46.7 426.1 46.8C426 46.9 425.9 47 425.7 47.1C425.6 47.2 425.5 47.3 425.3 47.4C425.2 47.5 425 47.5 424.8 47.6C424.7 47.6 424.5 47.7 424.3 47.7C424.2 47.7 424 47.7 423.8 47.7C423.7 47.7 423.5 47.7 423.3 47.7C423.1 47.6 423 47.6 422.8 47.5C422.7 47.5 422.5 47.4 422.3 47.3C422.2 47.3 422 47.2 421.9 47.1C421.8 47 421.6 46.8 421.5 46.7C421.4 46.6 421.3 46.5 421.2 46.3C421.1 46.2 421 46 420.9 45.9C420.8 45.7 420.8 45.5 420.7 45.4C420.7 45.2 420.6 45 420.6 44.9C420.6 44.7 420.6 44.5 420.6 44.3C420.6 44.2 420.6 44 420.6 43.8C420.6 43.6 420.7 43.5 420.7 43.3C420.8 43.1 420.9 42.9 420.9 42.8C421 42.6 421.1 42.5 421.2 42.3C421.3 42.2 421.5 42.1 421.6 41.9C421.7 41.8 421.9 41.7 422 41.6C422.1 41.5 422.3 41.4 422.5 41.3C422.6 41.2 422.8 41.1 423 41.1C423.1 41 423.3 41 423.5 41C423.7 40.9 423.9 40.9 424.1 40.9C424.2 40.9 424.4 41 424.6 41C424.8 41 425 41.1 425.1 41.1C425.3 41.2 425.5 41.3 425.7 41.3C425.8 41.4 426 41.5 426.1 41.6C426.3 41.7 426.4 41.9 426.5 42C426.7 42.1 426.8 42.3 426.9 42.4C427 42.6 427.1 42.8 427.2 42.9C427.3 43.1 427.3 43.3 427.4 43.4C427.5 43.6 427.5 43.8 427.5 44C427.6 44.2 427.6 44.4 427.6 44.6C427.6 44.8 427.5 44.9 427.5 45.1C427.5 45.3 427.4 45.5 427.4 45.7C427.3 45.9 427.2 46 427.1 46.2C427 46.4 426.9 46.5 426.8 46.7C426.7 46.8 426.5 47 426.5 47.1","0.55",[],{"type":31,"tagName":191,"properties":470,"children":472},{"d":471,"fill":396,"fill-opacity":407},"M427.2 53C427.1 53.3 426.9 54.5 426.5 55C426.1 55.5 425.5 55.7 424.9 55.9C424.4 56.1 423.6 56.3 423 56.1C422.5 55.9 422 55.3 421.6 54.8C421.2 54.3 420.5 53.6 420.5 53C420.5 52.4 421.2 51.7 421.6 51.3C422 50.8 422.4 50.4 422.9 50.2C423.5 50 424.3 49.9 424.9 50C425.5 50.2 426 50.7 426.4 51.1C426.8 51.6 427.2 52.4 427.2 53C427.2 53.6 426.6 54.6 426.5 55Z",[],{"type":31,"tagName":191,"properties":474,"children":476},{"d":475,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M437.7 43.8C437.7 45.3 437.6 49.8 437.6 52.9C437.5 55.9 437.4 60.4 437.4 61.9",[],{"type":31,"tagName":191,"properties":478,"children":480},{"d":479,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M438.6 43.2C438.9 44 440.2 47.1 440.6 47.9",[],{"type":31,"tagName":191,"properties":482,"children":484},{"d":483,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M438.7 43.1C438.2 43.9 436.4 47.1 435.9 47.9",[],{"type":31,"tagName":191,"properties":486,"children":488},{"d":487,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M437.9 62.3C437.5 61.7 436 59.2 435.6 58.6",[],{"type":31,"tagName":191,"properties":490,"children":492},{"d":491,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M437.9 62.4C438.2 61.7 439.3 59.3 439.6 58.7",[],{"type":31,"tagName":191,"properties":494,"children":496},{"d":495,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M17.9 88.4C17.9 89.3 18.1 92.8 18.1 93.7",[],{"type":31,"tagName":191,"properties":498,"children":500},{"d":499,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M18.4 93.3C19.8 93.3 23.8 93.2 26.5 93.2C29.2 93.1 31.9 93.1 34.6 93.1C37.3 93.1 40 93.2 42.7 93.2C45.4 93.3 48.1 93.4 50.8 93.5C53.5 93.6 56.2 93.7 58.9 93.8C61.6 93.9 64.3 94.1 67 94.2C69.7 94.3 72.4 94.3 75 94.4C77.7 94.4 80.4 94.5 83.1 94.5C85.8 94.5 88.5 94.4 91.2 94.4C93.9 94.3 96.6 94.3 99.3 94.2C102 94.2 104.7 94.1 107.4 94.1C110.1 94.1 112.8 94.1 115.5 94.1C118.2 94.1 120.9 94.1 123.6 94.2C126.3 94.2 129 94.3 131.7 94.4C134.3 94.4 137 94.5 139.7 94.6C142.4 94.6 145.1 94.6 147.8 94.6C150.5 94.6 153.2 94.6 155.9 94.5C158.6 94.5 161.3 94.4 164 94.3C166.7 94.2 169.4 94.1 172.1 94C174.8 93.8 177.5 93.7 180.2 93.6C182.9 93.5 185.6 93.4 188.3 93.4C191 93.3 193.6 93.3 196.3 93.3C199 93.3 201.7 93.3 204.4 93.3C207.1 93.4 209.8 93.4 212.5 93.5C215.2 93.5 217.9 93.5 220.6 93.5C223.3 93.5 226 93.5 228.7 93.5C231.4 93.5 234.1 93.4 236.8 93.3C239.5 93.3 242.2 93.2 244.9 93.1C247.6 93 250.3 92.9 252.9 92.9C255.6 92.8 258.3 92.8 261 92.7C263.7 92.7 266.4 92.7 269.1 92.8C271.8 92.8 274.5 92.9 277.2 93C279.9 93.1 282.6 93.2 285.3 93.3C288 93.4 290.7 93.5 293.4 93.6C296.1 93.7 298.8 93.8 301.5 93.8C304.2 93.9 306.9 93.9 309.6 93.9C312.2 93.9 314.9 93.9 317.6 93.8C320.3 93.8 323 93.8 325.7 93.7C328.4 93.7 331.1 93.7 333.8 93.7C336.5 93.7 339.2 93.7 341.9 93.7C344.6 93.8 347.3 93.8 350 93.9C352.7 94 355.4 94.1 358.1 94.2C360.8 94.3 363.5 94.4 366.2 94.5C368.9 94.5 372.9 94.6 374.2 94.6",[],{"type":31,"tagName":191,"properties":502,"children":504},{"d":503,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M374.5 93.4C374.5 92.5 374.6 88.5 374.7 87.6",[],{"type":31,"tagName":191,"properties":506,"children":508},{"d":507,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M402.2 88.2C402.2 89.2 402.4 93.2 402.4 94.2",[],{"type":31,"tagName":191,"properties":510,"children":512},{"d":511,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M402.5 94.7C404 94.7 408.4 94.7 411.4 94.6C414.3 94.6 417.3 94.6 420.2 94.6C423.1 94.7 426.1 94.7 429 94.7C432 94.7 434.9 94.7 437.9 94.6C440.8 94.6 445.2 94.5 446.7 94.5",[],{"type":31,"tagName":191,"properties":514,"children":516},{"d":515,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M445.8 93.8C445.8 92.8 446.1 88.9 446.1 87.9",[],{"type":31,"tagName":199,"properties":518,"children":520},{"fill-opacity":519},".88",[521,530,540,547],{"type":31,"tagName":27,"properties":522,"children":527},{"x":523,"y":524,"font-family":525,"font-size":178,"fill":396,"transform":526},"446","57","'Architects Daughter', 'Bradley Hand', 'Segoe Print', cursive","rotate(-0.16 446 57)",[528],{"type":27,"value":529},"moves",{"type":31,"tagName":27,"properties":531,"children":537},{"x":532,"y":533,"font-family":525,"font-size":534,"fill":535,"text-anchor":536},"196","114","12","var(--diagram-muted, #766f64)","middle",[538],{"type":27,"value":539},"closed bars: their values never change",{"type":31,"tagName":27,"properties":541,"children":544},{"x":542,"y":533,"font-family":525,"font-size":534,"fill":396,"text-anchor":536,"transform":543},"424","rotate(0.22 424 114)",[545],{"type":27,"value":546},"forming",{"type":31,"tagName":27,"properties":548,"children":552},{"x":542,"y":549,"font-family":525,"font-size":550,"fill":535,"text-anchor":536,"transform":551},"130","10.5","rotate(-0.12 424 130)",[553],{"type":27,"value":554},"until it closes",{"start":556,"end":559},{"line":557,"column":21,"offset":558},17,787,{"line":557,"column":560,"offset":561},176,962,{"type":27,"value":28},{"type":31,"tagName":32,"properties":564,"children":565,"position":575},{},[566],{"type":27,"value":567,"position":568},"Repainting is when a script's historical values change after the fact. The\nline you see today over old bars is not the line the script drew when those\nbars were live. A signal that looks like it fired one bar early in backtest\nfires one bar late in production, or never. The chart redraws itself once\nthe future arrives, so your backtest is reading numbers that did not exist\nat the time.",{"start":569,"end":572},{"line":570,"column":21,"offset":571},19,964,{"line":573,"column":85,"offset":574},24,1352,{"start":576,"end":577},{"line":570,"column":21,"offset":571},{"line":573,"column":85,"offset":574},{"type":27,"value":28},{"type":31,"tagName":32,"properties":580,"children":581,"position":591},{},[582],{"type":27,"value":583,"position":584},"That is the whole problem in one sentence: a repainting indicator lies\nabout the past, so anything you measure on history (win rate, drawdown,\nsignal timing) is fiction. You cannot trust a backtest you cannot\nreproduce.",{"start":585,"end":587},{"line":43,"column":21,"offset":586},1354,{"line":588,"column":589,"offset":590},29,11,1573,{"start":592,"end":593},{"line":43,"column":21,"offset":586},{"line":588,"column":589,"offset":590},{"type":27,"value":28},{"type":31,"tagName":93,"properties":596,"children":597,"position":607},{},[598],{"type":27,"value":599,"position":600},"Why it happens",{"start":601,"end":604},{"line":602,"column":101,"offset":603},31,1578,{"line":602,"column":605,"offset":606},18,1592,{"start":608,"end":610},{"line":602,"column":21,"offset":609},1575,{"line":602,"column":605,"offset":606},{"type":27,"value":28},{"type":31,"tagName":32,"properties":613,"children":614,"position":624},{},[615],{"type":27,"value":616,"position":617},"Repainting comes from reading data that was not yet available at the bar\nyou are computing, or from a history that is not the one you ran on. Three\nsources, two classic and one specific to a module with state:",{"start":618,"end":621},{"line":619,"column":21,"offset":620},33,1594,{"line":54,"column":622,"offset":623},62,1803,{"start":625,"end":626},{"line":619,"column":21,"offset":620},{"line":54,"column":622,"offset":623},{"type":27,"value":28},{"type":31,"tagName":629,"properties":630,"children":631,"position":733},"ul",{},[632,633,668,669,700,701,732],{"type":27,"value":28},{"type":31,"tagName":634,"properties":635,"children":636,"position":664},"li",{},[637,656],{"type":31,"tagName":638,"properties":639,"children":640,"position":649},"strong",{},[641],{"type":27,"value":642,"position":643},"An unclosed higher-timeframe candle.",{"start":644,"end":646},{"line":86,"column":39,"offset":645},1809,{"line":86,"column":647,"offset":648},41,1845,{"start":650,"end":653},{"line":86,"column":651,"offset":652},3,1807,{"line":86,"column":654,"offset":655},43,1847,{"type":27,"value":657,"position":658}," A naive 4h lookup on a 1h chart\nhands back the forming candle's live value; history backfills the\nfinished number the live chart never had.",{"start":659,"end":660},{"line":86,"column":654,"offset":655},{"line":661,"column":662,"offset":663},39,44,1991,{"start":665,"end":667},{"line":86,"column":21,"offset":666},1805,{"line":661,"column":662,"offset":663},{"type":27,"value":28},{"type":31,"tagName":634,"properties":670,"children":671,"position":696},{},[672,688],{"type":31,"tagName":638,"properties":673,"children":674,"position":683},{},[675],{"type":27,"value":676,"position":677},"A future-leaking series.",{"start":678,"end":681},{"line":679,"column":39,"offset":680},40,1996,{"line":679,"column":588,"offset":682},2020,{"start":684,"end":686},{"line":679,"column":651,"offset":685},1994,{"line":679,"column":602,"offset":687},2022,{"type":27,"value":689,"position":690}," Anything that depends on a later bar: a\ncentered smoother, \"highest of the next N bars\". History resolves it; live\nit does not exist yet.",{"start":691,"end":692},{"line":679,"column":602,"offset":687},{"line":693,"column":694,"offset":695},42,25,2164,{"start":697,"end":699},{"line":679,"column":21,"offset":698},1992,{"line":693,"column":694,"offset":695},{"type":27,"value":28},{"type":31,"tagName":634,"properties":702,"children":703,"position":728},{},[704,721],{"type":31,"tagName":638,"properties":705,"children":706,"position":715},{},[707],{"type":27,"value":708,"position":709},"State that depends on where history starts.",{"start":710,"end":712},{"line":654,"column":39,"offset":711},2169,{"line":654,"column":713,"offset":714},48,2212,{"start":716,"end":718},{"line":654,"column":651,"offset":717},2167,{"line":654,"column":719,"offset":720},50,2214,{"type":27,"value":722,"position":723}," A running total or a bar\ncounter begins at the first bar loaded; load more history and every value\nshifts, although no bar looked ahead.",{"start":724,"end":725},{"line":654,"column":719,"offset":720},{"line":726,"column":679,"offset":727},45,2355,{"start":729,"end":731},{"line":654,"column":21,"offset":730},2165,{"line":726,"column":679,"offset":727},{"type":27,"value":28},{"start":734,"end":735},{"line":86,"column":21,"offset":666},{"line":726,"column":679,"offset":727},{"type":27,"value":28},{"type":31,"tagName":32,"properties":738,"children":739,"position":749},{},[740],{"type":27,"value":741,"position":742},"The tell is the same each time: the computation saw something during the\nbacktest that it could not have seen live, or saw something live that\nhistory will not replay.",{"start":743,"end":746},{"line":744,"column":21,"offset":745},47,2357,{"line":747,"column":694,"offset":748},49,2524,{"start":750,"end":751},{"line":744,"column":21,"offset":745},{"line":747,"column":694,"offset":748},{"type":27,"value":28},{"type":31,"tagName":93,"properties":754,"children":755,"position":764},{},[756],{"type":27,"value":757,"position":758},"The good news: no lookahead by construction",{"start":759,"end":762},{"line":760,"column":101,"offset":761},51,2529,{"line":760,"column":744,"offset":763},2572,{"start":765,"end":767},{"line":760,"column":21,"offset":766},2526,{"line":760,"column":744,"offset":763},{"type":27,"value":28},{"type":31,"tagName":32,"properties":770,"children":771,"position":814},{},[772,786,793,806],{"type":31,"tagName":46,"properties":773,"children":774,"position":783},{},[775],{"type":27,"value":50,"position":776},{"start":777,"end":780},{"line":778,"column":21,"offset":779},53,2574,{"line":778,"column":781,"offset":782},10,2583,{"start":784,"end":785},{"line":778,"column":21,"offset":779},{"line":778,"column":781,"offset":782},{"type":27,"value":787,"position":788}," receives exactly one bar: the inputs of the bar being evaluated,\noldest first. There is no history array to index forward, no ",{"start":789,"end":790},{"line":778,"column":781,"offset":782},{"line":791,"column":622,"offset":792},54,2710,{"type":31,"tagName":46,"properties":794,"children":795,"position":803},{},[796],{"type":27,"value":797,"position":798},"[−1]",{"start":799,"end":800},{"line":791,"column":622,"offset":792},{"line":791,"column":801,"offset":802},68,2716,{"start":804,"end":805},{"line":791,"column":622,"offset":792},{"line":791,"column":801,"offset":802},{"type":27,"value":807,"position":808},", no\nway to reach the next bar. A value can only depend on bars at or before\nits own, so a mark that appears in history would have appeared live on the\nsame bar. An indicator cannot break this by accident; there is nothing to\npeek at.",{"start":809,"end":810},{"line":791,"column":801,"offset":802},{"line":811,"column":812,"offset":813},58,9,2950,{"start":815,"end":816},{"line":778,"column":21,"offset":779},{"line":811,"column":812,"offset":813},{"type":27,"value":28},{"type":31,"tagName":32,"properties":819,"children":820,"position":873},{},[821,829,846,853,867],{"type":27,"value":822,"position":823},"The causal-prefix guarantee in one sentence: at bar ",{"start":824,"end":827},{"line":825,"column":21,"offset":826},60,2952,{"line":825,"column":778,"offset":828},3004,{"type":31,"tagName":830,"properties":831,"children":832,"position":841},"em",{},[833],{"type":27,"value":834,"position":835},"t",{"start":836,"end":838},{"line":825,"column":791,"offset":837},3005,{"line":825,"column":839,"offset":840},55,3006,{"start":842,"end":843},{"line":825,"column":778,"offset":828},{"line":825,"column":844,"offset":845},56,3007,{"type":27,"value":847,"position":848},", every value the\nmodule holds was derived only from bars at or before ",{"start":849,"end":850},{"line":825,"column":844,"offset":845},{"line":851,"column":791,"offset":852},61,3078,{"type":31,"tagName":830,"properties":854,"children":855,"position":862},{},[856],{"type":27,"value":834,"position":857},{"start":858,"end":860},{"line":851,"column":839,"offset":859},3079,{"line":851,"column":844,"offset":861},3080,{"start":863,"end":864},{"line":851,"column":791,"offset":852},{"line":851,"column":865,"offset":866},57,3081,{"type":27,"value":868,"position":869},", so the past never\nchanges when the future arrives.",{"start":870,"end":871},{"line":851,"column":865,"offset":866},{"line":622,"column":619,"offset":872},3133,{"start":874,"end":875},{"line":825,"column":21,"offset":826},{"line":622,"column":619,"offset":872},{"type":27,"value":28},{"type":31,"tagName":32,"properties":878,"children":879,"position":945},{},[880,894,901,913,921,938],{"type":31,"tagName":46,"properties":881,"children":882,"position":891},{},[883],{"type":27,"value":884,"position":885},"bar.count()",{"start":886,"end":888},{"line":65,"column":21,"offset":887},3135,{"line":65,"column":889,"offset":890},14,3148,{"start":892,"end":893},{"line":65,"column":21,"offset":887},{"line":65,"column":889,"offset":890},{"type":27,"value":895,"position":896}," is the one way out, and you opt into it by name: it tells a\nbar how many bars the run holds, so a value that reads it (a lagging line\nthat waits for the bar ",{"start":897,"end":898},{"line":65,"column":889,"offset":890},{"line":899,"column":573,"offset":900},66,3306,{"type":31,"tagName":46,"properties":902,"children":903,"position":910},{},[904],{"type":27,"value":905,"position":906},"shift",{"start":907,"end":908},{"line":899,"column":573,"offset":900},{"line":899,"column":602,"offset":909},3313,{"start":911,"end":912},{"line":899,"column":573,"offset":900},{"line":899,"column":602,"offset":909},{"type":27,"value":914,"position":915}," bars later) does change when a later bar\narrives. The chart keeps such a file honest by running every bar again\nwhenever a bar opens, so the live chart always matches a fresh load over\nthe same bars (",{"start":916,"end":917},{"line":899,"column":602,"offset":909},{"line":918,"column":919,"offset":920},69,16,3514,{"type":31,"tagName":922,"properties":923,"children":925,"position":933},"a",{"href":924},"execution-model.md#how-many-bars-the-run-holds",[926],{"type":27,"value":927,"position":928},"How many bars the run holds",{"start":929,"end":931},{"line":918,"column":557,"offset":930},3515,{"line":918,"column":662,"offset":932},3542,{"start":934,"end":935},{"line":918,"column":919,"offset":920},{"line":918,"column":936,"offset":937},93,3591,{"type":27,"value":939,"position":940},").",{"start":941,"end":942},{"line":918,"column":936,"offset":937},{"line":918,"column":943,"offset":944},95,3593,{"start":946,"end":947},{"line":65,"column":21,"offset":887},{"line":918,"column":943,"offset":944},{"type":27,"value":28},{"type":31,"tagName":93,"properties":950,"children":951,"position":960},{},[952],{"type":27,"value":953,"position":954},"Higher timeframes: confirmed by the fold",{"start":955,"end":958},{"line":956,"column":101,"offset":957},71,3598,{"line":956,"column":662,"offset":959},3638,{"start":961,"end":963},{"line":956,"column":21,"offset":962},3595,{"line":956,"column":662,"offset":959},{"type":27,"value":28},{"type":31,"tagName":112,"properties":966,"children":968,"position":1397},{"className":967},[115],[969],{"type":31,"tagName":118,"properties":970,"children":975},{"xmlns":120,"viewBox":971,"role":122,"aria-labelledby":972,"letter-spacing":124,"className":973,"data-diagram":974},"0 0 540 206","repainting-title",[126],"repainting",[976,981,1017,1021,1336],{"type":31,"tagName":130,"properties":977,"children":978},{"id":972},[979],{"type":27,"value":980},"Higher timeframes, bar by bar: a 4h candle spans four 1h bars; with lookahead on, a Pine script on history sees the new 4h close from the first of those bars, while in wrun every 1h bar sees the previous close and the new one arrives on the bar after the 4h candle closes.",{"type":31,"tagName":136,"properties":982,"children":983},{},[984,997,1008],{"type":31,"tagName":140,"properties":985,"children":987},{"id":986,"x":143,"y":143,"width":144,"height":144},"repainting-graphite",[988,991,994],{"type":31,"tagName":147,"properties":989,"children":990},{"type":149,"baseFrequency":150,"numOctaves":151,"seed":152,"result":153},[],{"type":31,"tagName":156,"properties":992,"children":993},{"in":153,"type":158,"values":159,"result":160},[],{"type":31,"tagName":163,"properties":995,"children":996},{"in":165,"in2":160,"operator":166},[],{"type":31,"tagName":169,"properties":998,"children":1000},{"id":999},"repainting-hatch1",[1001],{"type":31,"tagName":174,"properties":1002,"children":1007},{"x":1003,"y":1004,"width":1005,"height":1006},"215","84","10","6",[],{"type":31,"tagName":169,"properties":1009,"children":1011},{"id":1010},"repainting-hatch2",[1012],{"type":31,"tagName":174,"properties":1013,"children":1016},{"x":1014,"y":1015,"width":1005,"height":1006},"395","60",[],{"type":31,"tagName":191,"properties":1018,"children":1020},{"d":1019,"stroke":194,"stroke-opacity":195,"stroke-width":196},"M0 0V206 M12 0V206 M24 0V206 M36 0V206 M48 0V206 M60 0V206 M72 0V206 M84 0V206 M96 0V206 M108 0V206 M120 0V206 M132 0V206 M144 0V206 M156 0V206 M168 0V206 M180 0V206 M192 0V206 M204 0V206 M216 0V206 M228 0V206 M240 0V206 M252 0V206 M264 0V206 M276 0V206 M288 0V206 M300 0V206 M312 0V206 M324 0V206 M336 0V206 M348 0V206 M360 0V206 M372 0V206 M384 0V206 M396 0V206 M408 0V206 M420 0V206 M432 0V206 M444 0V206 M456 0V206 M468 0V206 M480 0V206 M492 0V206 M504 0V206 M516 0V206 M528 0V206 M540 0V206 M0 0H540 M0 12H540 M0 24H540 M0 36H540 M0 48H540 M0 60H540 M0 72H540 M0 84H540 M0 96H540 M0 108H540 M0 120H540 M0 132H540 M0 144H540 M0 156H540 M0 168H540 M0 180H540 M0 192H540 M0 204H540",[],{"type":31,"tagName":199,"properties":1022,"children":1024},{"filter":1023},"url(#repainting-graphite)",[1025,1029,1033,1037,1043,1047,1051,1055,1059,1063,1067,1071,1075,1079,1083,1087,1091,1095,1099,1103,1107,1111,1115,1119,1123,1127,1131,1135,1139,1143,1147,1151,1155,1159,1167,1171,1175,1179,1183,1187,1191,1195,1199,1203,1207,1211,1215,1219,1223,1227,1231,1235,1239,1247,1251,1255,1259,1263,1267,1271,1275,1280,1284,1288,1292,1296,1300,1304,1308,1312,1316,1320,1324,1328,1332],{"type":31,"tagName":191,"properties":1026,"children":1028},{"d":1027,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M150 29.9C149.9 29.2 149.7 26 149.6 25.3",[],{"type":31,"tagName":191,"properties":1030,"children":1032},{"d":1031,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M149.6 25.9C151 25.9 155.1 26.1 157.9 26.2C160.7 26.2 163.4 26.2 166.2 26.1C168.9 26.1 171.7 25.9 174.5 25.8C177.2 25.7 180 25.5 182.7 25.4C185.5 25.2 188.3 25.1 191 25.1C193.8 25.1 196.5 25.1 199.3 25.1C202 25.2 204.8 25.3 207.6 25.3C210.3 25.4 213.1 25.4 215.8 25.4C218.6 25.3 221.4 25.2 224.1 25.1C226.9 25 229.6 24.8 232.4 24.7C235.2 24.6 237.9 24.4 240.7 24.4C243.4 24.3 246.2 24.3 248.9 24.3C251.7 24.4 254.5 24.5 257.2 24.6C260 24.7 262.7 24.8 265.5 24.9C268.3 24.9 271 25 273.8 24.9C276.5 24.9 279.3 24.8 282.1 24.7C284.8 24.7 287.6 24.5 290.3 24.5C293.1 24.4 295.8 24.4 298.6 24.5C301.4 24.5 304.1 24.7 306.9 24.8C309.6 24.9 312.4 25.1 315.2 25.2C317.9 25.4 320.7 25.5 323.4 25.5C326.2 25.6 329 25.6 331.7 25.5C334.5 25.5 338.6 25.4 340 25.3",[],{"type":31,"tagName":191,"properties":1034,"children":1036},{"d":1035,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M339.6 24.7C339.6 25.5 339.7 29 339.7 29.8",[],{"type":31,"tagName":191,"properties":1038,"children":1042},{"d":1039,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M359.6 25.7C359.6 26.4 359.6 29.3 359.6 30.1","1.0","0.45",[],{"type":31,"tagName":191,"properties":1044,"children":1046},{"d":1045,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M359.6 35.8C359.6 36.4 359.9 39.1 360 39.8",[],{"type":31,"tagName":191,"properties":1048,"children":1050},{"d":1049,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.4 44.7C360.4 45.4 360.1 48 360.1 48.7",[],{"type":31,"tagName":191,"properties":1052,"children":1054},{"d":1053,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M359.9 53.6C359.8 54.3 359.6 57 359.6 57.6",[],{"type":31,"tagName":191,"properties":1056,"children":1058},{"d":1057,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M359.4 62C359.4 62.7 359.5 65.6 359.5 66.3",[],{"type":31,"tagName":191,"properties":1060,"children":1062},{"d":1061,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.6 70.8C360.5 71.5 360.4 74.2 360.4 74.9",[],{"type":31,"tagName":191,"properties":1064,"children":1066},{"d":1065,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.5 79.9C360.5 80.7 360.3 83.6 360.3 84.4",[],{"type":31,"tagName":191,"properties":1068,"children":1070},{"d":1069,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360 89.7C360 90.4 359.8 93.3 359.8 94",[],{"type":31,"tagName":191,"properties":1072,"children":1074},{"d":1073,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.1 98.3C360.1 99 360.1 101.5 360.1 102.1",[],{"type":31,"tagName":191,"properties":1076,"children":1078},{"d":1077,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.4 106.7C360.4 107.4 360.1 110.2 360.1 110.9",[],{"type":31,"tagName":191,"properties":1080,"children":1082},{"d":1081,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M359.9 116.1C359.9 116.8 359.8 119.8 359.7 120.5",[],{"type":31,"tagName":191,"properties":1084,"children":1086},{"d":1085,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M359.4 125.4C359.4 126.1 359.5 129.3 359.5 130.1",[],{"type":31,"tagName":191,"properties":1088,"children":1090},{"d":1089,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.3 134.1C360.3 134.8 360.3 137.6 360.3 138.3",[],{"type":31,"tagName":191,"properties":1092,"children":1094},{"d":1093,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360 143.1C360 143.8 359.7 146.9 359.6 147.6",[],{"type":31,"tagName":191,"properties":1096,"children":1098},{"d":1097,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.4 152.2C360.4 153 360.3 156.1 360.3 156.8",[],{"type":31,"tagName":191,"properties":1100,"children":1102},{"d":1101,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M359.9 160.9C359.8 161.6 359.5 164.2 359.4 164.8",[],{"type":31,"tagName":191,"properties":1104,"children":1106},{"d":1105,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.1 169.7C360.1 170.5 360.2 173.4 360.2 174.2",[],{"type":31,"tagName":191,"properties":1108,"children":1110},{"d":1109,"fill":206,"stroke":194,"stroke-width":1040,"stroke-opacity":1041,"stroke-linecap":209,"stroke-linejoin":209},"M360.6 179.5C360.5 180.2 360.1 183 360.1 183.7",[],{"type":31,"tagName":191,"properties":1112,"children":1114},{"d":1113,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M169.8 77.9C169.8 78.8 169.7 82.7 169.6 83.7",[],{"type":31,"tagName":191,"properties":1116,"children":1118},{"d":1117,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M170.3 95.3C170.3 96 170.3 98.7 170.3 99.4",[],{"type":31,"tagName":191,"properties":1120,"children":1122},{"d":1121,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M165 83.9C166.7 83.9 173.6 84 175.3 84",[],{"type":31,"tagName":191,"properties":1124,"children":1126},{"d":1125,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M175 83.8C174.9 86 174.6 94.8 174.5 97",[],{"type":31,"tagName":191,"properties":1128,"children":1130},{"d":1129,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M175.7 95.8C173.9 95.8 166.8 95.8 165.1 95.8",[],{"type":31,"tagName":191,"properties":1132,"children":1134},{"d":1133,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M164.8 97.5C164.8 95.3 165 86.4 165 84.2",[],{"type":31,"tagName":191,"properties":1136,"children":1138},{"d":1137,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M220.1 80.2C220.2 80.7 220.3 82.7 220.3 83.2",[],{"type":31,"tagName":191,"properties":1140,"children":1142},{"d":1141,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M220 89.6C220 90.6 220.1 94.7 220.1 95.8",[],{"type":31,"tagName":191,"properties":1144,"children":1146},{"d":1145,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M214.2 83.4C216 83.4 222.9 83.5 224.6 83.6",[],{"type":31,"tagName":191,"properties":1148,"children":1150},{"d":1149,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M224.9 83.6C224.9 84.6 225.1 88.8 225.1 89.8",[],{"type":31,"tagName":191,"properties":1152,"children":1154},{"d":1153,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M225.3 89.9C223.4 89.9 215.7 89.7 213.8 89.7",[],{"type":31,"tagName":191,"properties":1156,"children":1158},{"d":1157,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M214.7 90.3C214.6 89.3 214.6 85 214.6 83.9",[],{"type":31,"tagName":199,"properties":1160,"children":1162},{"clip-path":1161},"url(#repainting-hatch1)",[1163],{"type":31,"tagName":191,"properties":1164,"children":1166},{"d":1165,"fill":206,"stroke":194,"stroke-width":262,"stroke-opacity":263,"stroke-linecap":209},"M208.9 89.3C210.4 86.9 216.3 77.5 217.8 75.2 M210.8 91.2C212.3 89 218.2 80.2 219.7 78 M212.3 92C213.9 89.7 219.9 80.3 221.4 77.9 M216.4 93.6C217.6 91.5 222.6 83.2 223.8 81.2 M218.6 94.7C220 92.4 225.5 83.5 226.9 81.3 M220.2 96.4C221.5 94.1 226.7 85 228 82.8 M223.6 97.6C224.9 95.3 229.8 86.2 231.1 83.9",[],{"type":31,"tagName":191,"properties":1168,"children":1170},{"d":1169,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M270.2 66.3C270.3 67.3 270.5 71.3 270.5 72.3",[],{"type":31,"tagName":191,"properties":1172,"children":1174},{"d":1173,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M270.2 90.7C270.1 91.2 269.8 93.6 269.8 94.2",[],{"type":31,"tagName":191,"properties":1176,"children":1178},{"d":1177,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M264.6 72.1C266.4 72 273.4 72 275.2 71.9",[],{"type":31,"tagName":191,"properties":1180,"children":1182},{"d":1181,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M275.8 72.2C275.8 73.8 275.8 78.4 275.7 81.5C275.7 84.7 275.7 89.3 275.7 90.9",[],{"type":31,"tagName":191,"properties":1184,"children":1186},{"d":1185,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M275.3 89.8C273.5 89.8 266.3 89.9 264.5 89.9",[],{"type":31,"tagName":191,"properties":1188,"children":1190},{"d":1189,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M265.2 90C265.2 88.4 265.3 83.8 265.4 80.8C265.5 77.7 265.7 73.1 265.7 71.5",[],{"type":31,"tagName":191,"properties":1192,"children":1194},{"d":1193,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M320.2 53.9C320.2 54.9 320.5 58.7 320.6 59.7",[],{"type":31,"tagName":191,"properties":1196,"children":1198},{"d":1197,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M320.5 71.6C320.4 72.2 320.2 74.7 320.2 75.4",[],{"type":31,"tagName":191,"properties":1200,"children":1202},{"d":1201,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M315.6 60.1C317.3 60.2 324.1 60.5 325.8 60.5",[],{"type":31,"tagName":191,"properties":1204,"children":1206},{"d":1205,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M325.4 59.5C325.3 61.6 324.9 69.9 324.8 72",[],{"type":31,"tagName":191,"properties":1208,"children":1210},{"d":1209,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M325.1 72.5C323.5 72.5 317 72.6 315.4 72.6",[],{"type":31,"tagName":191,"properties":1212,"children":1214},{"d":1213,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M314.8 73C314.8 70.8 314.8 62.2 314.8 60",[],{"type":31,"tagName":191,"properties":1216,"children":1218},{"d":1217,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M399.9 55.7C399.8 56.3 399.7 58.6 399.7 59.1",[],{"type":31,"tagName":191,"properties":1220,"children":1222},{"d":1221,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M399.9 66.2C399.9 66.7 400.1 69.1 400.1 69.7",[],{"type":31,"tagName":191,"properties":1224,"children":1226},{"d":1225,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M394.9 60.3C396.8 60.3 404 60.3 405.8 60.3",[],{"type":31,"tagName":191,"properties":1228,"children":1230},{"d":1229,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M405.1 59C405.1 60.2 405.1 64.8 405.1 65.9",[],{"type":31,"tagName":191,"properties":1232,"children":1234},{"d":1233,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M404.8 66.3C403.1 66.3 396.2 66.3 394.5 66.3",[],{"type":31,"tagName":191,"properties":1236,"children":1238},{"d":1237,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M394.9 66.3C395 65.3 395.2 61.2 395.3 60.2",[],{"type":31,"tagName":199,"properties":1240,"children":1242},{"clip-path":1241},"url(#repainting-hatch2)",[1243],{"type":31,"tagName":191,"properties":1244,"children":1246},{"d":1245,"fill":206,"stroke":194,"stroke-width":262,"stroke-opacity":263,"stroke-linecap":209},"M389 65.5C390.5 63.4 396.2 55 397.6 52.9 M391 67.4C392.5 65.3 398.4 56.9 399.9 54.8 M394.6 68.3C396.1 66.2 401.7 57.9 403.1 55.9 M396 70C397.4 67.7 403.1 58.3 404.6 56 M398.5 71.3C399.8 69.1 405.2 60.4 406.5 58.2 M401.3 72.4C402.6 70 408 60.5 409.3 58.1",[],{"type":31,"tagName":191,"properties":1248,"children":1250},{"d":1249,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M450.5 51.6C450.5 52.5 450.4 56.4 450.4 57.4",[],{"type":31,"tagName":191,"properties":1252,"children":1254},{"d":1253,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M449.9 66.3C449.8 67 449.5 69.7 449.4 70.4",[],{"type":31,"tagName":191,"properties":1256,"children":1258},{"d":1257,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M445.2 57.7C447 57.7 454.1 57.8 455.8 57.9",[],{"type":31,"tagName":191,"properties":1260,"children":1262},{"d":1261,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M455.6 57.8C455.5 59.2 455.4 64.9 455.4 66.3",[],{"type":31,"tagName":191,"properties":1264,"children":1266},{"d":1265,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M456 65.5C454.1 65.6 446.6 65.7 444.7 65.7",[],{"type":31,"tagName":191,"properties":1268,"children":1270},{"d":1269,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M445.6 66.3C445.6 64.8 445.4 58.9 445.4 57.5",[],{"type":31,"tagName":191,"properties":1272,"children":1274},{"d":1273,"fill":396,"fill-opacity":407},"M173.3 130C173.2 130.3 173.1 131.4 172.7 131.9C172.3 132.4 171.6 133 171 133.2C170.4 133.4 169.5 133.3 169 133.1C168.4 132.9 167.9 132.5 167.6 132C167.2 131.5 167.1 130.6 167 130C167 129.4 167.1 128.6 167.4 128.2C167.7 127.7 168.4 127.4 169 127.2C169.6 127.1 170.4 127.1 171 127.2C171.6 127.4 172.1 127.6 172.5 128C172.9 128.5 173.3 129.4 173.3 130C173.4 130.6 172.8 131.6 172.7 131.9Z",[],{"type":31,"tagName":191,"properties":1276,"children":1279},{"d":1277,"fill":206,"stroke":194,"stroke-width":1278,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M169.5 170.9C169.5 170.9 169.2 170.9 169.1 170.9C168.9 170.8 168.8 170.8 168.7 170.8C168.5 170.7 168.4 170.6 168.3 170.6C168.1 170.5 168 170.4 167.9 170.3C167.8 170.2 167.7 170.1 167.6 170C167.5 169.9 167.4 169.8 167.3 169.7C167.2 169.6 167.2 169.4 167.1 169.3C167 169.2 167 169 166.9 168.9C166.9 168.7 166.9 168.6 166.9 168.4C166.8 168.3 166.8 168.2 166.8 168C166.9 167.9 166.9 167.7 166.9 167.6C166.9 167.4 167 167.3 167 167.1C167.1 167 167.1 166.9 167.2 166.7C167.3 166.6 167.4 166.5 167.5 166.3C167.6 166.2 167.7 166.1 167.8 166C167.9 165.9 168 165.8 168.1 165.7C168.3 165.7 168.4 165.6 168.5 165.5C168.7 165.5 168.8 165.4 169 165.4C169.1 165.3 169.3 165.3 169.4 165.3C169.6 165.3 169.7 165.3 169.9 165.3C170 165.3 170.2 165.3 170.3 165.3C170.5 165.4 170.6 165.4 170.8 165.5C170.9 165.5 171 165.6 171.2 165.7C171.3 165.7 171.4 165.8 171.6 165.9C171.7 166 171.8 166.1 171.9 166.2C172 166.4 172.1 166.5 172.2 166.6C172.2 166.7 172.3 166.9 172.4 167C172.4 167.2 172.5 167.3 172.5 167.5C172.6 167.6 172.6 167.8 172.6 167.9C172.6 168.1 172.6 168.2 172.6 168.4C172.6 168.5 172.6 168.7 172.6 168.8C172.5 169 172.5 169.1 172.4 169.3C172.4 169.4 172.3 169.6 172.2 169.7C172.1 169.8 172 169.9 172 170.1C171.9 170.2 171.7 170.3 171.6 170.4C171.5 170.5 171.4 170.6 171.3 170.7C171.1 170.7 171 170.8 170.9 170.9C170.7 170.9 170.6 171 170.4 171C170.3 171.1 170.1 171.1 170 171.1C169.8 171.1 169.7 171.1 169.5 171.1C169.3 171.1 169.2 171.1 169 171C168.9 171 168.7 171 168.6 170.9C168.5 170.8 168.2 170.7 168.2 170.7","1.2",[],{"type":31,"tagName":191,"properties":1281,"children":1283},{"d":1282,"fill":396,"fill-opacity":407},"M223.1 130C223.1 130.3 223.1 131.4 222.8 131.9C222.4 132.4 221.7 133 221 133.2C220.4 133.3 219.5 133 218.9 132.8C218.3 132.6 217.9 132.4 217.5 131.9C217.2 131.5 216.6 130.6 216.6 130C216.6 129.4 217 128.7 217.5 128.2C217.9 127.7 218.5 127.1 219.1 126.9C219.7 126.7 220.3 126.9 221 127.1C221.6 127.3 222.4 127.7 222.8 128.2C223.2 128.6 223.1 129.4 223.1 130C223.1 130.6 222.8 131.6 222.8 131.9Z",[],{"type":31,"tagName":191,"properties":1285,"children":1287},{"d":1286,"fill":206,"stroke":194,"stroke-width":1278,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M217.5 167.2C217.5 167.2 217.6 167 217.7 166.9C217.8 166.7 217.8 166.6 217.9 166.5C218 166.5 218.1 166.4 218.2 166.3C218.3 166.2 218.4 166.1 218.5 166.1C218.6 166 218.8 165.9 218.9 165.9C219 165.8 219.1 165.8 219.3 165.8C219.4 165.8 219.5 165.7 219.7 165.7C219.8 165.7 219.9 165.7 220 165.7C220.2 165.8 220.3 165.8 220.4 165.8C220.6 165.8 220.7 165.9 220.8 165.9C220.9 166 221 166.1 221.2 166.1C221.3 166.2 221.4 166.3 221.5 166.4C221.6 166.5 221.7 166.6 221.7 166.7C221.8 166.8 221.9 166.9 222 167C222 167.1 222.1 167.2 222.2 167.3C222.2 167.5 222.2 167.6 222.3 167.7C222.3 167.9 222.3 168 222.3 168.1C222.3 168.3 222.3 168.4 222.3 168.5C222.3 168.7 222.3 168.8 222.3 169C222.2 169.1 222.2 169.2 222.1 169.3C222.1 169.5 222 169.6 221.9 169.7C221.9 169.8 221.8 169.9 221.7 170C221.6 170.1 221.5 170.2 221.4 170.3C221.3 170.4 221.2 170.5 221 170.6C220.9 170.6 220.8 170.7 220.7 170.8C220.5 170.8 220.4 170.9 220.3 170.9C220.1 170.9 220 170.9 219.8 171C219.7 171 219.5 171 219.4 171C219.3 170.9 219.1 170.9 219 170.9C218.8 170.8 218.7 170.8 218.6 170.7C218.4 170.7 218.3 170.6 218.2 170.5C218.1 170.5 217.9 170.4 217.8 170.3C217.7 170.2 217.6 170.1 217.5 170C217.4 169.9 217.3 169.7 217.3 169.6C217.2 169.5 217.1 169.3 217.1 169.2C217 169.1 217 168.9 216.9 168.8C216.9 168.6 216.9 168.5 216.8 168.3C216.8 168.2 216.8 168 216.9 167.9C216.9 167.7 216.9 167.6 216.9 167.4C217 167.3 217 167.1 217.1 167C217.1 166.8 217.2 166.7 217.3 166.6C217.4 166.4 217.5 166.3 217.6 166.2C217.7 166.1 217.8 165.9 217.9 165.9",[],{"type":31,"tagName":191,"properties":1289,"children":1291},{"d":1290,"fill":396,"fill-opacity":407},"M273 130C272.9 130.3 273 131.2 272.7 131.7C272.4 132.2 271.7 133 271.1 133.1C270.4 133.3 269.7 133 269.1 132.8C268.5 132.6 267.7 132.4 267.3 131.9C267 131.5 267 130.6 267 130C266.9 129.4 266.9 128.7 267.2 128.2C267.6 127.7 268.4 127.3 269 127.1C269.6 126.8 270.4 126.7 270.9 126.8C271.5 127 272.1 127.6 272.5 128.1C272.8 128.6 273 129.4 273 130C273 130.6 272.8 131.4 272.7 131.7Z",[],{"type":31,"tagName":191,"properties":1293,"children":1295},{"d":1294,"fill":206,"stroke":194,"stroke-width":1278,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M266.9 167.8C266.9 167.7 266.9 167.5 267 167.3C267.1 167.1 267.1 166.9 267.2 166.8C267.3 166.6 267.4 166.5 267.5 166.3C267.6 166.2 267.7 166.1 267.9 165.9C268 165.8 268.1 165.7 268.3 165.6C268.4 165.5 268.6 165.4 268.7 165.3C268.9 165.2 269.1 165.2 269.2 165.1C269.4 165.1 269.6 165 269.8 165C269.9 165 270.1 165 270.3 165C270.5 165 270.7 165 270.8 165C271 165 271.2 165.1 271.4 165.1C271.5 165.2 271.7 165.3 271.8 165.4C272 165.4 272.1 165.5 272.3 165.6C272.4 165.8 272.6 165.9 272.7 166C272.8 166.1 272.9 166.3 273 166.4C273.1 166.5 273.2 166.7 273.3 166.9C273.4 167 273.4 167.2 273.5 167.3C273.5 167.5 273.6 167.7 273.6 167.9C273.6 168 273.6 168.2 273.6 168.4C273.6 168.5 273.6 168.7 273.6 168.9C273.5 169.1 273.5 169.2 273.4 169.4C273.4 169.6 273.3 169.7 273.2 169.9C273.2 170 273.1 170.2 273 170.3C272.9 170.5 272.7 170.6 272.6 170.7C272.5 170.8 272.4 170.9 272.2 171C272.1 171.1 271.9 171.2 271.8 171.3C271.6 171.4 271.5 171.5 271.3 171.5C271.1 171.6 271 171.6 270.8 171.6C270.6 171.7 270.5 171.7 270.3 171.7C270.1 171.7 269.9 171.7 269.8 171.6C269.6 171.6 269.4 171.6 269.3 171.5C269.1 171.5 268.9 171.4 268.8 171.3C268.6 171.2 268.5 171.1 268.3 171C268.2 170.9 268.1 170.8 267.9 170.7C267.8 170.6 267.7 170.4 267.6 170.3C267.5 170.2 267.4 170 267.3 169.9C267.3 169.7 267.2 169.6 267.1 169.4C267.1 169.2 267 169.1 267 168.9C267 168.7 267 168.5 267 168.4C266.9 168.2 267 168 267 167.8C267 167.7 267 167.5 267.1 167.3C267.2 167.2 267.2 167 267.3 166.8C267.4 166.7 267.5 166.5 267.6 166.4",[],{"type":31,"tagName":191,"properties":1297,"children":1299},{"d":1298,"fill":396,"fill-opacity":407},"M323.2 130C323.1 130.3 323 131.4 322.7 131.9C322.3 132.4 321.7 133 321.1 133.1C320.5 133.3 319.7 133 319.1 132.8C318.5 132.6 318 132.3 317.6 131.8C317.2 131.3 316.9 130.6 316.9 130C316.8 129.4 317 128.6 317.4 128.1C317.7 127.6 318.4 127.2 319 127C319.6 126.8 320.4 126.9 320.9 127.1C321.5 127.3 322 127.7 322.4 128.2C322.8 128.7 323.2 129.4 323.2 130C323.3 130.6 322.7 131.6 322.7 131.9Z",[],{"type":31,"tagName":191,"properties":1301,"children":1303},{"d":1302,"fill":206,"stroke":194,"stroke-width":1278,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M323 169.8C323 169.8 322.9 170 322.8 170.2C322.7 170.3 322.6 170.4 322.5 170.6C322.3 170.7 322.2 170.8 322.1 170.9C322 171 321.8 171.1 321.7 171.1C321.5 171.2 321.4 171.3 321.2 171.3C321 171.4 320.9 171.4 320.7 171.5C320.5 171.5 320.4 171.5 320.2 171.5C320 171.5 319.9 171.5 319.7 171.5C319.5 171.4 319.4 171.4 319.2 171.3C319 171.3 318.9 171.2 318.7 171.1C318.6 171.1 318.4 171 318.3 170.9C318.2 170.8 318 170.7 317.9 170.6C317.8 170.4 317.7 170.3 317.6 170.2C317.5 170 317.4 169.9 317.3 169.7C317.2 169.6 317.2 169.4 317.1 169.3C317.1 169.1 317 168.9 317 168.8C317 168.6 316.9 168.4 316.9 168.3C316.9 168.1 317 167.9 317 167.7C317 167.6 317 167.4 317.1 167.2C317.1 167.1 317.2 166.9 317.3 166.7C317.4 166.6 317.5 166.4 317.6 166.3C317.7 166.2 317.8 166 317.9 165.9C318 165.8 318.1 165.7 318.3 165.6C318.4 165.4 318.6 165.4 318.7 165.3C318.9 165.2 319.1 165.1 319.2 165.1C319.4 165 319.6 165 319.7 164.9C319.9 164.9 320.1 164.9 320.3 164.9C320.4 164.9 320.6 164.9 320.8 164.9C321 164.9 321.1 165 321.3 165C321.5 165.1 321.7 165.2 321.8 165.2C322 165.3 322.1 165.4 322.3 165.5C322.4 165.6 322.6 165.7 322.7 165.9C322.8 166 322.9 166.1 323.1 166.3C323.2 166.4 323.3 166.6 323.3 166.7C323.4 166.9 323.5 167.1 323.6 167.2C323.6 167.4 323.7 167.6 323.7 167.8C323.7 167.9 323.7 168.1 323.7 168.3C323.7 168.5 323.7 168.7 323.7 168.9C323.7 169 323.6 169.2 323.6 169.4C323.5 169.6 323.5 169.8 323.4 169.9C323.3 170.1 323.2 170.2 323.1 170.4C323 170.6 322.9 170.7 322.7 170.8C322.6 171 322.4 171.1 322.3 171.2",[],{"type":31,"tagName":191,"properties":1305,"children":1307},{"d":1306,"fill":396,"fill-opacity":407},"M403 130C403 130.3 402.9 131.5 402.6 132C402.3 132.5 401.7 132.8 401.1 132.9C400.5 133.1 399.7 133.1 399 132.9C398.4 132.7 397.6 132.4 397.2 131.9C396.9 131.4 396.9 130.6 397 130C397.1 129.4 397.3 128.7 397.6 128.2C397.9 127.6 398.4 126.9 398.9 126.7C399.5 126.5 400.4 126.8 401 127.1C401.6 127.3 402.3 127.6 402.6 128.1C403 128.6 403 129.4 403 130C403 130.6 402.7 131.6 402.6 132Z",[],{"type":31,"tagName":191,"properties":1309,"children":1311},{"d":1310,"fill":396,"fill-opacity":407},"M403 168C402.9 168.3 402.8 169.3 402.5 169.8C402.2 170.3 401.6 171 401 171.2C400.4 171.4 399.6 171.1 399 170.9C398.4 170.7 397.8 170.5 397.4 170C397 169.5 396.7 168.6 396.7 168C396.7 167.4 397.2 166.7 397.6 166.2C398 165.7 398.5 165.2 399.1 165C399.7 164.8 400.4 164.7 401 164.9C401.6 165.1 402.3 165.5 402.6 166C402.9 166.6 403 167.4 403 168C403 168.6 402.6 169.5 402.5 169.8Z",[],{"type":31,"tagName":191,"properties":1313,"children":1315},{"d":1314,"fill":396,"fill-opacity":407},"M453.5 130C453.4 130.3 453.2 131.4 452.8 131.9C452.4 132.4 451.7 132.8 451 133C450.4 133.2 449.7 133.3 449.1 133.1C448.4 132.9 447.5 132.3 447.2 131.7C446.9 131.2 447 130.6 447.1 130C447.1 129.4 447.1 128.8 447.4 128.3C447.8 127.7 448.4 126.9 449 126.7C449.6 126.5 450.4 126.7 451 126.9C451.6 127.1 452 127.5 452.4 128.1C452.8 128.6 453.4 129.4 453.5 130C453.5 130.6 452.9 131.6 452.8 131.9Z",[],{"type":31,"tagName":191,"properties":1317,"children":1319},{"d":1318,"fill":396,"fill-opacity":407},"M453.2 168C453.1 168.3 452.7 169.2 452.4 169.8C452 170.3 451.6 170.9 451 171.1C450.4 171.2 449.6 171 449 170.9C448.4 170.7 447.9 170.5 447.5 170C447.1 169.6 446.6 168.6 446.6 168C446.6 167.4 447 166.8 447.4 166.3C447.8 165.7 448.4 165.1 449 164.9C449.6 164.6 450.5 164.7 451.1 164.9C451.6 165.1 452.1 165.5 452.5 166C452.8 166.5 453.2 167.4 453.2 168C453.2 168.6 452.5 169.5 452.4 169.8Z",[],{"type":31,"tagName":191,"properties":1321,"children":1323},{"d":1322,"fill":206,"stroke":396,"stroke-width":1278,"stroke-opacity":262,"stroke-linecap":209,"stroke-linejoin":209},"M182.6 133C182.4 133.3 182.1 134 181.7 134.5C181.4 135 181.1 135.4 180.6 135.8C180.2 136.2 179.8 136.6 179.3 137C178.8 137.4 178.3 137.7 177.7 138C177.2 138.3 176.6 138.6 175.9 138.9C175.3 139.1 174.7 139.3 174 139.5C173.4 139.6 172.7 139.8 172 139.8C171.3 139.9 170.6 140 170 140C169.3 140 168.6 139.9 167.9 139.8C167.2 139.8 166.5 139.6 165.9 139.5C165.2 139.3 164.5 139.1 163.9 138.9C163.3 138.6 162.7 138.3 162.1 138C161.6 137.7 161 137.4 160.5 137C160 136.6 159.6 136.2 159.2 135.7C158.7 135.3 158.4 134.8 158.1 134.3C157.7 133.9 157.5 133.3 157.2 132.8C157 132.3 156.9 131.8 156.8 131.2C156.7 130.7 156.6 130.1 156.6 129.6C156.6 129 156.7 128.5 156.8 127.9C156.9 127.4 157.1 126.8 157.3 126.3C157.6 125.8 157.8 125.3 158.2 124.8C158.5 124.3 158.9 123.8 159.3 123.4C159.7 123 160.2 122.6 160.7 122.2C161.2 121.8 161.8 121.5 162.4 121.2C163 120.8 163.6 120.6 164.2 120.3C164.9 120.1 165.5 119.9 166.2 119.8C166.9 119.6 167.6 119.5 168.3 119.4C169 119.4 169.7 119.4 170.4 119.4C171.1 119.4 171.8 119.5 172.5 119.6C173.2 119.7 173.9 119.8 174.6 120C175.2 120.2 175.9 120.4 176.5 120.7C177.1 121 177.7 121.3 178.2 121.6C178.8 121.9 179.3 122.3 179.8 122.7C180.3 123.1 180.7 123.5 181.1 124C181.5 124.4 181.8 124.9 182.1 125.3C182.4 125.8 182.7 126.3 182.9 126.8C183.1 127.3 183.2 127.8 183.3 128.4C183.4 128.9 183.4 129.4 183.4 129.9C183.4 130.4 183.4 131 183.2 131.5C183.1 132 183 132.5 182.7 133C182.5 133.5 182.3 134 181.9 134.4C181.6 134.9 181.3 135.3 180.8 135.8C180.4 136.2 179.7 136.8 179.5 137",[],{"type":31,"tagName":191,"properties":1325,"children":1327},{"d":1326,"fill":206,"stroke":396,"stroke-width":1278,"stroke-opacity":262,"stroke-linecap":209,"stroke-linejoin":209},"M412.7 163.7C412.8 164 413.2 164.7 413.4 165.2C413.6 165.8 413.7 166.3 413.8 166.9C413.8 167.5 413.8 168 413.8 168.6C413.7 169.2 413.6 169.7 413.5 170.3C413.3 170.8 413.1 171.3 412.8 171.8C412.5 172.4 412.2 172.8 411.8 173.3C411.4 173.8 411 174.2 410.5 174.6C410 175 409.5 175.4 409 175.7C408.5 176.1 407.9 176.4 407.3 176.6C406.7 176.9 406 177.1 405.4 177.3C404.7 177.5 404.1 177.7 403.4 177.8C402.7 177.9 402 177.9 401.3 178C400.6 178 399.9 178 399.2 177.9C398.6 177.9 397.9 177.8 397.2 177.7C396.5 177.5 395.9 177.4 395.2 177.1C394.6 176.9 394 176.7 393.4 176.4C392.8 176.2 392.2 175.8 391.7 175.5C391.2 175.2 390.7 174.8 390.2 174.4C389.8 174 389.3 173.6 389 173.1C388.6 172.7 388.3 172.2 388 171.7C387.7 171.2 387.5 170.7 387.3 170.2C387.1 169.7 387 169.2 386.9 168.6C386.8 168.1 386.8 167.6 386.9 167C386.9 166.5 387 166 387.1 165.4C387.3 164.9 387.5 164.4 387.8 163.9C388 163.4 388.3 162.9 388.7 162.4C389 162 389.5 161.5 389.9 161.1C390.4 160.7 390.9 160.3 391.4 159.9C391.9 159.6 392.5 159.3 393.1 159C393.7 158.7 394.3 158.5 395 158.3C395.7 158.1 396.3 157.9 397 157.8C397.7 157.7 398.4 157.6 399.1 157.6C399.8 157.5 400.5 157.6 401.2 157.6C401.9 157.7 402.6 157.8 403.3 157.9C404 158.1 404.6 158.2 405.3 158.5C405.9 158.7 406.5 158.9 407.1 159.2C407.7 159.5 408.3 159.8 408.8 160.2C409.3 160.5 409.8 160.9 410.3 161.3C410.7 161.7 411.1 162.2 411.5 162.6C411.8 163.1 412.1 163.5 412.4 164C412.7 164.5 412.9 165 413.1 165.5C413.2 166 413.4 166.5 413.4 167C413.5 167.5 413.5 168.3 413.5 168.6",[],{"type":31,"tagName":191,"properties":1329,"children":1331},{"d":1330,"fill":396,"fill-opacity":407},"M153.3 199C153.1 199.3 153 200.2 152.6 200.6C152.2 201.1 151.5 201.6 150.9 201.8C150.3 202 149.6 202.2 149 202.1C148.5 201.9 147.8 201.1 147.4 200.6C147.1 200.1 147.2 199.6 147.2 199C147.2 198.4 147.1 197.6 147.4 197.1C147.7 196.7 148.4 196.4 149 196.3C149.6 196.1 150.3 196.2 150.9 196.4C151.4 196.5 152 196.8 152.4 197.2C152.8 197.7 153.2 198.4 153.3 199C153.3 199.6 152.7 200.4 152.6 200.6Z",[],{"type":31,"tagName":191,"properties":1333,"children":1335},{"d":1334,"fill":206,"stroke":194,"stroke-width":461,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M267.9 198C268 198 268.1 197.8 268.2 197.7C268.3 197.6 268.4 197.5 268.5 197.4C268.6 197.4 268.7 197.3 268.8 197.2C268.9 197.2 269 197.1 269.2 197.1C269.3 197 269.4 197 269.5 197C269.7 196.9 269.8 196.9 269.9 196.9C270.1 196.9 270.2 196.9 270.3 196.9C270.5 197 270.6 197 270.7 197C270.8 197.1 271 197.1 271.1 197.2C271.2 197.2 271.3 197.3 271.4 197.4C271.5 197.4 271.6 197.5 271.7 197.6C271.8 197.7 271.9 197.8 272 197.9C272.1 198 272.2 198.1 272.2 198.2C272.3 198.4 272.3 198.5 272.4 198.6C272.4 198.7 272.5 198.9 272.5 199C272.5 199.1 272.5 199.3 272.5 199.4C272.5 199.5 272.5 199.7 272.5 199.8C272.5 200 272.5 200.1 272.4 200.2C272.4 200.3 272.4 200.5 272.3 200.6C272.2 200.7 272.2 200.8 272.1 201C272 201.1 271.9 201.2 271.8 201.3C271.7 201.4 271.6 201.5 271.5 201.6C271.4 201.6 271.3 201.7 271.2 201.8C271.1 201.9 270.9 201.9 270.8 202C270.7 202 270.5 202 270.4 202.1C270.3 202.1 270.1 202.1 270 202.1C269.8 202.1 269.7 202.1 269.6 202.1C269.4 202.1 269.3 202 269.2 202C269 202 268.9 201.9 268.8 201.9C268.6 201.8 268.5 201.7 268.4 201.6C268.3 201.6 268.2 201.5 268.1 201.4C267.9 201.3 267.9 201.2 267.8 201.1C267.7 201 267.6 200.8 267.5 200.7C267.5 200.6 267.4 200.5 267.4 200.3C267.3 200.2 267.3 200 267.2 199.9C267.2 199.8 267.2 199.6 267.2 199.5C267.2 199.3 267.2 199.2 267.2 199C267.2 198.9 267.3 198.7 267.3 198.6C267.3 198.5 267.4 198.3 267.5 198.2C267.5 198.1 267.6 197.9 267.7 197.8C267.8 197.7 267.8 197.6 267.9 197.5C268 197.4 268.2 197.3 268.3 197.2C268.4 197.1 268.6 197 268.7 196.9",[],{"type":31,"tagName":199,"properties":1337,"children":1338},{"fill-opacity":519},[1339,1347,1354,1361,1368,1376,1384,1391],{"type":31,"tagName":27,"properties":1340,"children":1344},{"x":1341,"y":1342,"font-family":525,"font-size":534,"fill":194,"text-anchor":536,"transform":1343},"245","17","rotate(0.21 245 17)",[1345],{"type":27,"value":1346},"one 4h candle",{"type":31,"tagName":27,"properties":1348,"children":1351},{"x":1349,"y":1342,"font-family":525,"font-size":534,"fill":396,"text-anchor":536,"transform":1350},"360","rotate(0.24 360 17)",[1352],{"type":27,"value":1353},"4h close",{"type":31,"tagName":27,"properties":1355,"children":1358},{"x":124,"y":1356,"font-family":525,"font-size":534,"fill":194,"transform":1357},"134","rotate(0.28 0 134)",[1359],{"type":27,"value":1360},"Pine, lookahead on",{"type":31,"tagName":27,"properties":1362,"children":1365},{"x":124,"y":1363,"font-family":525,"font-size":534,"fill":396,"transform":1364},"172","rotate(-0.19 0 172)",[1366],{"type":27,"value":1367},"wrun",{"type":31,"tagName":27,"properties":1369,"children":1373},{"x":1370,"y":1371,"font-family":525,"font-size":178,"fill":535,"transform":1372},"188","152","rotate(-0.21 188 152)",[1374],{"type":27,"value":1375},"sees it four bars early",{"type":31,"tagName":27,"properties":1377,"children":1381},{"x":1378,"y":1379,"font-family":525,"font-size":178,"fill":535,"transform":1380},"418","190","rotate(-0.09 418 190)",[1382],{"type":27,"value":1383},"arrives after the close",{"type":31,"tagName":27,"properties":1385,"children":1388},{"x":1386,"y":1387,"font-family":525,"font-size":550,"fill":535},"158","202",[1389],{"type":27,"value":1390},"the new 4h close",{"type":31,"tagName":27,"properties":1392,"children":1394},{"x":1393,"y":1387,"font-family":525,"font-size":550,"fill":535},"278",[1395],{"type":27,"value":1396},"the previous one",{"start":1398,"end":1401},{"line":1399,"column":21,"offset":1400},73,3640,{"line":1399,"column":1402,"offset":1403},313,3952,{"type":27,"value":28},{"type":31,"tagName":32,"properties":1406,"children":1407,"position":1458},{},[1408,1417,1429,1437,1451],{"type":27,"value":1409,"position":1410},"Built inside the module, a higher timeframe comes from the chart's own\nbars: bucket bars by ",{"start":1411,"end":1414},{"line":1412,"column":21,"offset":1413},75,3954,{"line":1415,"column":104,"offset":1416},76,4046,{"type":31,"tagName":46,"properties":1418,"children":1419,"position":1426},{},[1420],{"type":27,"value":1421,"position":1422},"time.bar_open_sec",{"start":1423,"end":1424},{"line":1415,"column":104,"offset":1416},{"line":1415,"column":647,"offset":1425},4065,{"start":1427,"end":1428},{"line":1415,"column":104,"offset":1416},{"line":1415,"column":647,"offset":1425},{"type":27,"value":1430,"position":1431},", remember the running bucket's\nclose, and fold it into the 4h statistic only when a bar from the ",{"start":1432,"end":1433},{"line":1415,"column":647,"offset":1425},{"line":1434,"column":1435,"offset":1436},77,67,4163,{"type":31,"tagName":638,"properties":1438,"children":1439,"position":1447},{},[1440],{"type":27,"value":1441,"position":1442},"next",{"start":1443,"end":1445},{"line":1434,"column":918,"offset":1444},4165,{"line":1434,"column":1399,"offset":1446},4169,{"start":1448,"end":1449},{"line":1434,"column":1435,"offset":1436},{"line":1434,"column":1412,"offset":1450},4171,{"type":27,"value":1452,"position":1453},"\nbucket arrives. A 4h candle contributes exactly once, after it closed.\nRerun over history and it matches what it showed live, bar for bar. No\nlook-ahead, no flag to remember.",{"start":1454,"end":1455},{"line":1434,"column":1412,"offset":1450},{"line":1456,"column":619,"offset":1457},80,4346,{"start":1459,"end":1460},{"line":1412,"column":21,"offset":1413},{"line":1456,"column":619,"offset":1457},{"type":27,"value":28},{"type":14,"children":1463},[1464],{"type":31,"tagName":1465,"properties":1466,"children":1470,"data":-1},"pre",{"class":1467,"style":1468,"tabindex":124,"data-sample":1469},"shiki shiki-themes github-dark github-light","--shiki-dark:#e1e4e8;--shiki-light:#24292e;--shiki-dark-bg:#24292e;--shiki-light-bg:#fff","cc-repaint-htf",[1471],{"type":31,"tagName":46,"properties":1472,"children":1475},{"class":1473},[1474],"language-typescript",[1476,1545,1546,1555,1556,1605,1606,1614,1615,1661,1662,1708,1709,1712,1713,1752,1753,1792,1793,1830,1831,1868,1869,1872,1873,1905,1906,1943,1944,1952,1953,1956,1957,1985,1986,2018,2019,2069,2070,2093,2094,2102,2103,2140,2141,2158,2159,2167,2168,2185,2186,2215,2216,2229,2230,2243,2244,2257,2258],{"type":31,"tagName":1477,"properties":1478,"children":1480},"span",{"class":1479},"line",[1481,1487,1493,1499,1504,1510,1515,1520,1525,1530,1535,1540],{"type":31,"tagName":1477,"properties":1482,"children":1484},{"style":1483},"--shiki-dark:#B392F0;--shiki-light:#6F42C1",[1485],{"type":27,"value":1486},"param",{"type":31,"tagName":1477,"properties":1488,"children":1490},{"style":1489},"--shiki-dark:#E1E4E8;--shiki-light:#24292E",[1491],{"type":27,"value":1492},"(",{"type":31,"tagName":1477,"properties":1494,"children":1496},{"style":1495},"--shiki-dark:#9ECBFF;--shiki-light:#032F62",[1497],{"type":27,"value":1498},"\"bucket_hours\"",{"type":31,"tagName":1477,"properties":1500,"children":1501},{"style":1489},[1502],{"type":27,"value":1503},", ",{"type":31,"tagName":1477,"properties":1505,"children":1507},{"style":1506},"--shiki-dark:#79B8FF;--shiki-light:#005CC5",[1508],{"type":27,"value":1509},"4",{"type":31,"tagName":1477,"properties":1511,"children":1512},{"style":1489},[1513],{"type":27,"value":1514},", { min: ",{"type":31,"tagName":1477,"properties":1516,"children":1517},{"style":1506},[1518],{"type":27,"value":1519},"1",{"type":31,"tagName":1477,"properties":1521,"children":1522},{"style":1489},[1523],{"type":27,"value":1524},", max: ",{"type":31,"tagName":1477,"properties":1526,"children":1527},{"style":1506},[1528],{"type":27,"value":1529},"168",{"type":31,"tagName":1477,"properties":1531,"children":1532},{"style":1489},[1533],{"type":27,"value":1534},", description: ",{"type":31,"tagName":1477,"properties":1536,"children":1537},{"style":1495},[1538],{"type":27,"value":1539},"\"Higher-timeframe bucket, in hours\"",{"type":31,"tagName":1477,"properties":1541,"children":1542},{"style":1489},[1543],{"type":27,"value":1544}," });",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1547,"children":1548},{"class":1479},[1549],{"type":31,"tagName":1477,"properties":1550,"children":1552},{"style":1551},"--shiki-dark:#6A737D;--shiki-light:#6A737D",[1553],{"type":27,"value":1554},"// The confirmed higher-timeframe close: flat across the bucket, stepping only when a candle closes.",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1557,"children":1558},{"class":1479},[1559,1564,1568,1573,1578,1583,1588,1592,1596,1601],{"type":31,"tagName":1477,"properties":1560,"children":1561},{"style":1483},[1562],{"type":27,"value":1563},"output",{"type":31,"tagName":1477,"properties":1565,"children":1566},{"style":1489},[1567],{"type":27,"value":1492},{"type":31,"tagName":1477,"properties":1569,"children":1570},{"style":1495},[1571],{"type":27,"value":1572},"\"h4_close\"",{"type":31,"tagName":1477,"properties":1574,"children":1575},{"style":1489},[1576],{"type":27,"value":1577},", line, overlay, { color: ",{"type":31,"tagName":1477,"properties":1579,"children":1580},{"style":1495},[1581],{"type":27,"value":1582},"\"#7c3aed\"",{"type":31,"tagName":1477,"properties":1584,"children":1585},{"style":1489},[1586],{"type":27,"value":1587},", width: ",{"type":31,"tagName":1477,"properties":1589,"children":1590},{"style":1506},[1591],{"type":27,"value":151},{"type":31,"tagName":1477,"properties":1593,"children":1594},{"style":1489},[1595],{"type":27,"value":1534},{"type":31,"tagName":1477,"properties":1597,"children":1598},{"style":1495},[1599],{"type":27,"value":1600},"\"The most recent fully closed 4h candle, no look-ahead\"",{"type":31,"tagName":1477,"properties":1602,"children":1603},{"style":1489},[1604],{"type":27,"value":1544},{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1607,"children":1608},{"class":1479},[1609],{"type":31,"tagName":1477,"properties":1610,"children":1611},{"style":1551},[1612],{"type":27,"value":1613},"// The developing value, opt-in and clearly labeled: it moves with every bar inside the bucket.",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1616,"children":1617},{"class":1479},[1618,1622,1626,1631,1635,1640,1644,1648,1652,1657],{"type":31,"tagName":1477,"properties":1619,"children":1620},{"style":1483},[1621],{"type":27,"value":1563},{"type":31,"tagName":1477,"properties":1623,"children":1624},{"style":1489},[1625],{"type":27,"value":1492},{"type":31,"tagName":1477,"properties":1627,"children":1628},{"style":1495},[1629],{"type":27,"value":1630},"\"h4_developing\"",{"type":31,"tagName":1477,"properties":1632,"children":1633},{"style":1489},[1634],{"type":27,"value":1577},{"type":31,"tagName":1477,"properties":1636,"children":1637},{"style":1495},[1638],{"type":27,"value":1639},"\"#16a34a\"",{"type":31,"tagName":1477,"properties":1641,"children":1642},{"style":1489},[1643],{"type":27,"value":1587},{"type":31,"tagName":1477,"properties":1645,"children":1646},{"style":1506},[1647],{"type":27,"value":1519},{"type":31,"tagName":1477,"properties":1649,"children":1650},{"style":1489},[1651],{"type":27,"value":1534},{"type":31,"tagName":1477,"properties":1653,"children":1654},{"style":1495},[1655],{"type":27,"value":1656},"\"The forming 4h candle's running close (repaints by design)\"",{"type":31,"tagName":1477,"properties":1658,"children":1659},{"style":1489},[1660],{"type":27,"value":1544},{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1663,"children":1664},{"class":1479},[1665,1669,1673,1678,1682,1687,1691,1695,1699,1704],{"type":31,"tagName":1477,"properties":1666,"children":1667},{"style":1483},[1668],{"type":27,"value":1563},{"type":31,"tagName":1477,"properties":1670,"children":1671},{"style":1489},[1672],{"type":27,"value":1492},{"type":31,"tagName":1477,"properties":1674,"children":1675},{"style":1495},[1676],{"type":27,"value":1677},"\"close\"",{"type":31,"tagName":1477,"properties":1679,"children":1680},{"style":1489},[1681],{"type":27,"value":1577},{"type":31,"tagName":1477,"properties":1683,"children":1684},{"style":1495},[1685],{"type":27,"value":1686},"\"#94a3b8\"",{"type":31,"tagName":1477,"properties":1688,"children":1689},{"style":1489},[1690],{"type":27,"value":1587},{"type":31,"tagName":1477,"properties":1692,"children":1693},{"style":1506},[1694],{"type":27,"value":1519},{"type":31,"tagName":1477,"properties":1696,"children":1697},{"style":1489},[1698],{"type":27,"value":1534},{"type":31,"tagName":1477,"properties":1700,"children":1701},{"style":1495},[1702],{"type":27,"value":1703},"\"The chart-timeframe close for comparison\"",{"type":31,"tagName":1477,"properties":1705,"children":1706},{"style":1489},[1707],{"type":27,"value":1544},{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1710,"children":1711},{"class":1479},[],{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1714,"children":1715},{"class":1479},[1716,1722,1727,1732,1737,1742,1747],{"type":31,"tagName":1477,"properties":1717,"children":1719},{"style":1718},"--shiki-dark:#F97583;--shiki-light:#D73A49",[1720],{"type":27,"value":1721},"let",{"type":31,"tagName":1477,"properties":1723,"children":1724},{"style":1489},[1725],{"type":27,"value":1726}," bucketSec",{"type":31,"tagName":1477,"properties":1728,"children":1729},{"style":1718},[1730],{"type":27,"value":1731},":",{"type":31,"tagName":1477,"properties":1733,"children":1734},{"style":1483},[1735],{"type":27,"value":1736}," f64",{"type":31,"tagName":1477,"properties":1738,"children":1739},{"style":1718},[1740],{"type":27,"value":1741}," =",{"type":31,"tagName":1477,"properties":1743,"children":1744},{"style":1506},[1745],{"type":27,"value":1746}," 14400.0",{"type":31,"tagName":1477,"properties":1748,"children":1749},{"style":1489},[1750],{"type":27,"value":1751},";",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1754,"children":1755},{"class":1479},[1756,1760,1765,1769,1773,1777,1782,1787],{"type":31,"tagName":1477,"properties":1757,"children":1758},{"style":1718},[1759],{"type":27,"value":1721},{"type":31,"tagName":1477,"properties":1761,"children":1762},{"style":1489},[1763],{"type":27,"value":1764}," bucket",{"type":31,"tagName":1477,"properties":1766,"children":1767},{"style":1718},[1768],{"type":27,"value":1731},{"type":31,"tagName":1477,"properties":1770,"children":1771},{"style":1483},[1772],{"type":27,"value":1736},{"type":31,"tagName":1477,"properties":1774,"children":1775},{"style":1718},[1776],{"type":27,"value":1741},{"type":31,"tagName":1477,"properties":1778,"children":1779},{"style":1506},[1780],{"type":27,"value":1781}," NaN",{"type":31,"tagName":1477,"properties":1783,"children":1784},{"style":1489},[1785],{"type":27,"value":1786},"; ",{"type":31,"tagName":1477,"properties":1788,"children":1789},{"style":1551},[1790],{"type":27,"value":1791},"// the bucket the running candle belongs to",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1794,"children":1795},{"class":1479},[1796,1800,1805,1809,1813,1817,1821,1825],{"type":31,"tagName":1477,"properties":1797,"children":1798},{"style":1718},[1799],{"type":27,"value":1721},{"type":31,"tagName":1477,"properties":1801,"children":1802},{"style":1489},[1803],{"type":27,"value":1804}," running",{"type":31,"tagName":1477,"properties":1806,"children":1807},{"style":1718},[1808],{"type":27,"value":1731},{"type":31,"tagName":1477,"properties":1810,"children":1811},{"style":1483},[1812],{"type":27,"value":1736},{"type":31,"tagName":1477,"properties":1814,"children":1815},{"style":1718},[1816],{"type":27,"value":1741},{"type":31,"tagName":1477,"properties":1818,"children":1819},{"style":1506},[1820],{"type":27,"value":1781},{"type":31,"tagName":1477,"properties":1822,"children":1823},{"style":1489},[1824],{"type":27,"value":1786},{"type":31,"tagName":1477,"properties":1826,"children":1827},{"style":1551},[1828],{"type":27,"value":1829},"// the running candle's latest close (developing)",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1832,"children":1833},{"class":1479},[1834,1838,1843,1847,1851,1855,1859,1863],{"type":31,"tagName":1477,"properties":1835,"children":1836},{"style":1718},[1837],{"type":27,"value":1721},{"type":31,"tagName":1477,"properties":1839,"children":1840},{"style":1489},[1841],{"type":27,"value":1842}," confirmed",{"type":31,"tagName":1477,"properties":1844,"children":1845},{"style":1718},[1846],{"type":27,"value":1731},{"type":31,"tagName":1477,"properties":1848,"children":1849},{"style":1483},[1850],{"type":27,"value":1736},{"type":31,"tagName":1477,"properties":1852,"children":1853},{"style":1718},[1854],{"type":27,"value":1741},{"type":31,"tagName":1477,"properties":1856,"children":1857},{"style":1506},[1858],{"type":27,"value":1781},{"type":31,"tagName":1477,"properties":1860,"children":1861},{"style":1489},[1862],{"type":27,"value":1786},{"type":31,"tagName":1477,"properties":1864,"children":1865},{"style":1551},[1866],{"type":27,"value":1867},"// the last CLOSED candle's close",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1870,"children":1871},{"class":1479},[],{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1874,"children":1875},{"class":1479},[1876,1881,1886,1891,1895,1900],{"type":31,"tagName":1477,"properties":1877,"children":1878},{"style":1718},[1879],{"type":27,"value":1880},"function",{"type":31,"tagName":1477,"properties":1882,"children":1883},{"style":1483},[1884],{"type":27,"value":1885}," onStart",{"type":31,"tagName":1477,"properties":1887,"children":1888},{"style":1489},[1889],{"type":27,"value":1890},"()",{"type":31,"tagName":1477,"properties":1892,"children":1893},{"style":1718},[1894],{"type":27,"value":1731},{"type":31,"tagName":1477,"properties":1896,"children":1897},{"style":1506},[1898],{"type":27,"value":1899}," void",{"type":31,"tagName":1477,"properties":1901,"children":1902},{"style":1489},[1903],{"type":27,"value":1904}," {",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1907,"children":1908},{"class":1479},[1909,1914,1919,1924,1929,1934,1939],{"type":31,"tagName":1477,"properties":1910,"children":1911},{"style":1489},[1912],{"type":27,"value":1913},"  bucketSec ",{"type":31,"tagName":1477,"properties":1915,"children":1916},{"style":1718},[1917],{"type":27,"value":1918},"=",{"type":31,"tagName":1477,"properties":1920,"children":1921},{"style":1483},[1922],{"type":27,"value":1923}," p_bucket_hours",{"type":31,"tagName":1477,"properties":1925,"children":1926},{"style":1489},[1927],{"type":27,"value":1928},"() ",{"type":31,"tagName":1477,"properties":1930,"children":1931},{"style":1718},[1932],{"type":27,"value":1933},"*",{"type":31,"tagName":1477,"properties":1935,"children":1936},{"style":1506},[1937],{"type":27,"value":1938}," 3600.0",{"type":31,"tagName":1477,"properties":1940,"children":1941},{"style":1489},[1942],{"type":27,"value":1751},{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1945,"children":1946},{"class":1479},[1947],{"type":31,"tagName":1477,"properties":1948,"children":1949},{"style":1489},[1950],{"type":27,"value":1951},"}",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1954,"children":1955},{"class":1479},[],{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1958,"children":1959},{"class":1479},[1960,1964,1969,1973,1977,1981],{"type":31,"tagName":1477,"properties":1961,"children":1962},{"style":1718},[1963],{"type":27,"value":1880},{"type":31,"tagName":1477,"properties":1965,"children":1966},{"style":1483},[1967],{"type":27,"value":1968}," onBar",{"type":31,"tagName":1477,"properties":1970,"children":1971},{"style":1489},[1972],{"type":27,"value":1890},{"type":31,"tagName":1477,"properties":1974,"children":1975},{"style":1718},[1976],{"type":27,"value":1731},{"type":31,"tagName":1477,"properties":1978,"children":1979},{"style":1506},[1980],{"type":27,"value":1899},{"type":31,"tagName":1477,"properties":1982,"children":1983},{"style":1489},[1984],{"type":27,"value":1904},{"type":27,"value":28},{"type":31,"tagName":1477,"properties":1987,"children":1988},{"class":1479},[1989,1994,1999,2003,2008,2013],{"type":31,"tagName":1477,"properties":1990,"children":1991},{"style":1718},[1992],{"type":27,"value":1993},"  const",{"type":31,"tagName":1477,"properties":1995,"children":1996},{"style":1506},[1997],{"type":27,"value":1998}," close",{"type":31,"tagName":1477,"properties":2000,"children":2001},{"style":1718},[2002],{"type":27,"value":1741},{"type":31,"tagName":1477,"properties":2004,"children":2005},{"style":1489},[2006],{"type":27,"value":2007}," bar.",{"type":31,"tagName":1477,"properties":2009,"children":2010},{"style":1483},[2011],{"type":27,"value":2012},"close",{"type":31,"tagName":1477,"properties":2014,"children":2015},{"style":1489},[2016],{"type":27,"value":2017},"();",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2020,"children":2021},{"class":1479},[2022,2026,2031,2035,2040,2045,2050,2055,2059,2064],{"type":31,"tagName":1477,"properties":2023,"children":2024},{"style":1718},[2025],{"type":27,"value":1993},{"type":31,"tagName":1477,"properties":2027,"children":2028},{"style":1506},[2029],{"type":27,"value":2030}," b",{"type":31,"tagName":1477,"properties":2032,"children":2033},{"style":1718},[2034],{"type":27,"value":1741},{"type":31,"tagName":1477,"properties":2036,"children":2037},{"style":1489},[2038],{"type":27,"value":2039}," Math.",{"type":31,"tagName":1477,"properties":2041,"children":2042},{"style":1483},[2043],{"type":27,"value":2044},"floor",{"type":31,"tagName":1477,"properties":2046,"children":2047},{"style":1489},[2048],{"type":27,"value":2049},"(bar.",{"type":31,"tagName":1477,"properties":2051,"children":2052},{"style":1483},[2053],{"type":27,"value":2054},"time",{"type":31,"tagName":1477,"properties":2056,"children":2057},{"style":1489},[2058],{"type":27,"value":1928},{"type":31,"tagName":1477,"properties":2060,"children":2061},{"style":1718},[2062],{"type":27,"value":2063},"/",{"type":31,"tagName":1477,"properties":2065,"children":2066},{"style":1489},[2067],{"type":27,"value":2068}," bucketSec);",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2071,"children":2072},{"class":1479},[2073,2078,2083,2088],{"type":31,"tagName":1477,"properties":2074,"children":2075},{"style":1718},[2076],{"type":27,"value":2077},"  if",{"type":31,"tagName":1477,"properties":2079,"children":2080},{"style":1489},[2081],{"type":27,"value":2082}," (b ",{"type":31,"tagName":1477,"properties":2084,"children":2085},{"style":1718},[2086],{"type":27,"value":2087},"!=",{"type":31,"tagName":1477,"properties":2089,"children":2090},{"style":1489},[2091],{"type":27,"value":2092}," bucket) {",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2095,"children":2096},{"class":1479},[2097],{"type":31,"tagName":1477,"properties":2098,"children":2099},{"style":1551},[2100],{"type":27,"value":2101},"    // A bar from the next bucket has arrived: the running candle is now closed, and only now is it confirmed.",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2104,"children":2105},{"class":1479},[2106,2111,2116,2121,2126,2131,2135],{"type":31,"tagName":1477,"properties":2107,"children":2108},{"style":1718},[2109],{"type":27,"value":2110},"    if",{"type":31,"tagName":1477,"properties":2112,"children":2113},{"style":1489},[2114],{"type":27,"value":2115}," (",{"type":31,"tagName":1477,"properties":2117,"children":2118},{"style":1718},[2119],{"type":27,"value":2120},"!",{"type":31,"tagName":1477,"properties":2122,"children":2123},{"style":1483},[2124],{"type":27,"value":2125},"isNaN",{"type":31,"tagName":1477,"properties":2127,"children":2128},{"style":1489},[2129],{"type":27,"value":2130},"(bucket)) confirmed ",{"type":31,"tagName":1477,"properties":2132,"children":2133},{"style":1718},[2134],{"type":27,"value":1918},{"type":31,"tagName":1477,"properties":2136,"children":2137},{"style":1489},[2138],{"type":27,"value":2139}," running;",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2142,"children":2143},{"class":1479},[2144,2149,2153],{"type":31,"tagName":1477,"properties":2145,"children":2146},{"style":1489},[2147],{"type":27,"value":2148},"    bucket ",{"type":31,"tagName":1477,"properties":2150,"children":2151},{"style":1718},[2152],{"type":27,"value":1918},{"type":31,"tagName":1477,"properties":2154,"children":2155},{"style":1489},[2156],{"type":27,"value":2157}," b;",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2160,"children":2161},{"class":1479},[2162],{"type":31,"tagName":1477,"properties":2163,"children":2164},{"style":1489},[2165],{"type":27,"value":2166},"  }",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2169,"children":2170},{"class":1479},[2171,2176,2180],{"type":31,"tagName":1477,"properties":2172,"children":2173},{"style":1489},[2174],{"type":27,"value":2175},"  running ",{"type":31,"tagName":1477,"properties":2177,"children":2178},{"style":1718},[2179],{"type":27,"value":1918},{"type":31,"tagName":1477,"properties":2181,"children":2182},{"style":1489},[2183],{"type":27,"value":2184}," close;",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2187,"children":2188},{"class":1479},[2189,2193,2197,2201,2206,2211],{"type":31,"tagName":1477,"properties":2190,"children":2191},{"style":1718},[2192],{"type":27,"value":2077},{"type":31,"tagName":1477,"properties":2194,"children":2195},{"style":1489},[2196],{"type":27,"value":2115},{"type":31,"tagName":1477,"properties":2198,"children":2199},{"style":1483},[2200],{"type":27,"value":2125},{"type":31,"tagName":1477,"properties":2202,"children":2203},{"style":1489},[2204],{"type":27,"value":2205},"(confirmed)) ",{"type":31,"tagName":1477,"properties":2207,"children":2208},{"style":1718},[2209],{"type":27,"value":2210},"return",{"type":31,"tagName":1477,"properties":2212,"children":2213},{"style":1489},[2214],{"type":27,"value":1751},{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2217,"children":2218},{"class":1479},[2219,2224],{"type":31,"tagName":1477,"properties":2220,"children":2221},{"style":1483},[2222],{"type":27,"value":2223},"  out_h4_close",{"type":31,"tagName":1477,"properties":2225,"children":2226},{"style":1489},[2227],{"type":27,"value":2228},"(confirmed);",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2231,"children":2232},{"class":1479},[2233,2238],{"type":31,"tagName":1477,"properties":2234,"children":2235},{"style":1483},[2236],{"type":27,"value":2237},"  out_h4_developing",{"type":31,"tagName":1477,"properties":2239,"children":2240},{"style":1489},[2241],{"type":27,"value":2242},"(running);",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2245,"children":2246},{"class":1479},[2247,2252],{"type":31,"tagName":1477,"properties":2248,"children":2249},{"style":1483},[2250],{"type":27,"value":2251},"  out_close",{"type":31,"tagName":1477,"properties":2253,"children":2254},{"style":1489},[2255],{"type":27,"value":2256},"(close);",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":2259,"children":2260},{"class":1479},[2261],{"type":31,"tagName":1477,"properties":2262,"children":2263},{"style":1489},[2264],{"type":27,"value":1951},{"type":27,"value":28},{"type":31,"tagName":2267,"properties":2268,"children":2269,"position":2279},"h3",{},[2270],{"type":27,"value":2271,"position":2272},"Read the staircase",{"start":2273,"end":2276},{"line":2274,"column":39,"offset":2275},115,5826,{"line":2274,"column":2277,"offset":2278},23,5844,{"start":2280,"end":2282},{"line":2274,"column":21,"offset":2281},5822,{"line":2274,"column":2277,"offset":2278},{"type":27,"value":28},{"type":31,"tagName":32,"properties":2285,"children":2286,"position":2334},{},[2287,2296,2308,2315,2327],{"type":27,"value":2288,"position":2289},"The purple ",{"start":2290,"end":2293},{"line":2291,"column":21,"offset":2292},117,5846,{"line":2291,"column":2294,"offset":2295},12,5857,{"type":31,"tagName":46,"properties":2297,"children":2298,"position":2305},{},[2299],{"type":27,"value":2300,"position":2301},"h4_close",{"start":2302,"end":2303},{"line":2291,"column":2294,"offset":2295},{"line":2291,"column":104,"offset":2304},5867,{"start":2306,"end":2307},{"line":2291,"column":2294,"offset":2295},{"line":2291,"column":104,"offset":2304},{"type":27,"value":2309,"position":2310}," line is flat across four 1h bars, then steps to a new\nlevel, then holds flat again. That staircase is the visual signature of a\ncorrect, confirmed higher timeframe: the value only changes when a 4h\ncandle actually closes, and between closes there is no new confirmed\ninformation. The green ",{"start":2311,"end":2312},{"line":2291,"column":104,"offset":2304},{"line":2313,"column":573,"offset":2314},121,6158,{"type":31,"tagName":46,"properties":2316,"children":2317,"position":2324},{},[2318],{"type":27,"value":2319,"position":2320},"h4_developing",{"start":2321,"end":2322},{"line":2313,"column":573,"offset":2314},{"line":2313,"column":661,"offset":2323},6173,{"start":2325,"end":2326},{"line":2313,"column":573,"offset":2314},{"line":2313,"column":661,"offset":2323},{"type":27,"value":2328,"position":2329}," line tracks the grey chart close\ninside each bucket: that is what a repainting value looks like, and it is\ndrawn here on purpose so you can see the difference. A cross built on the\ngreen line would not survive into production; a cross built on the purple\none reproduces exactly.",{"start":2330,"end":2331},{"line":2313,"column":661,"offset":2323},{"line":2332,"column":573,"offset":2333},125,6452,{"start":2335,"end":2336},{"line":2291,"column":21,"offset":2292},{"line":2332,"column":573,"offset":2333},{"type":27,"value":28},{"type":31,"tagName":93,"properties":2339,"children":2340,"position":2349},{},[2341],{"type":27,"value":2342,"position":2343},"Requesting a live value is opt-in",{"start":2344,"end":2347},{"line":2345,"column":101,"offset":2346},127,6457,{"line":2345,"column":86,"offset":2348},6490,{"start":2350,"end":2352},{"line":2345,"column":21,"offset":2351},6454,{"line":2345,"column":86,"offset":2348},{"type":27,"value":28},{"type":31,"tagName":32,"properties":2355,"children":2356,"position":2463},{},[2357,2365,2377,2384,2396,2403,2417,2423,2439,2446,2457],{"type":27,"value":2358,"position":2359},"Sometimes you genuinely want the forming bucket: a live 4h close ticking in\na readout. In a module that is just the running variable, as above, and it\nis a deliberate choice you make by reading ",{"start":2360,"end":2363},{"line":2361,"column":21,"offset":2362},129,6492,{"line":24,"column":662,"offset":2364},6686,{"type":31,"tagName":46,"properties":2366,"children":2367,"position":2374},{},[2368],{"type":27,"value":2369,"position":2370},"running",{"start":2371,"end":2372},{"line":24,"column":662,"offset":2364},{"line":24,"column":778,"offset":2373},6695,{"start":2375,"end":2376},{"line":24,"column":662,"offset":2364},{"line":24,"column":778,"offset":2373},{"type":27,"value":2378,"position":2379}," instead of\n",{"start":2380,"end":2381},{"line":24,"column":778,"offset":2373},{"line":2382,"column":21,"offset":2383},132,6707,{"type":31,"tagName":46,"properties":2385,"children":2386,"position":2393},{},[2387],{"type":27,"value":2388,"position":2389},"confirmed",{"start":2390,"end":2391},{"line":2382,"column":21,"offset":2383},{"line":2382,"column":2294,"offset":2392},6718,{"start":2394,"end":2395},{"line":2382,"column":21,"offset":2383},{"line":2382,"column":2294,"offset":2392},{"type":27,"value":2397,"position":2398},". A developing value is fine for a display; it is the wrong\nthing for a signal, because it changes as the bucket fills, so a cross or\nthreshold built on it will not reproduce on history. Reach for it only when\nyou want to ",{"start":2399,"end":2400},{"line":2382,"column":2294,"offset":2392},{"line":2401,"column":85,"offset":2402},135,6940,{"type":31,"tagName":830,"properties":2404,"children":2405,"position":2413},{},[2406],{"type":27,"value":2407,"position":2408},"show",{"start":2409,"end":2411},{"line":2401,"column":889,"offset":2410},6941,{"line":2401,"column":605,"offset":2412},6945,{"start":2414,"end":2415},{"line":2401,"column":85,"offset":2402},{"line":2401,"column":570,"offset":2416},6946,{"type":27,"value":2418,"position":2419}," the live edge, never when you want to ",{"start":2420,"end":2421},{"line":2401,"column":570,"offset":2416},{"line":2401,"column":811,"offset":2422},6985,{"type":31,"tagName":830,"properties":2424,"children":2425,"position":2434},{},[2426],{"type":27,"value":2427,"position":2428},"act",{"start":2429,"end":2432},{"line":2401,"column":2430,"offset":2431},59,6986,{"line":2401,"column":622,"offset":2433},6989,{"start":2435,"end":2436},{"line":2401,"column":811,"offset":2422},{"line":2401,"column":2437,"offset":2438},63,6990,{"type":27,"value":2440,"position":2441}," on it. A\npinned input's ",{"start":2442,"end":2443},{"line":2401,"column":2437,"offset":2438},{"line":2444,"column":919,"offset":2445},136,7015,{"type":31,"tagName":46,"properties":2447,"children":2448,"position":2454},{},[2449],{"type":27,"value":546,"position":2450},{"start":2451,"end":2452},{"line":2444,"column":919,"offset":2445},{"line":2444,"column":694,"offset":2453},7024,{"start":2455,"end":2456},{"line":2444,"column":919,"offset":2445},{"line":2444,"column":694,"offset":2453},{"type":27,"value":2458,"position":2459}," view is the same kind of value.",{"start":2460,"end":2461},{"line":2444,"column":694,"offset":2453},{"line":2444,"column":865,"offset":2462},7056,{"start":2464,"end":2465},{"line":2361,"column":21,"offset":2362},{"line":2444,"column":865,"offset":2462},{"type":27,"value":28},{"type":31,"tagName":93,"properties":2468,"children":2469,"position":2478},{},[2470],{"type":27,"value":2471,"position":2472},"Pins are read as of close",{"start":2473,"end":2476},{"line":2474,"column":101,"offset":2475},138,7061,{"line":2474,"column":588,"offset":2477},7086,{"start":2479,"end":2481},{"line":2474,"column":21,"offset":2480},7058,{"line":2474,"column":588,"offset":2477},{"type":27,"value":28},{"type":31,"tagName":32,"properties":2484,"children":2485,"position":2554},{},[2486,2494,2505,2512,2527,2535,2547],{"type":27,"value":2487,"position":2488},"An ",{"start":2489,"end":2492},{"line":2490,"column":21,"offset":2491},140,7088,{"line":2490,"column":101,"offset":2493},7091,{"type":31,"tagName":46,"properties":2495,"children":2496,"position":2502},{},[2497],{"type":27,"value":71,"position":2498},{"start":2499,"end":2500},{"line":2490,"column":101,"offset":2493},{"line":2490,"column":889,"offset":2501},7101,{"start":2503,"end":2504},{"line":2490,"column":101,"offset":2493},{"line":2490,"column":889,"offset":2501},{"type":27,"value":2506,"position":2507}," pin reads real coarser candles, and the chart applies the\nsame rule for you: a pinned candle reaches a chart bar only as of that\nbar's close, live or historical, so a forming 4h candle never leaks into\nthe 1h rows under it (",{"start":2508,"end":2509},{"line":2490,"column":889,"offset":2501},{"line":2510,"column":2277,"offset":2511},143,7326,{"type":31,"tagName":922,"properties":2513,"children":2515,"position":2523},{"href":2514},"multi-timeframe.md",[2516],{"type":27,"value":2517,"position":2518},"Multi-timeframe",{"start":2519,"end":2521},{"line":2510,"column":573,"offset":2520},7327,{"line":2510,"column":661,"offset":2522},7342,{"start":2524,"end":2525},{"line":2510,"column":2277,"offset":2511},{"line":2510,"column":825,"offset":2526},7363,{"type":27,"value":2528,"position":2529},"). The cost is a\nvalue that steps once per pinned candle: the same staircase. Act on a pin\nthrough its default ",{"start":2530,"end":2531},{"line":2510,"column":825,"offset":2526},{"line":2532,"column":2533,"offset":2534},145,21,7474,{"type":31,"tagName":46,"properties":2536,"children":2537,"position":2544},{},[2538],{"type":27,"value":2388,"position":2539},{"start":2540,"end":2541},{"line":2532,"column":2533,"offset":2534},{"line":2532,"column":2542,"offset":2543},32,7485,{"start":2545,"end":2546},{"line":2532,"column":2533,"offset":2534},{"line":2532,"column":2542,"offset":2543},{"type":27,"value":2548,"position":2549}," view.",{"start":2550,"end":2551},{"line":2532,"column":2542,"offset":2543},{"line":2532,"column":2552,"offset":2553},38,7491,{"start":2555,"end":2556},{"line":2490,"column":21,"offset":2491},{"line":2532,"column":2552,"offset":2553},{"type":27,"value":28},{"type":31,"tagName":93,"properties":2559,"children":2560,"position":2569},{},[2561],{"type":27,"value":2562,"position":2563},"The forming bar replays from a snapshot",{"start":2564,"end":2567},{"line":2565,"column":101,"offset":2566},147,7496,{"line":2565,"column":654,"offset":2568},7535,{"start":2570,"end":2572},{"line":2565,"column":21,"offset":2571},7493,{"line":2565,"column":654,"offset":2568},{"type":27,"value":28},{"type":31,"tagName":112,"properties":2575,"children":2577,"position":2881},{"className":2576},[115],[2578],{"type":31,"tagName":118,"properties":2579,"children":2584},{"xmlns":120,"viewBox":2580,"role":122,"aria-labelledby":2581,"letter-spacing":124,"className":2582,"data-diagram":2583},"0 0 540 184","forming-snapshot-title",[126],"forming-snapshot",[2585,2590,2615,2816],{"type":31,"tagName":130,"properties":2586,"children":2587},{"id":2581},[2588],{"type":27,"value":2589},"The forming bar replays from a snapshot: the state after the last closed bar is saved; every update of the forming bar starts from that snapshot, so nothing counts twice; when the bar closes it runs once more and becomes the new snapshot.",{"type":31,"tagName":136,"properties":2591,"children":2592},{},[2593,2606],{"type":31,"tagName":140,"properties":2594,"children":2596},{"id":2595,"x":143,"y":143,"width":144,"height":144},"forming-snapshot-graphite",[2597,2600,2603],{"type":31,"tagName":147,"properties":2598,"children":2599},{"type":149,"baseFrequency":150,"numOctaves":151,"seed":152,"result":153},[],{"type":31,"tagName":156,"properties":2601,"children":2602},{"in":153,"type":158,"values":159,"result":160},[],{"type":31,"tagName":163,"properties":2604,"children":2605},{"in":165,"in2":160,"operator":166},[],{"type":31,"tagName":169,"properties":2607,"children":2609},{"id":2608},"forming-snapshot-hatch1",[2610],{"type":31,"tagName":174,"properties":2611,"children":2614},{"x":2612,"y":2613,"width":178,"height":1509},"64.5","88",[],{"type":31,"tagName":199,"properties":2616,"children":2618},{"filter":2617},"url(#forming-snapshot-graphite)",[2619,2623,2627,2631,2635,2639,2643,2647,2651,2655,2659,2663,2667,2675,2679,2683,2687,2691,2695,2699,2703,2707,2711,2715,2719,2723,2727,2731,2735,2739,2743,2748,2752,2756,2760,2764,2768,2772,2776,2780,2784,2788,2792,2796,2800,2804,2808,2812],{"type":31,"tagName":191,"properties":2620,"children":2622},{"d":2621,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M30.1 82C30.2 83 30.3 87.4 30.3 88.4",[],{"type":31,"tagName":191,"properties":2624,"children":2626},{"d":2625,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M30.1 95.2C30 96.5 29.9 101.6 29.8 102.9",[],{"type":31,"tagName":191,"properties":2628,"children":2630},{"d":2629,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M24.1 87.4C26.1 87.4 34.2 87.5 36.2 87.5",[],{"type":31,"tagName":191,"properties":2632,"children":2634},{"d":2633,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M35.4 87.9C35.5 89.3 35.7 95.2 35.8 96.6",[],{"type":31,"tagName":191,"properties":2636,"children":2638},{"d":2637,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M35.8 96.5C33.8 96.4 25.8 96.1 23.8 96",[],{"type":31,"tagName":191,"properties":2640,"children":2642},{"d":2641,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M24.8 96.3C24.8 94.7 24.7 88.3 24.7 86.7",[],{"type":31,"tagName":191,"properties":2644,"children":2646},{"d":2645,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M70.5 81.3C70.4 82.4 70 86.8 69.9 87.9",[],{"type":31,"tagName":191,"properties":2648,"children":2650},{"d":2649,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M69.4 92C69.4 93.2 69.4 98 69.4 99.2",[],{"type":31,"tagName":191,"properties":2652,"children":2654},{"d":2653,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M64.2 87.8C66.2 87.7 74 87.2 75.9 87.1",[],{"type":31,"tagName":191,"properties":2656,"children":2658},{"d":2657,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M75.5 88.1C75.6 88.9 75.8 91.9 75.9 92.7",[],{"type":31,"tagName":191,"properties":2660,"children":2662},{"d":2661,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M75.6 91.2C73.7 91.3 66 91.4 64.1 91.4",[],{"type":31,"tagName":191,"properties":2664,"children":2666},{"d":2665,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M64.7 92.7C64.7 91.8 64.8 88.5 64.8 87.7",[],{"type":31,"tagName":199,"properties":2668,"children":2670},{"clip-path":2669},"url(#forming-snapshot-hatch1)",[2671],{"type":31,"tagName":191,"properties":2672,"children":2674},{"d":2673,"fill":206,"stroke":194,"stroke-width":262,"stroke-opacity":263,"stroke-linecap":209},"M59.2 92.1C60.7 89.9 66.3 81.1 67.7 78.9 M60.4 93.6C62 91.2 68.2 81.9 69.7 79.5 M64.2 95.5C65.5 93.1 70.4 83.6 71.7 81.3 M64.9 96.4C66.4 94.3 72.4 86.1 73.9 84 M67.6 97.3C68.9 95 74.3 86 75.6 83.8 M69.8 99.5C71.2 97.3 77.1 88.7 78.6 86.6 M72 100.9C73.3 98.7 78.9 89.8 80.3 87.6",[],{"type":31,"tagName":191,"properties":2676,"children":2678},{"d":2677,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M110.2 73.3C110.1 74.5 110 79.2 109.9 80.4",[],{"type":31,"tagName":191,"properties":2680,"children":2682},{"d":2681,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M109.7 92.5C109.6 93.6 109.3 98 109.2 99.1",[],{"type":31,"tagName":191,"properties":2684,"children":2686},{"d":2685,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M104.9 80C106.7 80 113.9 79.9 115.7 79.8",[],{"type":31,"tagName":191,"properties":2688,"children":2690},{"d":2689,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M115.1 80.1C115.1 82.1 115.1 90.1 115.1 92.1",[],{"type":31,"tagName":191,"properties":2692,"children":2694},{"d":2693,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M116.1 92.4C114.2 92.4 106.6 92.6 104.7 92.7",[],{"type":31,"tagName":191,"properties":2696,"children":2698},{"d":2697,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M104.5 91.8C104.5 89.9 104.5 82.1 104.5 80.2",[],{"type":31,"tagName":191,"properties":2700,"children":2702},{"d":2701,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M149.8 67.8C149.8 68.8 149.9 73.1 149.9 74.1",[],{"type":31,"tagName":191,"properties":2704,"children":2706},{"d":2705,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M149.4 80.4C149.4 81.5 149.3 85.9 149.3 87",[],{"type":31,"tagName":191,"properties":2708,"children":2710},{"d":2709,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M144.3 74.1C146.1 74.1 153.4 74.2 155.2 74.2",[],{"type":31,"tagName":191,"properties":2712,"children":2714},{"d":2713,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M156.2 74.5C156.1 75.6 155.7 79.9 155.6 81",[],{"type":31,"tagName":191,"properties":2716,"children":2718},{"d":2717,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M155.8 80.1C153.9 80.1 146.3 80.3 144.4 80.3",[],{"type":31,"tagName":191,"properties":2720,"children":2722},{"d":2721,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":208,"stroke-linecap":209,"stroke-linejoin":209},"M144.2 79.5C144.2 78.5 144.3 74.8 144.4 73.8",[],{"type":31,"tagName":191,"properties":2724,"children":2726},{"d":2725,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M195.9 74.9C195.9 73.8 195.9 70.7 196 68.6C196 66.5 196 64.3 196 62.2C196.1 60.1 196.1 58 196 55.9C196 53.8 195.9 51.1 196 49.6C196 48.1 196.1 47.8 196.3 46.9C196.5 46 196.9 45.2 197.3 44.4C197.7 43.6 198.3 42.9 198.9 42.2C199.5 41.6 200.3 41 201.1 40.6C201.8 40.1 202.7 39.7 203.6 39.5C204.4 39.3 204.8 39.2 206.2 39.1C207.7 39.1 210.3 39.1 212.4 39.2C214.4 39.2 216.5 39.2 218.5 39.3C220.6 39.3 222.6 39.4 224.7 39.4C226.7 39.5 228.7 39.6 230.8 39.7C232.8 39.7 234.9 39.8 236.9 39.9C239 40 241 40 243.1 40.1C245.1 40.1 247.1 40.2 249.2 40.2C251.2 40.2 253.3 40.2 255.3 40.2C257.4 40.2 259.4 40.2 261.5 40.2C263.5 40.2 265.5 40.1 267.6 40.1C269.6 40 271.7 40 273.7 40C275.8 39.9 277.8 39.9 279.9 39.8C281.9 39.8 283.9 39.8 286 39.8C288 39.8 290.1 39.8 292.1 39.8C294.2 39.8 296.8 39.8 298.2 39.9C299.7 39.9 299.9 40 300.8 40.2C301.6 40.5 302.4 40.8 303.1 41.2C303.8 41.6 304.5 42.2 305 42.8C305.6 43.4 306.1 44.1 306.5 44.8C306.9 45.5 307.3 46.3 307.5 47.1C307.7 47.9 307.7 48.1 307.8 49.6C307.8 51 307.8 53.8 307.8 55.9C307.8 58 307.8 60.1 307.9 62.2C307.9 64.3 308 66.5 308.1 68.6C308.1 70.7 308.2 72.8 308.3 74.9C308.4 77 308.5 79.1 308.5 81.2C308.6 83.3 308.8 86.1 308.7 87.6C308.7 89.1 308.7 89.4 308.4 90.3C308.2 91.2 307.9 92.1 307.4 92.9C307 93.7 306.4 94.4 305.8 95.1C305.1 95.7 304.4 96.3 303.6 96.8C302.8 97.2 301.9 97.6 301 97.8C300.1 98.1 299.8 98.1 298.3 98.2C296.8 98.2 294.2 98.1 292.1 98.1C290.1 98.1 288 98 286 98C283.9 97.9 281.9 97.9 279.9 97.9C277.8 97.8 275.8 97.8 273.7 97.8C271.7 97.8 269.6 97.8 267.6 97.8C265.5 97.8 263.5 97.8 261.5 97.9C259.4 97.9 257.4 97.9 255.3 97.9C253.3 98 251.2 98 249.2 98C247.1 98.1 245.1 98.1 243.1 98.1C241 98.1 239 98.1 236.9 98.1C234.9 98.1 232.8 98 230.8 98C228.7 97.9 226.7 97.9 224.7 97.8C222.6 97.7 220.6 97.7 218.5 97.6C216.5 97.5 214.4 97.4 212.4 97.4C210.3 97.3 207.7 97.2 206.3 97.1C204.8 97.1 204.6 97 203.8 96.8C203 96.5 202.2 96.2 201.5 95.8C200.8 95.3 200.2 94.8 199.6 94.2C199 93.7 198.5 93 198.1 92.3C197.7 91.6 197.4 90.8 197.2 90C197 89.2 196.9 89 196.8 87.5C196.8 86.1 196.8 83.3 196.8 81.2C196.7 79.1 196.7 77 196.7 74.9C196.6 72.8 196.6 70.7 196.6 68.6C196.5 66.5 196.5 63.3 196.5 62.2",[],{"type":31,"tagName":191,"properties":2728,"children":2730},{"d":2729,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":436,"stroke-linecap":209,"stroke-linejoin":209},"M196.4 88.2C196.4 87.1 196.2 84 196.2 81.9C196.1 79.8 196 77.6 196 75.5C195.9 73.4 195.9 71.3 195.9 69.2C195.9 67.1 196 65 196 62.9C196.1 60.8 196.2 58.6 196.2 56.5C196.3 54.4 196.2 51.7 196.3 50.2C196.4 48.8 196.4 48.6 196.6 47.8C196.8 47 197.1 46.2 197.5 45.5C197.9 44.8 198.4 44.1 198.9 43.5C199.5 42.9 200.2 42.3 200.9 41.9C201.6 41.4 202.3 41.1 203.1 40.8C203.9 40.5 204.2 40.5 205.7 40.3C207.1 40.2 209.7 40.2 211.8 40.1C213.8 40.1 215.9 40 217.9 40C220 40.1 222 40.1 224.1 40.2C226.1 40.2 228.1 40.3 230.2 40.3C232.2 40.3 234.3 40.4 236.3 40.3C238.4 40.3 240.4 40.3 242.5 40.2C244.5 40.1 246.5 40 248.6 39.9C250.6 39.8 252.7 39.7 254.7 39.6C256.8 39.6 258.8 39.5 260.9 39.5C262.9 39.5 264.9 39.6 267 39.6C269 39.7 271.1 39.8 273.1 39.8C275.2 39.9 277.2 40 279.3 40C281.3 40 283.3 40 285.4 39.9C287.4 39.9 289.5 39.8 291.5 39.7C293.6 39.7 296.2 39.5 297.7 39.5C299.2 39.5 299.5 39.6 300.4 39.8C301.3 40 302.2 40.4 303 40.9C303.9 41.3 304.6 41.9 305.3 42.6C305.9 43.2 306.5 44 306.9 44.8C307.4 45.7 307.7 46.6 307.9 47.4C308.1 48.3 308.2 48.7 308.2 50.2C308.2 51.7 308 54.4 307.9 56.5C307.8 58.6 307.8 60.8 307.7 62.9C307.7 65 307.7 67.1 307.8 69.2C307.8 71.3 307.9 73.4 307.9 75.5C308 77.6 308 79.8 308.1 81.9C308.1 84 308.1 86.7 308 88.2C307.9 89.7 307.8 90 307.6 90.9C307.3 91.7 306.9 92.5 306.4 93.3C306 94 305.4 94.7 304.7 95.3C304.1 95.9 303.4 96.4 302.6 96.8C301.8 97.1 301 97.4 300.2 97.6C299.4 97.8 299.1 97.8 297.6 97.8C296.2 97.9 293.6 97.7 291.5 97.7C289.5 97.7 287.4 97.8 285.4 97.8C283.3 97.9 281.3 98 279.3 98C277.2 98 275.2 98.1 273.1 98.1C271.1 98.1 269 98.1 267 98C264.9 98 262.9 97.9 260.9 97.8C258.8 97.7 256.8 97.6 254.7 97.5C252.7 97.5 250.6 97.4 248.6 97.4C246.5 97.4 244.5 97.4 242.5 97.5C240.4 97.6 238.4 97.7 236.3 97.7C234.3 97.8 232.2 97.9 230.2 97.9C228.1 98 226.1 98 224.1 98C222 98 220 97.9 217.9 97.9C215.9 97.8 213.8 97.7 211.8 97.7C209.8 97.6 207.1 97.6 205.7 97.6C204.3 97.5 204 97.5 203.2 97.3C202.4 97.1 201.6 96.8 200.9 96.4C200.2 96 199.5 95.5 198.9 95C198.3 94.4 197.7 93.7 197.3 93C196.8 92.3 196.5 91.5 196.2 90.7C195.9 89.9 195.8 88.6 195.7 88.2",[],{"type":31,"tagName":191,"properties":2732,"children":2734},{"d":2733,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":467,"stroke-linecap":209,"stroke-linejoin":209},"M175.9 69.5C178.5 69.5 189.1 69.4 191.8 69.4",[],{"type":31,"tagName":191,"properties":2736,"children":2738},{"d":2737,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":467,"stroke-linecap":209,"stroke-linejoin":209},"M191.6 70.3C190.5 70.7 186.5 72.3 185.4 72.7",[],{"type":31,"tagName":191,"properties":2740,"children":2742},{"d":2741,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":467,"stroke-linecap":209,"stroke-linejoin":209},"M192.4 70.1C191.3 69.6 187 67.5 185.9 67",[],{"type":31,"tagName":191,"properties":2744,"children":2747},{"d":2745,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M476.3 49.9C476.3 51.6 476.4 58.3 476.4 60","0.75",[],{"type":31,"tagName":191,"properties":2749,"children":2751},{"d":2750,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M475.9 74.5C475.9 75.5 475.8 79.4 475.8 80.4",[],{"type":31,"tagName":191,"properties":2753,"children":2755},{"d":2754,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M469.9 60.1C471.8 60.1 479.8 60 481.7 60",[],{"type":31,"tagName":191,"properties":2757,"children":2759},{"d":2758,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M481.9 58.8C481.8 61.2 481.7 71 481.7 73.5",[],{"type":31,"tagName":191,"properties":2761,"children":2763},{"d":2762,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M481.8 74.3C479.7 74.3 471.2 74.4 469.1 74.4",[],{"type":31,"tagName":191,"properties":2765,"children":2767},{"d":2766,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M470 75.1C470 72.5 470 62.2 470 59.7",[],{"type":31,"tagName":191,"properties":2769,"children":2771},{"d":2770,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M312.3 52.3C313.7 52.3 318.1 52.3 321 52.2C323.8 52.2 326.7 52.2 329.6 52.2C332.5 52.2 335.4 52.1 338.3 52.1C341.2 52 344.1 51.9 346.9 51.9C349.8 51.8 352.7 51.7 355.6 51.6C358.5 51.6 361.4 51.5 364.3 51.4C367.2 51.4 370.1 51.3 372.9 51.3C375.8 51.3 378.7 51.2 381.6 51.2C384.5 51.2 387.4 51.1 390.3 51.1C393.2 51.1 396.1 51 399 51C401.9 50.9 404.9 50.9 407.8 50.8C410.7 50.8 413.6 50.7 416.5 50.6C419.4 50.5 422.4 50.5 425.3 50.4C428.2 50.3 431.1 50.3 434 50.2C436.9 50.1 439.9 50.1 442.8 50.1C445.7 50 448.6 50 451.5 50C454.4 50 458.8 50 460.3 50",[],{"type":31,"tagName":191,"properties":2773,"children":2775},{"d":2774,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M460.6 49.7C459.6 50.2 455.8 52.5 454.8 53",[],{"type":31,"tagName":191,"properties":2777,"children":2779},{"d":2778,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M461.2 50.3C460.2 49.7 456 47.4 454.9 46.8",[],{"type":31,"tagName":191,"properties":2781,"children":2783},{"d":2782,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M312 68.9C313.4 68.9 317.7 68.8 320.6 68.8C323.5 68.8 326.4 68.8 329.3 68.8C332.2 68.7 335.1 68.7 338 68.7C340.9 68.7 343.7 68.6 346.6 68.5C349.5 68.5 352.4 68.4 355.3 68.3C358.2 68.2 361.1 68.1 364 68.1C366.9 68 369.7 68 372.6 68C375.5 68 378.4 68 381.3 68C384.2 68 387.1 68 390 67.9C392.9 67.9 395.8 67.8 398.7 67.7C401.6 67.6 404.6 67.5 407.5 67.5C410.4 67.4 413.3 67.3 416.2 67.2C419.1 67.2 422.1 67.1 425 67.1C427.9 67.1 430.8 67.1 433.7 67C436.6 67 439.6 67 442.5 66.9C445.4 66.8 448.3 66.7 451.2 66.6C454.1 66.5 458.5 66.4 460 66.3",[],{"type":31,"tagName":191,"properties":2785,"children":2787},{"d":2786,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M460.7 66.1C459.7 66.6 455.5 68.9 454.4 69.5",[],{"type":31,"tagName":191,"properties":2789,"children":2791},{"d":2790,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M461 66C460 65.5 456.1 63.6 455.1 63.2",[],{"type":31,"tagName":191,"properties":2793,"children":2795},{"d":2794,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M312.4 85.7C313.9 85.7 318.2 85.6 321.1 85.5C324 85.5 326.9 85.5 329.8 85.4C332.7 85.4 335.5 85.3 338.4 85.2C341.3 85.2 344.2 85 347.1 84.9C350 84.8 352.9 84.7 355.8 84.6C358.7 84.6 361.5 84.5 364.4 84.5C367.3 84.4 370.2 84.4 373.1 84.4C376 84.4 378.9 84.3 381.8 84.3C384.7 84.2 387.5 84.2 390.4 84.1C393.3 84 396.3 83.8 399.2 83.8C402.1 83.7 405 83.6 407.9 83.5C410.9 83.4 413.8 83.4 416.7 83.4C419.6 83.3 422.5 83.3 425.4 83.3C428.4 83.2 431.3 83.1 434.2 83C437.1 82.9 440 82.8 442.9 82.7C445.9 82.5 448.8 82.4 451.7 82.3C454.6 82.2 459 82.1 460.4 82.1",[],{"type":31,"tagName":191,"properties":2797,"children":2799},{"d":2798,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M460.9 81.7C459.8 82.3 455.5 84.8 454.5 85.5",[],{"type":31,"tagName":191,"properties":2801,"children":2803},{"d":2802,"fill":206,"stroke":396,"stroke-width":207,"stroke-opacity":2746,"stroke-linecap":209,"stroke-linejoin":209},"M460.6 82.4C459.6 81.8 455.4 79.3 454.3 78.7",[],{"type":31,"tagName":191,"properties":2805,"children":2807},{"d":2806,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M475.3 123.5C474.9 124.6 473.6 127.8 472.8 130C472 132.2 471.2 134.3 470.4 136.5C469.5 138.7 468.7 140.9 467.9 143C467.1 145.2 467 148.2 465.5 149.6C464.1 150.9 461.4 150.4 459.3 150.9C457.2 151.3 455.2 151.7 453.1 152.2C451 152.6 448.9 153 446.8 153.4C444.7 153.8 442.7 154.2 440.6 154.7C438.5 155.1 436.4 155.5 434.3 155.9C432.2 156.3 430.2 156.7 428.1 157.1C426 157.5 423.9 158 421.8 158.4C419.7 158.8 417.6 159.4 415.6 159.7C413.5 159.9 411.5 159.7 409.5 159.7C407.4 159.7 405.4 159.8 403.3 159.8C401.3 159.8 399.3 159.8 397.2 159.8C395.2 159.8 393.2 159.8 391.1 159.8C389.1 159.8 387.1 159.8 385 159.8C383 159.8 381 159.8 378.9 159.8C376.9 159.8 374.9 159.7 372.8 159.7C370.8 159.7 368.8 159.7 366.7 159.6C364.7 159.6 362.6 159.6 360.6 159.5C358.6 159.5 356.5 159.5 354.5 159.4C352.5 159.4 350.4 159.4 348.4 159.4C346.4 159.4 344.3 159.4 342.3 159.4C340.3 159.4 338.2 159.4 336.2 159.4C334.2 159.4 332.1 159.4 330.1 159.4C328 159.4 326 159.4 324 159.4C321.9 159.5 319.9 159.5 317.9 159.5C315.8 159.5 313.8 159.5 311.8 159.5C309.7 159.5 307.7 159.5 305.7 159.5C303.6 159.5 301.6 159.7 299.6 159.5C297.5 159.2 295.4 158.3 293.3 157.8C291.2 157.2 289 156.6 286.9 156.1C284.8 155.5 282.7 155 280.6 154.4C278.5 153.9 276.4 153.3 274.3 152.8C272.1 152.3 270 151.7 267.9 151.2C265.8 150.7 262.8 151 261.5 149.6C260.2 148.3 260.5 145.2 260 143C259.5 140.9 259 138.7 258.5 136.5C258 134.3 257.5 132.1 257 129.9C256.5 127.7 256 125.5 255.6 123.4C255.1 121.2 254.6 119 254.2 116.8C253.7 114.6 253.3 112.4 252.8 110.2C252.4 108 251.7 104.7 251.5 103.6",[],{"type":31,"tagName":191,"properties":2809,"children":2811},{"d":2810,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M251.9 102.9C252.5 103.9 255.1 108.3 255.7 109.3",[],{"type":31,"tagName":191,"properties":2813,"children":2815},{"d":2814,"fill":206,"stroke":194,"stroke-width":207,"stroke-opacity":263,"stroke-linecap":209,"stroke-linejoin":209},"M252.1 102.9C251.8 104 250.4 108.6 250 109.7",[],{"type":31,"tagName":199,"properties":2817,"children":2818},{"fill-opacity":519},[2819,2828,2837,2843,2851,2858,2865,2873],{"type":31,"tagName":27,"properties":2820,"children":2825},{"x":2821,"y":2822,"font-family":525,"font-size":2823,"fill":535,"text-anchor":536,"transform":2824},"90","128","11.5","rotate(-0.07 90 128)",[2826],{"type":27,"value":2827},"closed bars",{"type":31,"tagName":27,"properties":2829,"children":2834},{"x":2830,"y":2831,"font-family":525,"font-size":2832,"fill":194,"text-anchor":536,"transform":2833},"252","64","14","rotate(-0.10 252 64)",[2835],{"type":27,"value":2836},"snapshot",{"type":31,"tagName":27,"properties":2838,"children":2840},{"x":2830,"y":1004,"font-family":525,"font-size":550,"fill":535,"text-anchor":536,"transform":2839},"rotate(-0.09 252 84)",[2841],{"type":27,"value":2842},"state after bar 4",{"type":31,"tagName":27,"properties":2844,"children":2848},{"x":2845,"y":2846,"font-family":525,"font-size":550,"fill":535,"text-anchor":536,"transform":2847},"392","48","rotate(0.27 392 48)",[2849],{"type":27,"value":2850},"update 1",{"type":31,"tagName":27,"properties":2852,"children":2855},{"x":2845,"y":2853,"font-family":525,"font-size":550,"fill":535,"text-anchor":536,"transform":2854},"65","rotate(-0.27 392 65)",[2856],{"type":27,"value":2857},"update 2",{"type":31,"tagName":27,"properties":2859,"children":2862},{"x":2845,"y":2860,"font-family":525,"font-size":550,"fill":535,"text-anchor":536,"transform":2861},"82","rotate(0.16 392 82)",[2863],{"type":27,"value":2864},"update 3",{"type":31,"tagName":27,"properties":2866,"children":2870},{"x":2867,"y":2868,"font-family":525,"font-size":2823,"fill":396,"text-anchor":536,"transform":2869},"476","112","rotate(-0.10 476 112)",[2871],{"type":27,"value":2872},"forming bar",{"type":31,"tagName":27,"properties":2874,"children":2878},{"x":2875,"y":2876,"font-family":525,"font-size":2823,"fill":535,"text-anchor":536,"transform":2877},"380","178","rotate(0.21 380 178)",[2879],{"type":27,"value":2880},"when it closes: one final run, then a new snapshot",{"start":2882,"end":2885},{"line":2883,"column":21,"offset":2884},149,7537,{"line":2883,"column":2886,"offset":2887},285,7821,{"type":27,"value":28},{"type":31,"tagName":32,"properties":2890,"children":2891,"position":2901},{},[2892],{"type":27,"value":2893,"position":2894},"The forming bar is the one exception to \"one call per bar\": the chart\nevaluates it again as new data arrives, at most about once a second. It\ndoes not re-run history for that. It snapshots the module after the last\nclosed bar (its memory, every module-level variable, and its drawing\nhandles) and restores that snapshot before each new evaluation of the\nforming bar, so every replay starts from exactly the state the closed bars\nleft: an accumulator cannot count the forming bar twice, and nothing the\nforming bar drew is stacked. When the bar closes, the chart evaluates it\nonce more as a closed bar, then moves on to the new one.",{"start":2895,"end":2898},{"line":2896,"column":21,"offset":2897},151,7823,{"line":2899,"column":865,"offset":2900},159,8454,{"start":2902,"end":2903},{"line":2896,"column":21,"offset":2897},{"line":2899,"column":865,"offset":2900},{"type":27,"value":28},{"type":31,"tagName":32,"properties":2906,"children":2907,"position":2917},{},[2908],{"type":27,"value":2909,"position":2910},"Nothing in the file has to put its state back for this: the chart\nrestores the snapshot, every module-level variable and every TA object\nincluded, so the forming bar never depends on a reset of your own.",{"start":2911,"end":2914},{"line":2912,"column":21,"offset":2913},161,8456,{"line":2915,"column":1435,"offset":2916},163,8659,{"start":2918,"end":2919},{"line":2912,"column":21,"offset":2913},{"line":2915,"column":1435,"offset":2916},{"type":27,"value":28},{"type":31,"tagName":93,"properties":2922,"children":2923,"position":2932},{},[2924],{"type":27,"value":2925,"position":2926},"What can still change a closed bar",{"start":2927,"end":2930},{"line":2928,"column":101,"offset":2929},165,8664,{"line":2928,"column":2552,"offset":2931},8698,{"start":2933,"end":2935},{"line":2928,"column":21,"offset":2934},8661,{"line":2928,"column":2552,"offset":2931},{"type":27,"value":28},{"type":31,"tagName":32,"properties":2938,"children":2939,"position":2950},{},[2940],{"type":27,"value":2941,"position":2942},"No bar changes because it looked ahead, but on the chart two things can\nchange a bar you have already seen:",{"start":2943,"end":2946},{"line":2944,"column":21,"offset":2945},167,8700,{"line":2947,"column":2948,"offset":2949},168,36,8807,{"start":2951,"end":2952},{"line":2944,"column":21,"offset":2945},{"line":2947,"column":2948,"offset":2949},{"type":27,"value":28},{"type":31,"tagName":629,"properties":2955,"children":2956,"position":3021},{},[2957,2958,2988,2989,3020],{"type":27,"value":28},{"type":31,"tagName":634,"properties":2959,"children":2960,"position":2984},{},[2961,2977],{"type":31,"tagName":638,"properties":2962,"children":2963,"position":2972},{},[2964],{"type":27,"value":2965,"position":2966},"The window.",{"start":2967,"end":2970},{"line":2968,"column":39,"offset":2969},170,8813,{"line":2968,"column":919,"offset":2971},8824,{"start":2973,"end":2975},{"line":2968,"column":651,"offset":2974},8811,{"line":2968,"column":605,"offset":2976},8826,{"type":27,"value":2978,"position":2979}," The chart runs an indicator over exactly the bars it has\nloaded, and panning back runs it again over the longer window (so does a\nlive gap longer than 250 bars). A value that depends on where history\nstarts shifts when more history loads: a running total from the first\nloaded bar, a bar counter, the open of the first bar. A value over a\nfixed window (an SMA, a rolling sum) or reset each session stays put once\nits window is loaded; an EMA, which remembers every bar it has seen,\nmoves slightly and converges.",{"start":2980,"end":2981},{"line":2968,"column":605,"offset":2976},{"line":2982,"column":2542,"offset":2983},177,9352,{"start":2985,"end":2987},{"line":2968,"column":21,"offset":2986},8809,{"line":2982,"column":2542,"offset":2983},{"type":27,"value":28},{"type":31,"tagName":634,"properties":2990,"children":2991,"position":3016},{},[2992,3009],{"type":31,"tagName":638,"properties":2993,"children":2994,"position":3004},{},[2995],{"type":27,"value":2996,"position":2997},"Corrected data.",{"start":2998,"end":3001},{"line":2999,"column":39,"offset":3000},178,9357,{"line":2999,"column":3002,"offset":3003},20,9372,{"start":3005,"end":3007},{"line":2999,"column":651,"offset":3006},9355,{"line":2999,"column":104,"offset":3008},9374,{"type":27,"value":3010,"position":3011}," When the chart learns that a closed bar's data\nchanged (a late trade folded into a closed bar, a candle the venue\ncorrected, an ETF flow revised after the US session), it runs the\nindicator again from its buffers, so history matches the corrected data.",{"start":3012,"end":3013},{"line":2999,"column":104,"offset":3008},{"line":3014,"column":1412,"offset":3015},181,9633,{"start":3017,"end":3019},{"line":2999,"column":21,"offset":3018},9353,{"line":3014,"column":1412,"offset":3015},{"type":27,"value":28},{"start":3022,"end":3023},{"line":2968,"column":21,"offset":2986},{"line":3014,"column":1412,"offset":3015},{"type":27,"value":28},{"type":14,"children":3026},[3027],{"type":31,"tagName":1465,"properties":3028,"children":3029,"data":-1},{"class":1467,"style":1468,"tabindex":124},[3030],{"type":31,"tagName":46,"properties":3031,"children":3034},{"class":3032},[3033],"language-text",[3035,3043,3044,3052,3053,3061,3062,3070,3071,3079,3080],{"type":31,"tagName":1477,"properties":3036,"children":3037},{"class":1479},[3038],{"type":31,"tagName":1477,"properties":3039,"children":3040},{},[3041],{"type":27,"value":3042},"let cvd: f64 = 0.0; // a running sum since the first LOADED bar",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":3045,"children":3046},{"class":1479},[3047],{"type":31,"tagName":1477,"properties":3048,"children":3049},{},[3050],{"type":27,"value":3051},"",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":3054,"children":3055},{"class":1479},[3056],{"type":31,"tagName":1477,"properties":3057,"children":3058},{},[3059],{"type":27,"value":3060},"// Pan back and the chart runs the Indicator again over the longer window:",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":3063,"children":3064},{"class":1479},[3065],{"type":31,"tagName":1477,"properties":3066,"children":3067},{},[3068],{"type":27,"value":3069},"// every closed bar's cvd shifts by the delta of the bars that just loaded,",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":3072,"children":3073},{"class":1479},[3074],{"type":31,"tagName":1477,"properties":3075,"children":3076},{},[3077],{"type":27,"value":3078},"// while a delta summed over a rolling window, or reset each session, keeps",{"type":27,"value":28},{"type":31,"tagName":1477,"properties":3081,"children":3082},{"class":1479},[3083],{"type":31,"tagName":1477,"properties":3084,"children":3085},{},[3086],{"type":27,"value":3087},"// its values.",{"type":27,"value":28},{"type":31,"tagName":32,"properties":3090,"children":3091,"position":3101},{},[3092],{"type":27,"value":3093,"position":3094},"Run-level renderers and drawings are selected from the finished rows (the\nnewest ready row that satisfies the kind's rule wins), and they never\nchange an output's value.",{"start":3095,"end":3098},{"line":3096,"column":21,"offset":3097},192,9955,{"line":3099,"column":43,"offset":3100},194,10124,{"start":3102,"end":3103},{"line":3096,"column":21,"offset":3097},{"line":3099,"column":43,"offset":3100},{"type":27,"value":28},{"type":31,"tagName":93,"properties":3106,"children":3107,"position":3117},{},[3108],{"type":27,"value":3109,"position":3110},"How to stay repaint-safe",{"start":3111,"end":3114},{"line":3112,"column":101,"offset":3113},196,10129,{"line":3112,"column":3115,"offset":3116},28,10153,{"start":3118,"end":3120},{"line":3112,"column":21,"offset":3119},10126,{"line":3112,"column":3115,"offset":3116},{"type":27,"value":28},{"type":31,"tagName":32,"properties":3123,"children":3124,"position":3133},{},[3125],{"type":27,"value":3126,"position":3127},"A short checklist:",{"start":3128,"end":3131},{"line":3129,"column":21,"offset":3130},198,10155,{"line":3129,"column":570,"offset":3132},10173,{"start":3134,"end":3135},{"line":3129,"column":21,"offset":3130},{"line":3129,"column":570,"offset":3132},{"type":27,"value":28},{"type":31,"tagName":629,"properties":3138,"children":3139,"position":3284},{},[3140,3141,3171,3172,3220,3221,3251,3252,3283],{"type":27,"value":28},{"type":31,"tagName":634,"properties":3142,"children":3143,"position":3167},{},[3144,3160],{"type":31,"tagName":638,"properties":3145,"children":3146,"position":3155},{},[3147],{"type":27,"value":3148,"position":3149},"Fold higher timeframes on the next bucket.",{"start":3150,"end":3153},{"line":3151,"column":39,"offset":3152},200,10179,{"line":3151,"column":744,"offset":3154},10221,{"start":3156,"end":3158},{"line":3151,"column":651,"offset":3157},10177,{"line":3151,"column":747,"offset":3159},10223,{"type":27,"value":3161,"position":3162}," The confirmed value is the\none you act on; the running value is a readout.",{"start":3163,"end":3164},{"line":3151,"column":747,"offset":3159},{"line":3165,"column":719,"offset":3166},201,10300,{"start":3168,"end":3170},{"line":3151,"column":21,"offset":3169},10175,{"line":3165,"column":719,"offset":3166},{"type":27,"value":28},{"type":31,"tagName":634,"properties":3173,"children":3174,"position":3216},{},[3175,3192,3199,3210],{"type":31,"tagName":638,"properties":3176,"children":3177,"position":3186},{},[3178],{"type":27,"value":3179,"position":3180},"Read pins confirmed.",{"start":3181,"end":3184},{"line":3182,"column":39,"offset":3183},202,10305,{"line":3182,"column":694,"offset":3185},10325,{"start":3187,"end":3189},{"line":3182,"column":651,"offset":3188},10303,{"line":3182,"column":3190,"offset":3191},27,10327,{"type":27,"value":3193,"position":3194}," A pinned coarse input steps as of each bar's\nclose; its ",{"start":3195,"end":3196},{"line":3182,"column":3190,"offset":3191},{"line":3197,"column":889,"offset":3198},203,10386,{"type":31,"tagName":46,"properties":3200,"children":3201,"position":3207},{},[3202],{"type":27,"value":546,"position":3203},{"start":3204,"end":3205},{"line":3197,"column":889,"offset":3198},{"line":3197,"column":2277,"offset":3206},10395,{"start":3208,"end":3209},{"line":3197,"column":889,"offset":3198},{"line":3197,"column":2277,"offset":3206},{"type":27,"value":3211,"position":3212}," view is a readout, not a signal.",{"start":3213,"end":3214},{"line":3197,"column":2277,"offset":3206},{"line":3197,"column":844,"offset":3215},10428,{"start":3217,"end":3219},{"line":3182,"column":21,"offset":3218},10301,{"line":3197,"column":844,"offset":3215},{"type":27,"value":28},{"type":31,"tagName":634,"properties":3222,"children":3223,"position":3247},{},[3224,3240],{"type":31,"tagName":638,"properties":3225,"children":3226,"position":3235},{},[3227],{"type":27,"value":3228,"position":3229},"Do not act on the still-forming bar.",{"start":3230,"end":3233},{"line":3231,"column":39,"offset":3232},204,10433,{"line":3231,"column":647,"offset":3234},10469,{"start":3236,"end":3238},{"line":3231,"column":651,"offset":3237},10431,{"line":3231,"column":654,"offset":3239},10471,{"type":27,"value":3241,"position":3242}," Its high, low, and close are\nmoving until it closes. Gate confirmed signals on settled data.",{"start":3243,"end":3244},{"line":3231,"column":654,"offset":3239},{"line":3245,"column":899,"offset":3246},205,10566,{"start":3248,"end":3250},{"line":3231,"column":21,"offset":3249},10429,{"line":3245,"column":899,"offset":3246},{"type":27,"value":28},{"type":31,"tagName":634,"properties":3253,"children":3254,"position":3279},{},[3255,3272],{"type":31,"tagName":638,"properties":3256,"children":3257,"position":3266},{},[3258],{"type":27,"value":3259,"position":3260},"Anchor what you act on.",{"start":3261,"end":3264},{"line":3262,"column":39,"offset":3263},206,10571,{"line":3262,"column":3115,"offset":3265},10594,{"start":3267,"end":3269},{"line":3262,"column":651,"offset":3268},10569,{"line":3262,"column":3270,"offset":3271},30,10596,{"type":27,"value":3273,"position":3274}," Act on values over a rolling window or a\nsession, not on the level of a total that starts at the first loaded\nbar.",{"start":3275,"end":3276},{"line":3262,"column":3270,"offset":3271},{"line":3277,"column":64,"offset":3278},208,10715,{"start":3280,"end":3282},{"line":3262,"column":21,"offset":3281},10567,{"line":3277,"column":64,"offset":3278},{"type":27,"value":28},{"start":3285,"end":3286},{"line":3151,"column":21,"offset":3169},{"line":3277,"column":64,"offset":3278},{"type":27,"value":28},{"type":31,"tagName":32,"properties":3289,"children":3290,"position":3300},{},[3291],{"type":27,"value":3292,"position":3293},"Stick to confirmed folds, confirmed pins and anchored windows and your\nbacktest will mean something: what you measured on history is what the\nindicator would have done live.",{"start":3294,"end":3297},{"line":3295,"column":21,"offset":3296},210,10717,{"line":3298,"column":2542,"offset":3299},212,10890,{"start":3301,"end":3302},{"line":3295,"column":21,"offset":3296},{"line":3298,"column":2542,"offset":3299},{"type":27,"value":28},{"type":31,"tagName":93,"properties":3305,"children":3306,"position":3315},{},[3307],{"type":27,"value":3308,"position":3309},"See also",{"start":3310,"end":3313},{"line":3311,"column":101,"offset":3312},214,10895,{"line":3311,"column":2294,"offset":3314},10903,{"start":3316,"end":3318},{"line":3311,"column":21,"offset":3317},10892,{"line":3311,"column":2294,"offset":3314},{"type":27,"value":28},{"type":31,"tagName":629,"properties":3321,"children":3322,"position":3404},{},[3323,3324,3371,3372,3403],{"type":27,"value":28},{"type":31,"tagName":634,"properties":3325,"children":3326,"position":3367},{},[3327,3342,3349,3361],{"type":31,"tagName":922,"properties":3328,"children":3329,"position":3337},{"href":2514},[3330],{"type":27,"value":2517,"position":3331},{"start":3332,"end":3335},{"line":3333,"column":101,"offset":3334},216,10908,{"line":3333,"column":570,"offset":3336},10923,{"start":3338,"end":3340},{"line":3333,"column":651,"offset":3339},10907,{"line":3333,"column":679,"offset":3341},10944,{"type":27,"value":3343,"position":3344}," for the full bucket-fold and\n",{"start":3345,"end":3346},{"line":3333,"column":679,"offset":3341},{"line":3347,"column":21,"offset":3348},217,10974,{"type":31,"tagName":46,"properties":3350,"children":3351,"position":3358},{},[3352],{"type":27,"value":71,"position":3353},{"start":3354,"end":3356},{"line":3347,"column":651,"offset":3355},10976,{"line":3347,"column":85,"offset":3357},10986,{"start":3359,"end":3360},{"line":3347,"column":651,"offset":3355},{"line":3347,"column":85,"offset":3357},{"type":27,"value":3362,"position":3363},"-pin story, calendar buckets included.",{"start":3364,"end":3365},{"line":3347,"column":85,"offset":3357},{"line":3347,"column":760,"offset":3366},11024,{"start":3368,"end":3370},{"line":3333,"column":21,"offset":3369},10905,{"line":3347,"column":760,"offset":3366},{"type":27,"value":28},{"type":31,"tagName":634,"properties":3373,"children":3374,"position":3399},{},[3375,3392],{"type":31,"tagName":922,"properties":3376,"children":3378,"position":3387},{"href":3377},"execution-model.md",[3379],{"type":27,"value":3380,"position":3381},"Execution model",{"start":3382,"end":3385},{"line":3383,"column":101,"offset":3384},218,11028,{"line":3383,"column":570,"offset":3386},11043,{"start":3388,"end":3390},{"line":3383,"column":651,"offset":3389},11027,{"line":3383,"column":679,"offset":3391},11064,{"type":27,"value":3393,"position":3394}," for the bar loop, warm-up, and\nwhere an indicator runs.",{"start":3395,"end":3396},{"line":3383,"column":679,"offset":3391},{"line":3397,"column":3190,"offset":3398},219,11122,{"start":3400,"end":3402},{"line":3383,"column":21,"offset":3401},11025,{"line":3397,"column":3190,"offset":3398},{"type":27,"value":28},{"start":3405,"end":3406},{"line":3333,"column":21,"offset":3369},{"line":3397,"column":3190,"offset":3398},{"quirksMode":3408},false,{"start":3410,"end":3411},{"line":21,"column":21,"offset":22},{"line":3412,"column":21,"offset":3413},220,11123,1791265216534]