[{"data":1,"prerenderedAt":5467},["ShallowReactive",2],{"indicators:cookbook/anchored-vwap":3},{"slug":4,"filePath":5,"frontmatter":6,"rawMarkdown":11,"tree":12},"cookbook/anchored-vwap","cookbook/anchored-vwap.md",{"title":7,"description":8,"order":9,"section":10},"Anchored VWAP","Weekly and daily VWAP that reset on real UTC session boundaries, with a shaded band and a stretch readout for mean-reversion context. The kScript (legacy)…",57,"cookbook","---\ntitle: \"Anchored VWAP\"\ndescription: \"Weekly and daily VWAP that reset on real UTC session boundaries, with a shaded band and a stretch readout for mean-reversion context. The kScript (legacy)…\"\norder: 57\nsection: \"cookbook\"\n---\n\n\u003C!-- source: docs/indicators/cookbook/anchored-vwap.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit -->\n\n# Anchored VWAP\n\nWeekly and daily VWAP that reset on real UTC session boundaries, with a shaded band and a stretch readout for mean-reversion context. The kScript (legacy) recipe and the Indicator it became, side by side.\n\nVWAP is the volume-weighted average price, the level large players benchmark fills against. A plain cumulative VWAP drifts: it averages from wherever the chart happened to start loading, so the line you see depends on how much history your browser fetched. This recipe pins VWAP to calendar sessions instead. The weekly line resets every Monday at 00:00 UTC and the daily line resets every midnight, so two traders looking at the same symbol see the same level. It adds a percentage band and a \"stretch\" number that tells you how far price has pulled from fair value.\n\n## The kScript (legacy) recipe\n\n```javascript\n//@version=2\n// ============================================================================\n//  WEEKLY ANCHORED VWAP + DAILY SESSIONS  (v3.2 only)\n//  v2's vwap was a single cumulative line from wherever the chart happened to\n//  start loading: it drifted as more history loaded. v3 anchors to real UTC\n//  sessions: the weekly VWAP resets every Monday 00:00 UTC and the daily one\n//  every midnight, regardless of how much data the browser fetched.\n// ============================================================================\ndefine(title=\"Anchored VWAP (week + day)\", position=\"onchart\", axis=false);\n\nvar weekCol = input(name=\"weekCol\", type=\"color\", defaultValue=\"#f5a623\", label=\"Weekly VWAP\");\nvar dayCol  = input(name=\"dayCol\",  type=\"color\", defaultValue=\"#4a90d9\", label=\"Daily VWAP\");\nvar bandPct = input(name=\"bandPct\", type=\"slider\", defaultValue=0.5, label=\"Band %\", constraints={min: 0.1, max: 3, step: 0.1});\n\ntimeseries d = ohlcv(symbol=currentSymbol, exchange=currentExchange);\n\n// Session-anchored: na before the first complete session, exact after.\ntimeseries wVwap = vwap(anchor=\"week\", source=d);\ntimeseries dVwap = vwap(anchor=\"day\", source=d);\n\ntimeseries wUpper = wVwap * (1 + bandPct / 100);\ntimeseries wLower = wVwap * (1 - bandPct / 100);\n\nplotLine(wVwap, colors=[weekCol], width=2, label=[\"Weekly VWAP\"], desc=[\"Volume weighted average price anchored to the UTC week\"]);\nplotLine(dVwap, colors=[dayCol], width=1, label=[\"Daily VWAP\"], desc=[\"Volume weighted average price anchored to the UTC day\"]);\nplotLine(wUpper, colors=[opacity(weekCol, 30)], width=1, label=[\"Week Upper\"], desc=[\"Weekly VWAP plus band percent\"]);\nplotLine(wLower, colors=[opacity(weekCol, 30)], width=1, label=[\"Week Lower\"], desc=[\"Weekly VWAP minus band percent\"]);\nfillBetween(wUpper, wLower, weekCol, 0.08);\n\n// Price stretched from the weekly anchor = mean-reversion context.\nvar stretch = isnum(wVwap[0]) && wVwap[0] > 0 ? (d.close[0] - wVwap[0]) / wVwap[0] * 100 : 0;\nif (isLastBar) {\n  plotTable(\n    data=[[\"Anchored VWAP\", \"\"], [\"Weekly\", isnum(wVwap[0]) ? \"\".concat(math.round(wVwap[0] * 100) / 100) : \"warming\"], [\"Stretch %\", \"\".concat(math.round(stretch * 100) / 100)]],\n    position=\"bottom_right\", headerRow=true, backgroundColor=\"#0d1117\", textColor=\"#e6edf3\", fontSize=11\n  );\n}\n```\n\n## The Indicator\n\n```typescript\nimport { box, input, line, lower, ohlcv, output, overlay, param, time } from \"./sdk/declare\";\nimport { in_bar_t, in_close, in_high, in_low, in_volume } from \"./gen/inputs\";\nimport {\n  emitRow,\n  out_day_vwap,\n  out_stretch_pct,\n  out_week_lower,\n  out_week_upper,\n  out_week_vwap,\n} from \"./gen/outputs\";\nimport { p_band_pct } from \"./gen/params\";\n\nparam(\"band_pct\", 0.5, { min: 0.1, max: 3, description: \"Band distance from the weekly VWAP, in percent\" });\ninput(\"close\", ohlcv.close);\ninput(\"high\", ohlcv.high);\ninput(\"low\", ohlcv.low);\ninput(\"volume\", ohlcv.volume);\ninput(\"bar_t\", time.bar_open_sec);\noutput(\"week_vwap\", line, overlay, { color: \"#f5a623\", width: 2, description: \"VWAP anchored to the UTC week\" });\noutput(\"day_vwap\", line, overlay, { color: \"#4a90d9\", width: 1, description: \"VWAP anchored to the UTC day\" });\nconst bandTop = output(\"week_upper\", line, overlay, { color: \"#f5a623\", opacity: 0.3 });\nconst bandBottom = output(\"week_lower\", line, overlay, { color: \"#f5a623\", opacity: 0.3 });\nbox(\"week_band\", { top: bandTop, bottom: bandBottom, color: \"#f5a623\", opacity: 0.08, borderWidth: 0 });\noutput(\"stretch_pct\", line, lower, { unit: \"%\", color: \"#f5a623\", description: \"Close distance from the weekly VWAP\" });\n\nlet bandPct: f64 = 0.5;\nlet weekIdx: f64 = NaN;\nlet weekPv: f64 = 0.0;\nlet weekVol: f64 = 0.0;\nlet weekComplete: bool = false;\nlet dayIdx: f64 = NaN;\nlet dayPv: f64 = 0.0;\nlet dayVol: f64 = 0.0;\nlet dayComplete: bool = false;\nlet weekVwap: f64 = NaN;\nlet dayVwap: f64 = NaN;\nlet close: f64 = NaN;\n\nexport function init(): void {\n  bandPct = p_band_pct();\n}\n\nexport function state(): i32 {\n  close = in_close();\n  const typical = (in_high() + in_low() + close) / 3.0;\n  const volume = in_volume();\n  // UTC day index of this bar; epoch day 0 was a Thursday, so +3 makes weeks start on Monday 00:00 UTC.\n  const day = Math.floor(in_bar_t() / 86400.0);\n  const week = Math.floor((day + 3.0) / 7.0);\n  if (week != weekIdx) {\n    if (!isNaN(weekIdx)) weekComplete = true;\n    weekIdx = week;\n    weekPv = 0.0;\n    weekVol = 0.0;\n  }\n  if (day != dayIdx) {\n    if (!isNaN(dayIdx)) dayComplete = true;\n    dayIdx = day;\n    dayPv = 0.0;\n    dayVol = 0.0;\n  }\n  weekPv += typical * volume;\n  weekVol += volume;\n  dayPv += typical * volume;\n  dayVol += volume;\n  // A session that was already running when the history starts is incomplete: stay NaN until the first boundary.\n  weekVwap = weekComplete && weekVol > 0.0 ? weekPv / weekVol : NaN;\n  dayVwap = dayComplete && dayVol > 0.0 ? dayPv / dayVol : NaN;\n  return 1;\n}\n\nexport function finalize(): void {\n  out_week_vwap(weekVwap);\n  out_day_vwap(dayVwap);\n  out_week_upper(weekVwap * (1.0 + bandPct / 100.0));\n  out_week_lower(weekVwap * (1.0 - bandPct / 100.0));\n  out_stretch_pct(isNaN(weekVwap) || weekVwap \u003C= 0.0 ? NaN : ((close - weekVwap) / weekVwap) * 100.0);\n  emitRow();\n}\n\nexport function reset(): void {\n  weekIdx = NaN;\n  weekPv = 0.0;\n  weekVol = 0.0;\n  weekComplete = false;\n  dayIdx = NaN;\n  dayPv = 0.0;\n  dayVol = 0.0;\n  dayComplete = false;\n  weekVwap = NaN;\n  dayVwap = NaN;\n  close = NaN;\n}\n```\n\n## How it works\n\n**The anchor is the whole trick.** The `time` source hands the module each bar's open time in epoch seconds. Divide by 86400 and you have a UTC day index; shift by three days and divide by seven and you have a week index whose boundary is Monday 00:00 UTC. When the index changes, the price-times-volume and volume sums reset. The reset is tied to the calendar, not to your scroll position or how much history loaded, which is exactly why the level is stable and shared. `vwap(anchor=\"week\")` did this for the kScript; here it is eight lines of arithmetic you can read.\n\n**Warm-up is honest.** A session that was already running when the loaded history starts is incomplete, so both lines stay `NaN` until their first boundary passes, exactly like the kScript's `na` before the first complete session. The daily line fills in within the first day of loaded data, the weekly line needs about a week. `state()` still returns `1` on those bars: the row exists, and the lines that are ready draw while the ones that are warming do not. That is the second warm-up policy from the [Execution model](../core-concepts/execution-model.md): write `NaN` to one output rather than abstaining the whole row.\n\n**The band frames the move.** `week_upper` and `week_lower` are the weekly VWAP scaled by a percentage, drawn faint with `opacity: 0.3`, and `box(\"week_band\", ...)` shades between them: with `from` and `to` left at `0` every bar contributes a one-bar-wide slice and the slices tile into a channel. Its `borderWidth: 0` keeps the slices from showing seams. The two band outputs are bound to consts because the box names them by handle. When price rides the upper band it is stretched rich versus the week's fair value; when it sags to the lower band it is cheap.\n\n**The stretch readout.** `(close - week_vwap) / week_vwap * 100` is the most actionable number, so it gets its own pane as `stretch_pct` with a `%` unit, `NaN` while the weekly line is warming. Where the kScript printed it once, in a table on the last bar, the Indicator has it on every bar: a series you can read back in the legend, and a metric a watch can compare.\n\n## What changed in the port\n\n- `vwap(anchor=\"week\")` is your own arithmetic. There is no anchored-VWAP builtin; the `time` source and a reset-on-boundary sum are the building blocks, and they port to any anchor.\n- The color inputs are gone: `color` is declared on each output, and the band tint is a box color with its own `opacity` instead of `opacity()` calls. There is no color picker param; a runtime color knob exists only as a style knob in a hand-written sheet ([Styling](../functions/styling.md)).\n- `fillBetween` became a box on every bar. `fills` exists in hand-written sheets only, and `range()` bands are not drawn by the chart today, so the box is the form that works everywhere.\n- The `isLastBar` table became a lower-pane series: the readout is now visible for every bar, and it is a metric an alert could watch. A one-cell table is possible with a string slot and `render.table` ([Drawing objects](../functions/drawing-objects.md)), at the cost of switching the file to the second runtime contract.\n\n## Customize it\n\n- **Band width.** `band_pct` sets how far the band sits from the VWAP. Tighten it toward `0.2` on calm majors, widen it toward `2` on volatile names so the band actually contains the noise.\n- **Anchor period.** For a monthly anchor, compute the month index from the day index (a lookup over cumulative month lengths, leap years included); the reset logic does not change. Monthly needs about a month of loaded history before it shows anything.\n- **Band the daily line too.** Duplicate the two band outputs and the box against `day_vwap` if you trade the intraday session instead.\n- **Stretch as a signal.** Add a data-only gate output (`stretch_pct > 1.5`) and a `shape` output with `shape_where` on it, the way the [volume spike](volume-spike.md) marks its bars. Or skip the mark and watch the metric directly on your machine; `--once` makes the watch fire a single time and pause itself:\n\n```bash\nom watch create \"Stretched from VWAP\" --condition '{\"metric\":\"wrun/@you/anchored-vwap/stretch_pct\",\"selector\":{\"exchange\":\"BINANCE_FUTURES\",\"symbol\":\"BTCUSDT\",\"interval\":\"HOUR\"},\"op\":\"gt\",\"value\":1.5}' --once\n```\n\n## Concepts used\n\n- [Time and sessions](../core-concepts/time-and-sessions.md) for the day and week indexes from `time.bar_open_sec`\n- [Special indicators](../functions/special-indicators.md) for the anchored-VWAP pattern as a worked function\n- [Drawing objects](../functions/drawing-objects.md) for the per-bar box that shades the band\n- [na and scalar types](../core-concepts/na-and-scalar-types.md) for the `NaN` warm-up on each line\n",{"type":13,"children":14,"data":5461,"position":5463},"root",[15,25,28,29,46,47,62,63,82,83,1578,1579,1596,1597,4040,4041,4058,4059,4132,4133,4286,4287,4473,4474,4580,4581,4597,4598,4901,4902,4918,4919,5228,5229,5275,5276,5292,5293],{"type":16,"value":17,"position":18},"comment"," source: docs/indicators/cookbook/anchored-vwap.md; generated by packages/cli/scripts/gen-indicator-docs.ts, do not edit ",{"start":19,"end":22},{"line":20,"column":20,"offset":21},1,0,{"line":20,"column":23,"offset":24},129,128,{"type":26,"value":27},"text","\n",{"type":26,"value":27},{"type":30,"tagName":31,"properties":32,"children":33,"position":43},"element","p",{},[34],{"type":26,"value":35,"position":36},"Weekly and daily VWAP that reset on real UTC session boundaries, with a shaded band and a stretch readout for mean-reversion context. The kScript (legacy) recipe and the Indicator it became, side by side.",{"start":37,"end":40},{"line":38,"column":20,"offset":39},5,147,{"line":38,"column":41,"offset":42},205,351,{"start":44,"end":45},{"line":38,"column":20,"offset":39},{"line":38,"column":41,"offset":42},{"type":26,"value":27},{"type":30,"tagName":31,"properties":48,"children":49,"position":59},{},[50],{"type":26,"value":51,"position":52},"VWAP is the volume-weighted average price, the level large players benchmark fills against. A plain cumulative VWAP drifts: it averages from wherever the chart happened to start loading, so the line you see depends on how much history your browser fetched. This recipe pins VWAP to calendar sessions instead. The weekly line resets every Monday at 00:00 UTC and the daily line resets every midnight, so two traders looking at the same symbol see the same level. It adds a percentage band and a \"stretch\" number that tells you how far price has pulled from fair value.",{"start":53,"end":56},{"line":54,"column":20,"offset":55},7,353,{"line":54,"column":57,"offset":58},568,920,{"start":60,"end":61},{"line":54,"column":20,"offset":55},{"line":54,"column":57,"offset":58},{"type":26,"value":27},{"type":30,"tagName":64,"properties":65,"children":67,"position":78},"h2",{"id":66},"the-kscript-legacy-recipe",[68],{"type":26,"value":69,"position":70},"The kScript (legacy) recipe",{"start":71,"end":75},{"line":72,"column":73,"offset":74},9,4,925,{"line":72,"column":76,"offset":77},31,952,{"start":79,"end":81},{"line":72,"column":20,"offset":80},922,{"line":72,"column":76,"offset":77},{"type":26,"value":27},{"type":13,"children":84},[85],{"type":30,"tagName":86,"properties":87,"children":91,"data":-1},"pre",{"class":88,"style":89,"tabindex":90},"shiki shiki-themes github-dark github-light","--shiki-dark:#e1e4e8;--shiki-light:#24292e;--shiki-dark-bg:#24292e;--shiki-light-bg:#fff","0",[92],{"type":30,"tagName":93,"properties":94,"children":95},"code",{},[96,107,108,116,117,125,126,134,135,143,144,152,153,161,162,169,170,231,232,235,236,318,319,395,396,511,512,515,516,556,557,560,561,569,570,615,616,657,658,661,662,717,718,767,768,771,772,843,844,910,911,997,998,1080,1081,1103,1104,1107,1108,1116,1117,1254,1255,1268,1269,1282,1283,1486,1487,1560,1561,1569,1570],{"type":30,"tagName":97,"properties":98,"children":100},"span",{"class":99},"line",[101],{"type":30,"tagName":97,"properties":102,"children":104},{"style":103},"--shiki-dark:#6A737D;--shiki-light:#6A737D",[105],{"type":26,"value":106},"//@version=2",{"type":26,"value":27},{"type":30,"tagName":97,"properties":109,"children":110},{"class":99},[111],{"type":30,"tagName":97,"properties":112,"children":113},{"style":103},[114],{"type":26,"value":115},"// ============================================================================",{"type":26,"value":27},{"type":30,"tagName":97,"properties":118,"children":119},{"class":99},[120],{"type":30,"tagName":97,"properties":121,"children":122},{"style":103},[123],{"type":26,"value":124},"//  WEEKLY ANCHORED VWAP + DAILY SESSIONS  (v3.2 only)",{"type":26,"value":27},{"type":30,"tagName":97,"properties":127,"children":128},{"class":99},[129],{"type":30,"tagName":97,"properties":130,"children":131},{"style":103},[132],{"type":26,"value":133},"//  v2's vwap was a single cumulative line from wherever the chart happened to",{"type":26,"value":27},{"type":30,"tagName":97,"properties":136,"children":137},{"class":99},[138],{"type":30,"tagName":97,"properties":139,"children":140},{"style":103},[141],{"type":26,"value":142},"//  start loading: it drifted as more history loaded. v3 anchors to real UTC",{"type":26,"value":27},{"type":30,"tagName":97,"properties":145,"children":146},{"class":99},[147],{"type":30,"tagName":97,"properties":148,"children":149},{"style":103},[150],{"type":26,"value":151},"//  sessions: the weekly VWAP resets every Monday 00:00 UTC and the daily one",{"type":26,"value":27},{"type":30,"tagName":97,"properties":154,"children":155},{"class":99},[156],{"type":30,"tagName":97,"properties":157,"children":158},{"style":103},[159],{"type":26,"value":160},"//  every midnight, regardless of how much data the browser fetched.",{"type":26,"value":27},{"type":30,"tagName":97,"properties":163,"children":164},{"class":99},[165],{"type":30,"tagName":97,"properties":166,"children":167},{"style":103},[168],{"type":26,"value":115},{"type":26,"value":27},{"type":30,"tagName":97,"properties":171,"children":172},{"class":99},[173,179,185,191,197,202,206,211,216,220,226],{"type":30,"tagName":97,"properties":174,"children":176},{"style":175},"--shiki-dark:#B392F0;--shiki-light:#6F42C1",[177],{"type":26,"value":178},"define",{"type":30,"tagName":97,"properties":180,"children":182},{"style":181},"--shiki-dark:#E1E4E8;--shiki-light:#24292E",[183],{"type":26,"value":184},"(title",{"type":30,"tagName":97,"properties":186,"children":188},{"style":187},"--shiki-dark:#F97583;--shiki-light:#D73A49",[189],{"type":26,"value":190},"=",{"type":30,"tagName":97,"properties":192,"children":194},{"style":193},"--shiki-dark:#9ECBFF;--shiki-light:#032F62",[195],{"type":26,"value":196},"\"Anchored VWAP (week + day)\"",{"type":30,"tagName":97,"properties":198,"children":199},{"style":181},[200],{"type":26,"value":201},", position",{"type":30,"tagName":97,"properties":203,"children":204},{"style":187},[205],{"type":26,"value":190},{"type":30,"tagName":97,"properties":207,"children":208},{"style":193},[209],{"type":26,"value":210},"\"onchart\"",{"type":30,"tagName":97,"properties":212,"children":213},{"style":181},[214],{"type":26,"value":215},", axis",{"type":30,"tagName":97,"properties":217,"children":218},{"style":187},[219],{"type":26,"value":190},{"type":30,"tagName":97,"properties":221,"children":223},{"style":222},"--shiki-dark:#79B8FF;--shiki-light:#005CC5",[224],{"type":26,"value":225},"false",{"type":30,"tagName":97,"properties":227,"children":228},{"style":181},[229],{"type":26,"value":230},");",{"type":26,"value":27},{"type":30,"tagName":97,"properties":233,"children":234},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":237,"children":238},{"class":99},[239,244,249,253,258,263,267,272,277,281,286,291,295,300,305,309,314],{"type":30,"tagName":97,"properties":240,"children":241},{"style":187},[242],{"type":26,"value":243},"var",{"type":30,"tagName":97,"properties":245,"children":246},{"style":181},[247],{"type":26,"value":248}," weekCol ",{"type":30,"tagName":97,"properties":250,"children":251},{"style":187},[252],{"type":26,"value":190},{"type":30,"tagName":97,"properties":254,"children":255},{"style":175},[256],{"type":26,"value":257}," input",{"type":30,"tagName":97,"properties":259,"children":260},{"style":181},[261],{"type":26,"value":262},"(name",{"type":30,"tagName":97,"properties":264,"children":265},{"style":187},[266],{"type":26,"value":190},{"type":30,"tagName":97,"properties":268,"children":269},{"style":193},[270],{"type":26,"value":271},"\"weekCol\"",{"type":30,"tagName":97,"properties":273,"children":274},{"style":181},[275],{"type":26,"value":276},", type",{"type":30,"tagName":97,"properties":278,"children":279},{"style":187},[280],{"type":26,"value":190},{"type":30,"tagName":97,"properties":282,"children":283},{"style":193},[284],{"type":26,"value":285},"\"color\"",{"type":30,"tagName":97,"properties":287,"children":288},{"style":181},[289],{"type":26,"value":290},", defaultValue",{"type":30,"tagName":97,"properties":292,"children":293},{"style":187},[294],{"type":26,"value":190},{"type":30,"tagName":97,"properties":296,"children":297},{"style":193},[298],{"type":26,"value":299},"\"#f5a623\"",{"type":30,"tagName":97,"properties":301,"children":302},{"style":181},[303],{"type":26,"value":304},", label",{"type":30,"tagName":97,"properties":306,"children":307},{"style":187},[308],{"type":26,"value":190},{"type":30,"tagName":97,"properties":310,"children":311},{"style":193},[312],{"type":26,"value":313},"\"Weekly VWAP\"",{"type":30,"tagName":97,"properties":315,"children":316},{"style":181},[317],{"type":26,"value":230},{"type":26,"value":27},{"type":30,"tagName":97,"properties":320,"children":321},{"class":99},[322,326,331,335,339,343,347,352,357,361,365,369,373,378,382,386,391],{"type":30,"tagName":97,"properties":323,"children":324},{"style":187},[325],{"type":26,"value":243},{"type":30,"tagName":97,"properties":327,"children":328},{"style":181},[329],{"type":26,"value":330}," dayCol  ",{"type":30,"tagName":97,"properties":332,"children":333},{"style":187},[334],{"type":26,"value":190},{"type":30,"tagName":97,"properties":336,"children":337},{"style":175},[338],{"type":26,"value":257},{"type":30,"tagName":97,"properties":340,"children":341},{"style":181},[342],{"type":26,"value":262},{"type":30,"tagName":97,"properties":344,"children":345},{"style":187},[346],{"type":26,"value":190},{"type":30,"tagName":97,"properties":348,"children":349},{"style":193},[350],{"type":26,"value":351},"\"dayCol\"",{"type":30,"tagName":97,"properties":353,"children":354},{"style":181},[355],{"type":26,"value":356},",  type",{"type":30,"tagName":97,"properties":358,"children":359},{"style":187},[360],{"type":26,"value":190},{"type":30,"tagName":97,"properties":362,"children":363},{"style":193},[364],{"type":26,"value":285},{"type":30,"tagName":97,"properties":366,"children":367},{"style":181},[368],{"type":26,"value":290},{"type":30,"tagName":97,"properties":370,"children":371},{"style":187},[372],{"type":26,"value":190},{"type":30,"tagName":97,"properties":374,"children":375},{"style":193},[376],{"type":26,"value":377},"\"#4a90d9\"",{"type":30,"tagName":97,"properties":379,"children":380},{"style":181},[381],{"type":26,"value":304},{"type":30,"tagName":97,"properties":383,"children":384},{"style":187},[385],{"type":26,"value":190},{"type":30,"tagName":97,"properties":387,"children":388},{"style":193},[389],{"type":26,"value":390},"\"Daily VWAP\"",{"type":30,"tagName":97,"properties":392,"children":393},{"style":181},[394],{"type":26,"value":230},{"type":26,"value":27},{"type":30,"tagName":97,"properties":397,"children":398},{"class":99},[399,403,408,412,416,420,424,429,433,437,442,446,450,455,459,463,468,473,477,482,487,492,497,502,506],{"type":30,"tagName":97,"properties":400,"children":401},{"style":187},[402],{"type":26,"value":243},{"type":30,"tagName":97,"properties":404,"children":405},{"style":181},[406],{"type":26,"value":407}," bandPct ",{"type":30,"tagName":97,"properties":409,"children":410},{"style":187},[411],{"type":26,"value":190},{"type":30,"tagName":97,"properties":413,"children":414},{"style":175},[415],{"type":26,"value":257},{"type":30,"tagName":97,"properties":417,"children":418},{"style":181},[419],{"type":26,"value":262},{"type":30,"tagName":97,"properties":421,"children":422},{"style":187},[423],{"type":26,"value":190},{"type":30,"tagName":97,"properties":425,"children":426},{"style":193},[427],{"type":26,"value":428},"\"bandPct\"",{"type":30,"tagName":97,"properties":430,"children":431},{"style":181},[432],{"type":26,"value":276},{"type":30,"tagName":97,"properties":434,"children":435},{"style":187},[436],{"type":26,"value":190},{"type":30,"tagName":97,"properties":438,"children":439},{"style":193},[440],{"type":26,"value":441},"\"slider\"",{"type":30,"tagName":97,"properties":443,"children":444},{"style":181},[445],{"type":26,"value":290},{"type":30,"tagName":97,"properties":447,"children":448},{"style":187},[449],{"type":26,"value":190},{"type":30,"tagName":97,"properties":451,"children":452},{"style":222},[453],{"type":26,"value":454},"0.5",{"type":30,"tagName":97,"properties":456,"children":457},{"style":181},[458],{"type":26,"value":304},{"type":30,"tagName":97,"properties":460,"children":461},{"style":187},[462],{"type":26,"value":190},{"type":30,"tagName":97,"properties":464,"children":465},{"style":193},[466],{"type":26,"value":467},"\"Band %\"",{"type":30,"tagName":97,"properties":469,"children":470},{"style":181},[471],{"type":26,"value":472},", constraints",{"type":30,"tagName":97,"properties":474,"children":475},{"style":187},[476],{"type":26,"value":190},{"type":30,"tagName":97,"properties":478,"children":479},{"style":181},[480],{"type":26,"value":481},"{min: ",{"type":30,"tagName":97,"properties":483,"children":484},{"style":222},[485],{"type":26,"value":486},"0.1",{"type":30,"tagName":97,"properties":488,"children":489},{"style":181},[490],{"type":26,"value":491},", max: ",{"type":30,"tagName":97,"properties":493,"children":494},{"style":222},[495],{"type":26,"value":496},"3",{"type":30,"tagName":97,"properties":498,"children":499},{"style":181},[500],{"type":26,"value":501},", step: ",{"type":30,"tagName":97,"properties":503,"children":504},{"style":222},[505],{"type":26,"value":486},{"type":30,"tagName":97,"properties":507,"children":508},{"style":181},[509],{"type":26,"value":510},"});",{"type":26,"value":27},{"type":30,"tagName":97,"properties":513,"children":514},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":517,"children":518},{"class":99},[519,524,528,533,538,542,547,551],{"type":30,"tagName":97,"properties":520,"children":521},{"style":181},[522],{"type":26,"value":523},"timeseries d ",{"type":30,"tagName":97,"properties":525,"children":526},{"style":187},[527],{"type":26,"value":190},{"type":30,"tagName":97,"properties":529,"children":530},{"style":175},[531],{"type":26,"value":532}," ohlcv",{"type":30,"tagName":97,"properties":534,"children":535},{"style":181},[536],{"type":26,"value":537},"(symbol",{"type":30,"tagName":97,"properties":539,"children":540},{"style":187},[541],{"type":26,"value":190},{"type":30,"tagName":97,"properties":543,"children":544},{"style":181},[545],{"type":26,"value":546},"currentSymbol, exchange",{"type":30,"tagName":97,"properties":548,"children":549},{"style":187},[550],{"type":26,"value":190},{"type":30,"tagName":97,"properties":552,"children":553},{"style":181},[554],{"type":26,"value":555},"currentExchange);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":558,"children":559},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":562,"children":563},{"class":99},[564],{"type":30,"tagName":97,"properties":565,"children":566},{"style":103},[567],{"type":26,"value":568},"// Session-anchored: na before the first complete session, exact after.",{"type":26,"value":27},{"type":30,"tagName":97,"properties":571,"children":572},{"class":99},[573,578,582,587,592,596,601,606,610],{"type":30,"tagName":97,"properties":574,"children":575},{"style":181},[576],{"type":26,"value":577},"timeseries wVwap ",{"type":30,"tagName":97,"properties":579,"children":580},{"style":187},[581],{"type":26,"value":190},{"type":30,"tagName":97,"properties":583,"children":584},{"style":175},[585],{"type":26,"value":586}," vwap",{"type":30,"tagName":97,"properties":588,"children":589},{"style":181},[590],{"type":26,"value":591},"(anchor",{"type":30,"tagName":97,"properties":593,"children":594},{"style":187},[595],{"type":26,"value":190},{"type":30,"tagName":97,"properties":597,"children":598},{"style":193},[599],{"type":26,"value":600},"\"week\"",{"type":30,"tagName":97,"properties":602,"children":603},{"style":181},[604],{"type":26,"value":605},", source",{"type":30,"tagName":97,"properties":607,"children":608},{"style":187},[609],{"type":26,"value":190},{"type":30,"tagName":97,"properties":611,"children":612},{"style":181},[613],{"type":26,"value":614},"d);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":617,"children":618},{"class":99},[619,624,628,632,636,640,645,649,653],{"type":30,"tagName":97,"properties":620,"children":621},{"style":181},[622],{"type":26,"value":623},"timeseries dVwap ",{"type":30,"tagName":97,"properties":625,"children":626},{"style":187},[627],{"type":26,"value":190},{"type":30,"tagName":97,"properties":629,"children":630},{"style":175},[631],{"type":26,"value":586},{"type":30,"tagName":97,"properties":633,"children":634},{"style":181},[635],{"type":26,"value":591},{"type":30,"tagName":97,"properties":637,"children":638},{"style":187},[639],{"type":26,"value":190},{"type":30,"tagName":97,"properties":641,"children":642},{"style":193},[643],{"type":26,"value":644},"\"day\"",{"type":30,"tagName":97,"properties":646,"children":647},{"style":181},[648],{"type":26,"value":605},{"type":30,"tagName":97,"properties":650,"children":651},{"style":187},[652],{"type":26,"value":190},{"type":30,"tagName":97,"properties":654,"children":655},{"style":181},[656],{"type":26,"value":614},{"type":26,"value":27},{"type":30,"tagName":97,"properties":659,"children":660},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":663,"children":664},{"class":99},[665,670,674,679,684,689,694,699,703,708,713],{"type":30,"tagName":97,"properties":666,"children":667},{"style":181},[668],{"type":26,"value":669},"timeseries wUpper ",{"type":30,"tagName":97,"properties":671,"children":672},{"style":187},[673],{"type":26,"value":190},{"type":30,"tagName":97,"properties":675,"children":676},{"style":181},[677],{"type":26,"value":678}," wVwap ",{"type":30,"tagName":97,"properties":680,"children":681},{"style":187},[682],{"type":26,"value":683},"*",{"type":30,"tagName":97,"properties":685,"children":686},{"style":181},[687],{"type":26,"value":688}," (",{"type":30,"tagName":97,"properties":690,"children":691},{"style":222},[692],{"type":26,"value":693},"1",{"type":30,"tagName":97,"properties":695,"children":696},{"style":187},[697],{"type":26,"value":698}," +",{"type":30,"tagName":97,"properties":700,"children":701},{"style":181},[702],{"type":26,"value":407},{"type":30,"tagName":97,"properties":704,"children":705},{"style":187},[706],{"type":26,"value":707},"/",{"type":30,"tagName":97,"properties":709,"children":710},{"style":222},[711],{"type":26,"value":712}," 100",{"type":30,"tagName":97,"properties":714,"children":715},{"style":181},[716],{"type":26,"value":230},{"type":26,"value":27},{"type":30,"tagName":97,"properties":719,"children":720},{"class":99},[721,726,730,734,738,742,746,751,755,759,763],{"type":30,"tagName":97,"properties":722,"children":723},{"style":181},[724],{"type":26,"value":725},"timeseries wLower ",{"type":30,"tagName":97,"properties":727,"children":728},{"style":187},[729],{"type":26,"value":190},{"type":30,"tagName":97,"properties":731,"children":732},{"style":181},[733],{"type":26,"value":678},{"type":30,"tagName":97,"properties":735,"children":736},{"style":187},[737],{"type":26,"value":683},{"type":30,"tagName":97,"properties":739,"children":740},{"style":181},[741],{"type":26,"value":688},{"type":30,"tagName":97,"properties":743,"children":744},{"style":222},[745],{"type":26,"value":693},{"type":30,"tagName":97,"properties":747,"children":748},{"style":187},[749],{"type":26,"value":750}," -",{"type":30,"tagName":97,"properties":752,"children":753},{"style":181},[754],{"type":26,"value":407},{"type":30,"tagName":97,"properties":756,"children":757},{"style":187},[758],{"type":26,"value":707},{"type":30,"tagName":97,"properties":760,"children":761},{"style":222},[762],{"type":26,"value":712},{"type":30,"tagName":97,"properties":764,"children":765},{"style":181},[766],{"type":26,"value":230},{"type":26,"value":27},{"type":30,"tagName":97,"properties":769,"children":770},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":773,"children":774},{"class":99},[775,780,785,789,794,798,803,807,811,816,820,825,829,833,838],{"type":30,"tagName":97,"properties":776,"children":777},{"style":175},[778],{"type":26,"value":779},"plotLine",{"type":30,"tagName":97,"properties":781,"children":782},{"style":181},[783],{"type":26,"value":784},"(wVwap, colors",{"type":30,"tagName":97,"properties":786,"children":787},{"style":187},[788],{"type":26,"value":190},{"type":30,"tagName":97,"properties":790,"children":791},{"style":181},[792],{"type":26,"value":793},"[weekCol], width",{"type":30,"tagName":97,"properties":795,"children":796},{"style":187},[797],{"type":26,"value":190},{"type":30,"tagName":97,"properties":799,"children":800},{"style":222},[801],{"type":26,"value":802},"2",{"type":30,"tagName":97,"properties":804,"children":805},{"style":181},[806],{"type":26,"value":304},{"type":30,"tagName":97,"properties":808,"children":809},{"style":187},[810],{"type":26,"value":190},{"type":30,"tagName":97,"properties":812,"children":813},{"style":181},[814],{"type":26,"value":815},"[",{"type":30,"tagName":97,"properties":817,"children":818},{"style":193},[819],{"type":26,"value":313},{"type":30,"tagName":97,"properties":821,"children":822},{"style":181},[823],{"type":26,"value":824},"], desc",{"type":30,"tagName":97,"properties":826,"children":827},{"style":187},[828],{"type":26,"value":190},{"type":30,"tagName":97,"properties":830,"children":831},{"style":181},[832],{"type":26,"value":815},{"type":30,"tagName":97,"properties":834,"children":835},{"style":193},[836],{"type":26,"value":837},"\"Volume weighted average price anchored to the UTC week\"",{"type":30,"tagName":97,"properties":839,"children":840},{"style":181},[841],{"type":26,"value":842},"]);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":845,"children":846},{"class":99},[847,851,856,860,865,869,873,877,881,885,889,893,897,901,906],{"type":30,"tagName":97,"properties":848,"children":849},{"style":175},[850],{"type":26,"value":779},{"type":30,"tagName":97,"properties":852,"children":853},{"style":181},[854],{"type":26,"value":855},"(dVwap, colors",{"type":30,"tagName":97,"properties":857,"children":858},{"style":187},[859],{"type":26,"value":190},{"type":30,"tagName":97,"properties":861,"children":862},{"style":181},[863],{"type":26,"value":864},"[dayCol], width",{"type":30,"tagName":97,"properties":866,"children":867},{"style":187},[868],{"type":26,"value":190},{"type":30,"tagName":97,"properties":870,"children":871},{"style":222},[872],{"type":26,"value":693},{"type":30,"tagName":97,"properties":874,"children":875},{"style":181},[876],{"type":26,"value":304},{"type":30,"tagName":97,"properties":878,"children":879},{"style":187},[880],{"type":26,"value":190},{"type":30,"tagName":97,"properties":882,"children":883},{"style":181},[884],{"type":26,"value":815},{"type":30,"tagName":97,"properties":886,"children":887},{"style":193},[888],{"type":26,"value":390},{"type":30,"tagName":97,"properties":890,"children":891},{"style":181},[892],{"type":26,"value":824},{"type":30,"tagName":97,"properties":894,"children":895},{"style":187},[896],{"type":26,"value":190},{"type":30,"tagName":97,"properties":898,"children":899},{"style":181},[900],{"type":26,"value":815},{"type":30,"tagName":97,"properties":902,"children":903},{"style":193},[904],{"type":26,"value":905},"\"Volume weighted average price anchored to the UTC day\"",{"type":30,"tagName":97,"properties":907,"children":908},{"style":181},[909],{"type":26,"value":842},{"type":26,"value":27},{"type":30,"tagName":97,"properties":912,"children":913},{"class":99},[914,918,923,927,931,936,941,946,951,955,959,963,967,971,976,980,984,988,993],{"type":30,"tagName":97,"properties":915,"children":916},{"style":175},[917],{"type":26,"value":779},{"type":30,"tagName":97,"properties":919,"children":920},{"style":181},[921],{"type":26,"value":922},"(wUpper, colors",{"type":30,"tagName":97,"properties":924,"children":925},{"style":187},[926],{"type":26,"value":190},{"type":30,"tagName":97,"properties":928,"children":929},{"style":181},[930],{"type":26,"value":815},{"type":30,"tagName":97,"properties":932,"children":933},{"style":175},[934],{"type":26,"value":935},"opacity",{"type":30,"tagName":97,"properties":937,"children":938},{"style":181},[939],{"type":26,"value":940},"(weekCol, ",{"type":30,"tagName":97,"properties":942,"children":943},{"style":222},[944],{"type":26,"value":945},"30",{"type":30,"tagName":97,"properties":947,"children":948},{"style":181},[949],{"type":26,"value":950},")], width",{"type":30,"tagName":97,"properties":952,"children":953},{"style":187},[954],{"type":26,"value":190},{"type":30,"tagName":97,"properties":956,"children":957},{"style":222},[958],{"type":26,"value":693},{"type":30,"tagName":97,"properties":960,"children":961},{"style":181},[962],{"type":26,"value":304},{"type":30,"tagName":97,"properties":964,"children":965},{"style":187},[966],{"type":26,"value":190},{"type":30,"tagName":97,"properties":968,"children":969},{"style":181},[970],{"type":26,"value":815},{"type":30,"tagName":97,"properties":972,"children":973},{"style":193},[974],{"type":26,"value":975},"\"Week Upper\"",{"type":30,"tagName":97,"properties":977,"children":978},{"style":181},[979],{"type":26,"value":824},{"type":30,"tagName":97,"properties":981,"children":982},{"style":187},[983],{"type":26,"value":190},{"type":30,"tagName":97,"properties":985,"children":986},{"style":181},[987],{"type":26,"value":815},{"type":30,"tagName":97,"properties":989,"children":990},{"style":193},[991],{"type":26,"value":992},"\"Weekly VWAP plus band percent\"",{"type":30,"tagName":97,"properties":994,"children":995},{"style":181},[996],{"type":26,"value":842},{"type":26,"value":27},{"type":30,"tagName":97,"properties":999,"children":1000},{"class":99},[1001,1005,1010,1014,1018,1022,1026,1030,1034,1038,1042,1046,1050,1054,1059,1063,1067,1071,1076],{"type":30,"tagName":97,"properties":1002,"children":1003},{"style":175},[1004],{"type":26,"value":779},{"type":30,"tagName":97,"properties":1006,"children":1007},{"style":181},[1008],{"type":26,"value":1009},"(wLower, colors",{"type":30,"tagName":97,"properties":1011,"children":1012},{"style":187},[1013],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1015,"children":1016},{"style":181},[1017],{"type":26,"value":815},{"type":30,"tagName":97,"properties":1019,"children":1020},{"style":175},[1021],{"type":26,"value":935},{"type":30,"tagName":97,"properties":1023,"children":1024},{"style":181},[1025],{"type":26,"value":940},{"type":30,"tagName":97,"properties":1027,"children":1028},{"style":222},[1029],{"type":26,"value":945},{"type":30,"tagName":97,"properties":1031,"children":1032},{"style":181},[1033],{"type":26,"value":950},{"type":30,"tagName":97,"properties":1035,"children":1036},{"style":187},[1037],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1039,"children":1040},{"style":222},[1041],{"type":26,"value":693},{"type":30,"tagName":97,"properties":1043,"children":1044},{"style":181},[1045],{"type":26,"value":304},{"type":30,"tagName":97,"properties":1047,"children":1048},{"style":187},[1049],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1051,"children":1052},{"style":181},[1053],{"type":26,"value":815},{"type":30,"tagName":97,"properties":1055,"children":1056},{"style":193},[1057],{"type":26,"value":1058},"\"Week Lower\"",{"type":30,"tagName":97,"properties":1060,"children":1061},{"style":181},[1062],{"type":26,"value":824},{"type":30,"tagName":97,"properties":1064,"children":1065},{"style":187},[1066],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1068,"children":1069},{"style":181},[1070],{"type":26,"value":815},{"type":30,"tagName":97,"properties":1072,"children":1073},{"style":193},[1074],{"type":26,"value":1075},"\"Weekly VWAP minus band percent\"",{"type":30,"tagName":97,"properties":1077,"children":1078},{"style":181},[1079],{"type":26,"value":842},{"type":26,"value":27},{"type":30,"tagName":97,"properties":1082,"children":1083},{"class":99},[1084,1089,1094,1099],{"type":30,"tagName":97,"properties":1085,"children":1086},{"style":175},[1087],{"type":26,"value":1088},"fillBetween",{"type":30,"tagName":97,"properties":1090,"children":1091},{"style":181},[1092],{"type":26,"value":1093},"(wUpper, wLower, weekCol, ",{"type":30,"tagName":97,"properties":1095,"children":1096},{"style":222},[1097],{"type":26,"value":1098},"0.08",{"type":30,"tagName":97,"properties":1100,"children":1101},{"style":181},[1102],{"type":26,"value":230},{"type":26,"value":27},{"type":30,"tagName":97,"properties":1105,"children":1106},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":1109,"children":1110},{"class":99},[1111],{"type":30,"tagName":97,"properties":1112,"children":1113},{"style":103},[1114],{"type":26,"value":1115},"// Price stretched from the weekly anchor = mean-reversion context.",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1118,"children":1119},{"class":99},[1120,1124,1129,1133,1138,1143,1147,1152,1157,1162,1166,1171,1176,1181,1186,1191,1195,1199,1204,1208,1212,1216,1220,1224,1228,1232,1236,1240,1245,1249],{"type":30,"tagName":97,"properties":1121,"children":1122},{"style":187},[1123],{"type":26,"value":243},{"type":30,"tagName":97,"properties":1125,"children":1126},{"style":181},[1127],{"type":26,"value":1128}," stretch ",{"type":30,"tagName":97,"properties":1130,"children":1131},{"style":187},[1132],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1134,"children":1135},{"style":175},[1136],{"type":26,"value":1137}," isnum",{"type":30,"tagName":97,"properties":1139,"children":1140},{"style":181},[1141],{"type":26,"value":1142},"(wVwap[",{"type":30,"tagName":97,"properties":1144,"children":1145},{"style":222},[1146],{"type":26,"value":90},{"type":30,"tagName":97,"properties":1148,"children":1149},{"style":181},[1150],{"type":26,"value":1151},"]) ",{"type":30,"tagName":97,"properties":1153,"children":1154},{"style":187},[1155],{"type":26,"value":1156},"&&",{"type":30,"tagName":97,"properties":1158,"children":1159},{"style":181},[1160],{"type":26,"value":1161}," wVwap[",{"type":30,"tagName":97,"properties":1163,"children":1164},{"style":222},[1165],{"type":26,"value":90},{"type":30,"tagName":97,"properties":1167,"children":1168},{"style":181},[1169],{"type":26,"value":1170},"] ",{"type":30,"tagName":97,"properties":1172,"children":1173},{"style":187},[1174],{"type":26,"value":1175},">",{"type":30,"tagName":97,"properties":1177,"children":1178},{"style":222},[1179],{"type":26,"value":1180}," 0",{"type":30,"tagName":97,"properties":1182,"children":1183},{"style":187},[1184],{"type":26,"value":1185}," ?",{"type":30,"tagName":97,"properties":1187,"children":1188},{"style":181},[1189],{"type":26,"value":1190}," (d.close[",{"type":30,"tagName":97,"properties":1192,"children":1193},{"style":222},[1194],{"type":26,"value":90},{"type":30,"tagName":97,"properties":1196,"children":1197},{"style":181},[1198],{"type":26,"value":1170},{"type":30,"tagName":97,"properties":1200,"children":1201},{"style":187},[1202],{"type":26,"value":1203},"-",{"type":30,"tagName":97,"properties":1205,"children":1206},{"style":181},[1207],{"type":26,"value":1161},{"type":30,"tagName":97,"properties":1209,"children":1210},{"style":222},[1211],{"type":26,"value":90},{"type":30,"tagName":97,"properties":1213,"children":1214},{"style":181},[1215],{"type":26,"value":1151},{"type":30,"tagName":97,"properties":1217,"children":1218},{"style":187},[1219],{"type":26,"value":707},{"type":30,"tagName":97,"properties":1221,"children":1222},{"style":181},[1223],{"type":26,"value":1161},{"type":30,"tagName":97,"properties":1225,"children":1226},{"style":222},[1227],{"type":26,"value":90},{"type":30,"tagName":97,"properties":1229,"children":1230},{"style":181},[1231],{"type":26,"value":1170},{"type":30,"tagName":97,"properties":1233,"children":1234},{"style":187},[1235],{"type":26,"value":683},{"type":30,"tagName":97,"properties":1237,"children":1238},{"style":222},[1239],{"type":26,"value":712},{"type":30,"tagName":97,"properties":1241,"children":1242},{"style":187},[1243],{"type":26,"value":1244}," :",{"type":30,"tagName":97,"properties":1246,"children":1247},{"style":222},[1248],{"type":26,"value":1180},{"type":30,"tagName":97,"properties":1250,"children":1251},{"style":181},[1252],{"type":26,"value":1253},";",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1256,"children":1257},{"class":99},[1258,1263],{"type":30,"tagName":97,"properties":1259,"children":1260},{"style":187},[1261],{"type":26,"value":1262},"if",{"type":30,"tagName":97,"properties":1264,"children":1265},{"style":181},[1266],{"type":26,"value":1267}," (isLastBar) {",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1270,"children":1271},{"class":99},[1272,1277],{"type":30,"tagName":97,"properties":1273,"children":1274},{"style":175},[1275],{"type":26,"value":1276},"  plotTable",{"type":30,"tagName":97,"properties":1278,"children":1279},{"style":181},[1280],{"type":26,"value":1281},"(",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1284,"children":1285},{"class":99},[1286,1291,1295,1300,1305,1310,1315,1320,1325,1329,1334,1338,1342,1346,1351,1356,1361,1366,1371,1376,1380,1384,1388,1392,1396,1401,1405,1409,1413,1418,1423,1427,1432,1436,1440,1444,1448,1452,1456,1461,1465,1469,1473,1477,1481],{"type":30,"tagName":97,"properties":1287,"children":1288},{"style":181},[1289],{"type":26,"value":1290},"    data",{"type":30,"tagName":97,"properties":1292,"children":1293},{"style":187},[1294],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1296,"children":1297},{"style":181},[1298],{"type":26,"value":1299},"[[",{"type":30,"tagName":97,"properties":1301,"children":1302},{"style":193},[1303],{"type":26,"value":1304},"\"Anchored VWAP\"",{"type":30,"tagName":97,"properties":1306,"children":1307},{"style":181},[1308],{"type":26,"value":1309},", ",{"type":30,"tagName":97,"properties":1311,"children":1312},{"style":193},[1313],{"type":26,"value":1314},"\"\"",{"type":30,"tagName":97,"properties":1316,"children":1317},{"style":181},[1318],{"type":26,"value":1319},"], [",{"type":30,"tagName":97,"properties":1321,"children":1322},{"style":193},[1323],{"type":26,"value":1324},"\"Weekly\"",{"type":30,"tagName":97,"properties":1326,"children":1327},{"style":181},[1328],{"type":26,"value":1309},{"type":30,"tagName":97,"properties":1330,"children":1331},{"style":175},[1332],{"type":26,"value":1333},"isnum",{"type":30,"tagName":97,"properties":1335,"children":1336},{"style":181},[1337],{"type":26,"value":1142},{"type":30,"tagName":97,"properties":1339,"children":1340},{"style":222},[1341],{"type":26,"value":90},{"type":30,"tagName":97,"properties":1343,"children":1344},{"style":181},[1345],{"type":26,"value":1151},{"type":30,"tagName":97,"properties":1347,"children":1348},{"style":187},[1349],{"type":26,"value":1350},"?",{"type":30,"tagName":97,"properties":1352,"children":1353},{"style":193},[1354],{"type":26,"value":1355}," \"\"",{"type":30,"tagName":97,"properties":1357,"children":1358},{"style":181},[1359],{"type":26,"value":1360},".",{"type":30,"tagName":97,"properties":1362,"children":1363},{"style":175},[1364],{"type":26,"value":1365},"concat",{"type":30,"tagName":97,"properties":1367,"children":1368},{"style":181},[1369],{"type":26,"value":1370},"(math.",{"type":30,"tagName":97,"properties":1372,"children":1373},{"style":175},[1374],{"type":26,"value":1375},"round",{"type":30,"tagName":97,"properties":1377,"children":1378},{"style":181},[1379],{"type":26,"value":1142},{"type":30,"tagName":97,"properties":1381,"children":1382},{"style":222},[1383],{"type":26,"value":90},{"type":30,"tagName":97,"properties":1385,"children":1386},{"style":181},[1387],{"type":26,"value":1170},{"type":30,"tagName":97,"properties":1389,"children":1390},{"style":187},[1391],{"type":26,"value":683},{"type":30,"tagName":97,"properties":1393,"children":1394},{"style":222},[1395],{"type":26,"value":712},{"type":30,"tagName":97,"properties":1397,"children":1398},{"style":181},[1399],{"type":26,"value":1400},") ",{"type":30,"tagName":97,"properties":1402,"children":1403},{"style":187},[1404],{"type":26,"value":707},{"type":30,"tagName":97,"properties":1406,"children":1407},{"style":222},[1408],{"type":26,"value":712},{"type":30,"tagName":97,"properties":1410,"children":1411},{"style":181},[1412],{"type":26,"value":1400},{"type":30,"tagName":97,"properties":1414,"children":1415},{"style":187},[1416],{"type":26,"value":1417},":",{"type":30,"tagName":97,"properties":1419,"children":1420},{"style":193},[1421],{"type":26,"value":1422}," \"warming\"",{"type":30,"tagName":97,"properties":1424,"children":1425},{"style":181},[1426],{"type":26,"value":1319},{"type":30,"tagName":97,"properties":1428,"children":1429},{"style":193},[1430],{"type":26,"value":1431},"\"Stretch %\"",{"type":30,"tagName":97,"properties":1433,"children":1434},{"style":181},[1435],{"type":26,"value":1309},{"type":30,"tagName":97,"properties":1437,"children":1438},{"style":193},[1439],{"type":26,"value":1314},{"type":30,"tagName":97,"properties":1441,"children":1442},{"style":181},[1443],{"type":26,"value":1360},{"type":30,"tagName":97,"properties":1445,"children":1446},{"style":175},[1447],{"type":26,"value":1365},{"type":30,"tagName":97,"properties":1449,"children":1450},{"style":181},[1451],{"type":26,"value":1370},{"type":30,"tagName":97,"properties":1453,"children":1454},{"style":175},[1455],{"type":26,"value":1375},{"type":30,"tagName":97,"properties":1457,"children":1458},{"style":181},[1459],{"type":26,"value":1460},"(stretch ",{"type":30,"tagName":97,"properties":1462,"children":1463},{"style":187},[1464],{"type":26,"value":683},{"type":30,"tagName":97,"properties":1466,"children":1467},{"style":222},[1468],{"type":26,"value":712},{"type":30,"tagName":97,"properties":1470,"children":1471},{"style":181},[1472],{"type":26,"value":1400},{"type":30,"tagName":97,"properties":1474,"children":1475},{"style":187},[1476],{"type":26,"value":707},{"type":30,"tagName":97,"properties":1478,"children":1479},{"style":222},[1480],{"type":26,"value":712},{"type":30,"tagName":97,"properties":1482,"children":1483},{"style":181},[1484],{"type":26,"value":1485},")]],",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1488,"children":1489},{"class":99},[1490,1495,1499,1504,1509,1513,1518,1523,1527,1532,1537,1541,1546,1551,1555],{"type":30,"tagName":97,"properties":1491,"children":1492},{"style":181},[1493],{"type":26,"value":1494},"    position",{"type":30,"tagName":97,"properties":1496,"children":1497},{"style":187},[1498],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1500,"children":1501},{"style":193},[1502],{"type":26,"value":1503},"\"bottom_right\"",{"type":30,"tagName":97,"properties":1505,"children":1506},{"style":181},[1507],{"type":26,"value":1508},", headerRow",{"type":30,"tagName":97,"properties":1510,"children":1511},{"style":187},[1512],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1514,"children":1515},{"style":222},[1516],{"type":26,"value":1517},"true",{"type":30,"tagName":97,"properties":1519,"children":1520},{"style":181},[1521],{"type":26,"value":1522},", backgroundColor",{"type":30,"tagName":97,"properties":1524,"children":1525},{"style":187},[1526],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1528,"children":1529},{"style":193},[1530],{"type":26,"value":1531},"\"#0d1117\"",{"type":30,"tagName":97,"properties":1533,"children":1534},{"style":181},[1535],{"type":26,"value":1536},", textColor",{"type":30,"tagName":97,"properties":1538,"children":1539},{"style":187},[1540],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1542,"children":1543},{"style":193},[1544],{"type":26,"value":1545},"\"#e6edf3\"",{"type":30,"tagName":97,"properties":1547,"children":1548},{"style":181},[1549],{"type":26,"value":1550},", fontSize",{"type":30,"tagName":97,"properties":1552,"children":1553},{"style":187},[1554],{"type":26,"value":190},{"type":30,"tagName":97,"properties":1556,"children":1557},{"style":222},[1558],{"type":26,"value":1559},"11",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1562,"children":1563},{"class":99},[1564],{"type":30,"tagName":97,"properties":1565,"children":1566},{"style":181},[1567],{"type":26,"value":1568},"  );",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1571,"children":1572},{"class":99},[1573],{"type":30,"tagName":97,"properties":1574,"children":1575},{"style":181},[1576],{"type":26,"value":1577},"}",{"type":26,"value":27},{"type":30,"tagName":64,"properties":1580,"children":1582,"position":1592},{"id":1581},"the-indicator",[1583],{"type":26,"value":1584,"position":1585},"The Indicator",{"start":1586,"end":1589},{"line":1587,"column":73,"offset":1588},51,3278,{"line":1587,"column":1590,"offset":1591},17,3291,{"start":1593,"end":1595},{"line":1587,"column":20,"offset":1594},3275,{"line":1587,"column":1590,"offset":1591},{"type":26,"value":27},{"type":13,"children":1598},[1599],{"type":30,"tagName":86,"properties":1600,"children":1601,"data":-1},{"class":88,"style":89,"tabindex":90},[1602],{"type":30,"tagName":93,"properties":1603,"children":1604},{},[1605,1632,1633,1658,1659,1671,1672,1680,1681,1689,1690,1698,1699,1707,1708,1716,1717,1725,1726,1747,1748,1773,1774,1777,1778,1835,1836,1858,1859,1880,1881,1902,1903,1924,1925,1946,1947,1995,1996,2041,2042,2096,2097,2146,2147,2194,2195,2243,2244,2247,2248,2283,2284,2317,2318,2351,2352,2384,2385,2419,2420,2452,2453,2485,2486,2518,2519,2551,2552,2584,2585,2617,2618,2650,2651,2654,2655,2691,2692,2714,2715,2722,2723,2726,2727,2760,2761,2782,2783,2850,2851,2876,2877,2885,2886,2938,2939,2993,2994,3017,3018,3058,3059,3076,3077,3097,3098,3118,3119,3127,3128,3149,3150,3186,3187,3204,3205,3225,3226,3246,3247,3254,3255,3282,3283,3299,3300,3324,3325,3341,3342,3350,3351,3414,3415,3478,3479,3496,3497,3504,3505,3508,3509,3541,3542,3555,3556,3569,3570,3618,3619,3663,3664,3750,3751,3763,3764,3771,3772,3775,3776,3808,3809,3829,3830,3849,3850,3869,3870,3890,3891,3911,3912,3931,3932,3951,3952,3972,3973,3992,3993,4012,4013,4032,4033],{"type":30,"tagName":97,"properties":1606,"children":1607},{"class":99},[1608,1613,1618,1623,1628],{"type":30,"tagName":97,"properties":1609,"children":1610},{"style":187},[1611],{"type":26,"value":1612},"import",{"type":30,"tagName":97,"properties":1614,"children":1615},{"style":181},[1616],{"type":26,"value":1617}," { box, input, line, lower, ohlcv, output, overlay, param, time } ",{"type":30,"tagName":97,"properties":1619,"children":1620},{"style":187},[1621],{"type":26,"value":1622},"from",{"type":30,"tagName":97,"properties":1624,"children":1625},{"style":193},[1626],{"type":26,"value":1627}," \"./sdk/declare\"",{"type":30,"tagName":97,"properties":1629,"children":1630},{"style":181},[1631],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":1634,"children":1635},{"class":99},[1636,1640,1645,1649,1654],{"type":30,"tagName":97,"properties":1637,"children":1638},{"style":187},[1639],{"type":26,"value":1612},{"type":30,"tagName":97,"properties":1641,"children":1642},{"style":181},[1643],{"type":26,"value":1644}," { in_bar_t, in_close, in_high, in_low, in_volume } ",{"type":30,"tagName":97,"properties":1646,"children":1647},{"style":187},[1648],{"type":26,"value":1622},{"type":30,"tagName":97,"properties":1650,"children":1651},{"style":193},[1652],{"type":26,"value":1653}," \"./gen/inputs\"",{"type":30,"tagName":97,"properties":1655,"children":1656},{"style":181},[1657],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":1660,"children":1661},{"class":99},[1662,1666],{"type":30,"tagName":97,"properties":1663,"children":1664},{"style":187},[1665],{"type":26,"value":1612},{"type":30,"tagName":97,"properties":1667,"children":1668},{"style":181},[1669],{"type":26,"value":1670}," {",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1673,"children":1674},{"class":99},[1675],{"type":30,"tagName":97,"properties":1676,"children":1677},{"style":181},[1678],{"type":26,"value":1679},"  emitRow,",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1682,"children":1683},{"class":99},[1684],{"type":30,"tagName":97,"properties":1685,"children":1686},{"style":181},[1687],{"type":26,"value":1688},"  out_day_vwap,",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1691,"children":1692},{"class":99},[1693],{"type":30,"tagName":97,"properties":1694,"children":1695},{"style":181},[1696],{"type":26,"value":1697},"  out_stretch_pct,",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1700,"children":1701},{"class":99},[1702],{"type":30,"tagName":97,"properties":1703,"children":1704},{"style":181},[1705],{"type":26,"value":1706},"  out_week_lower,",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1709,"children":1710},{"class":99},[1711],{"type":30,"tagName":97,"properties":1712,"children":1713},{"style":181},[1714],{"type":26,"value":1715},"  out_week_upper,",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1718,"children":1719},{"class":99},[1720],{"type":30,"tagName":97,"properties":1721,"children":1722},{"style":181},[1723],{"type":26,"value":1724},"  out_week_vwap,",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1727,"children":1728},{"class":99},[1729,1734,1738,1743],{"type":30,"tagName":97,"properties":1730,"children":1731},{"style":181},[1732],{"type":26,"value":1733},"} ",{"type":30,"tagName":97,"properties":1735,"children":1736},{"style":187},[1737],{"type":26,"value":1622},{"type":30,"tagName":97,"properties":1739,"children":1740},{"style":193},[1741],{"type":26,"value":1742}," \"./gen/outputs\"",{"type":30,"tagName":97,"properties":1744,"children":1745},{"style":181},[1746],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":1749,"children":1750},{"class":99},[1751,1755,1760,1764,1769],{"type":30,"tagName":97,"properties":1752,"children":1753},{"style":187},[1754],{"type":26,"value":1612},{"type":30,"tagName":97,"properties":1756,"children":1757},{"style":181},[1758],{"type":26,"value":1759}," { p_band_pct } ",{"type":30,"tagName":97,"properties":1761,"children":1762},{"style":187},[1763],{"type":26,"value":1622},{"type":30,"tagName":97,"properties":1765,"children":1766},{"style":193},[1767],{"type":26,"value":1768}," \"./gen/params\"",{"type":30,"tagName":97,"properties":1770,"children":1771},{"style":181},[1772],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":1775,"children":1776},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":1779,"children":1780},{"class":99},[1781,1786,1790,1795,1799,1803,1808,1812,1816,1820,1825,1830],{"type":30,"tagName":97,"properties":1782,"children":1783},{"style":175},[1784],{"type":26,"value":1785},"param",{"type":30,"tagName":97,"properties":1787,"children":1788},{"style":181},[1789],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":1791,"children":1792},{"style":193},[1793],{"type":26,"value":1794},"\"band_pct\"",{"type":30,"tagName":97,"properties":1796,"children":1797},{"style":181},[1798],{"type":26,"value":1309},{"type":30,"tagName":97,"properties":1800,"children":1801},{"style":222},[1802],{"type":26,"value":454},{"type":30,"tagName":97,"properties":1804,"children":1805},{"style":181},[1806],{"type":26,"value":1807},", { min: ",{"type":30,"tagName":97,"properties":1809,"children":1810},{"style":222},[1811],{"type":26,"value":486},{"type":30,"tagName":97,"properties":1813,"children":1814},{"style":181},[1815],{"type":26,"value":491},{"type":30,"tagName":97,"properties":1817,"children":1818},{"style":222},[1819],{"type":26,"value":496},{"type":30,"tagName":97,"properties":1821,"children":1822},{"style":181},[1823],{"type":26,"value":1824},", description: ",{"type":30,"tagName":97,"properties":1826,"children":1827},{"style":193},[1828],{"type":26,"value":1829},"\"Band distance from the weekly VWAP, in percent\"",{"type":30,"tagName":97,"properties":1831,"children":1832},{"style":181},[1833],{"type":26,"value":1834}," });",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1837,"children":1838},{"class":99},[1839,1844,1848,1853],{"type":30,"tagName":97,"properties":1840,"children":1841},{"style":175},[1842],{"type":26,"value":1843},"input",{"type":30,"tagName":97,"properties":1845,"children":1846},{"style":181},[1847],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":1849,"children":1850},{"style":193},[1851],{"type":26,"value":1852},"\"close\"",{"type":30,"tagName":97,"properties":1854,"children":1855},{"style":181},[1856],{"type":26,"value":1857},", ohlcv.close);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1860,"children":1861},{"class":99},[1862,1866,1870,1875],{"type":30,"tagName":97,"properties":1863,"children":1864},{"style":175},[1865],{"type":26,"value":1843},{"type":30,"tagName":97,"properties":1867,"children":1868},{"style":181},[1869],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":1871,"children":1872},{"style":193},[1873],{"type":26,"value":1874},"\"high\"",{"type":30,"tagName":97,"properties":1876,"children":1877},{"style":181},[1878],{"type":26,"value":1879},", ohlcv.high);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1882,"children":1883},{"class":99},[1884,1888,1892,1897],{"type":30,"tagName":97,"properties":1885,"children":1886},{"style":175},[1887],{"type":26,"value":1843},{"type":30,"tagName":97,"properties":1889,"children":1890},{"style":181},[1891],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":1893,"children":1894},{"style":193},[1895],{"type":26,"value":1896},"\"low\"",{"type":30,"tagName":97,"properties":1898,"children":1899},{"style":181},[1900],{"type":26,"value":1901},", ohlcv.low);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1904,"children":1905},{"class":99},[1906,1910,1914,1919],{"type":30,"tagName":97,"properties":1907,"children":1908},{"style":175},[1909],{"type":26,"value":1843},{"type":30,"tagName":97,"properties":1911,"children":1912},{"style":181},[1913],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":1915,"children":1916},{"style":193},[1917],{"type":26,"value":1918},"\"volume\"",{"type":30,"tagName":97,"properties":1920,"children":1921},{"style":181},[1922],{"type":26,"value":1923},", ohlcv.volume);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1926,"children":1927},{"class":99},[1928,1932,1936,1941],{"type":30,"tagName":97,"properties":1929,"children":1930},{"style":175},[1931],{"type":26,"value":1843},{"type":30,"tagName":97,"properties":1933,"children":1934},{"style":181},[1935],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":1937,"children":1938},{"style":193},[1939],{"type":26,"value":1940},"\"bar_t\"",{"type":30,"tagName":97,"properties":1942,"children":1943},{"style":181},[1944],{"type":26,"value":1945},", time.bar_open_sec);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":1948,"children":1949},{"class":99},[1950,1955,1959,1964,1969,1973,1978,1982,1986,1991],{"type":30,"tagName":97,"properties":1951,"children":1952},{"style":175},[1953],{"type":26,"value":1954},"output",{"type":30,"tagName":97,"properties":1956,"children":1957},{"style":181},[1958],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":1960,"children":1961},{"style":193},[1962],{"type":26,"value":1963},"\"week_vwap\"",{"type":30,"tagName":97,"properties":1965,"children":1966},{"style":181},[1967],{"type":26,"value":1968},", line, overlay, { color: ",{"type":30,"tagName":97,"properties":1970,"children":1971},{"style":193},[1972],{"type":26,"value":299},{"type":30,"tagName":97,"properties":1974,"children":1975},{"style":181},[1976],{"type":26,"value":1977},", width: ",{"type":30,"tagName":97,"properties":1979,"children":1980},{"style":222},[1981],{"type":26,"value":802},{"type":30,"tagName":97,"properties":1983,"children":1984},{"style":181},[1985],{"type":26,"value":1824},{"type":30,"tagName":97,"properties":1987,"children":1988},{"style":193},[1989],{"type":26,"value":1990},"\"VWAP anchored to the UTC week\"",{"type":30,"tagName":97,"properties":1992,"children":1993},{"style":181},[1994],{"type":26,"value":1834},{"type":26,"value":27},{"type":30,"tagName":97,"properties":1997,"children":1998},{"class":99},[1999,2003,2007,2012,2016,2020,2024,2028,2032,2037],{"type":30,"tagName":97,"properties":2000,"children":2001},{"style":175},[2002],{"type":26,"value":1954},{"type":30,"tagName":97,"properties":2004,"children":2005},{"style":181},[2006],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":2008,"children":2009},{"style":193},[2010],{"type":26,"value":2011},"\"day_vwap\"",{"type":30,"tagName":97,"properties":2013,"children":2014},{"style":181},[2015],{"type":26,"value":1968},{"type":30,"tagName":97,"properties":2017,"children":2018},{"style":193},[2019],{"type":26,"value":377},{"type":30,"tagName":97,"properties":2021,"children":2022},{"style":181},[2023],{"type":26,"value":1977},{"type":30,"tagName":97,"properties":2025,"children":2026},{"style":222},[2027],{"type":26,"value":693},{"type":30,"tagName":97,"properties":2029,"children":2030},{"style":181},[2031],{"type":26,"value":1824},{"type":30,"tagName":97,"properties":2033,"children":2034},{"style":193},[2035],{"type":26,"value":2036},"\"VWAP anchored to the UTC day\"",{"type":30,"tagName":97,"properties":2038,"children":2039},{"style":181},[2040],{"type":26,"value":1834},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2043,"children":2044},{"class":99},[2045,2050,2055,2060,2065,2069,2074,2078,2082,2087,2092],{"type":30,"tagName":97,"properties":2046,"children":2047},{"style":187},[2048],{"type":26,"value":2049},"const",{"type":30,"tagName":97,"properties":2051,"children":2052},{"style":222},[2053],{"type":26,"value":2054}," bandTop",{"type":30,"tagName":97,"properties":2056,"children":2057},{"style":187},[2058],{"type":26,"value":2059}," =",{"type":30,"tagName":97,"properties":2061,"children":2062},{"style":175},[2063],{"type":26,"value":2064}," output",{"type":30,"tagName":97,"properties":2066,"children":2067},{"style":181},[2068],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":2070,"children":2071},{"style":193},[2072],{"type":26,"value":2073},"\"week_upper\"",{"type":30,"tagName":97,"properties":2075,"children":2076},{"style":181},[2077],{"type":26,"value":1968},{"type":30,"tagName":97,"properties":2079,"children":2080},{"style":193},[2081],{"type":26,"value":299},{"type":30,"tagName":97,"properties":2083,"children":2084},{"style":181},[2085],{"type":26,"value":2086},", opacity: ",{"type":30,"tagName":97,"properties":2088,"children":2089},{"style":222},[2090],{"type":26,"value":2091},"0.3",{"type":30,"tagName":97,"properties":2093,"children":2094},{"style":181},[2095],{"type":26,"value":1834},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2098,"children":2099},{"class":99},[2100,2104,2109,2113,2117,2121,2126,2130,2134,2138,2142],{"type":30,"tagName":97,"properties":2101,"children":2102},{"style":187},[2103],{"type":26,"value":2049},{"type":30,"tagName":97,"properties":2105,"children":2106},{"style":222},[2107],{"type":26,"value":2108}," bandBottom",{"type":30,"tagName":97,"properties":2110,"children":2111},{"style":187},[2112],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2114,"children":2115},{"style":175},[2116],{"type":26,"value":2064},{"type":30,"tagName":97,"properties":2118,"children":2119},{"style":181},[2120],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":2122,"children":2123},{"style":193},[2124],{"type":26,"value":2125},"\"week_lower\"",{"type":30,"tagName":97,"properties":2127,"children":2128},{"style":181},[2129],{"type":26,"value":1968},{"type":30,"tagName":97,"properties":2131,"children":2132},{"style":193},[2133],{"type":26,"value":299},{"type":30,"tagName":97,"properties":2135,"children":2136},{"style":181},[2137],{"type":26,"value":2086},{"type":30,"tagName":97,"properties":2139,"children":2140},{"style":222},[2141],{"type":26,"value":2091},{"type":30,"tagName":97,"properties":2143,"children":2144},{"style":181},[2145],{"type":26,"value":1834},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2148,"children":2149},{"class":99},[2150,2155,2159,2164,2169,2173,2177,2181,2186,2190],{"type":30,"tagName":97,"properties":2151,"children":2152},{"style":175},[2153],{"type":26,"value":2154},"box",{"type":30,"tagName":97,"properties":2156,"children":2157},{"style":181},[2158],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":2160,"children":2161},{"style":193},[2162],{"type":26,"value":2163},"\"week_band\"",{"type":30,"tagName":97,"properties":2165,"children":2166},{"style":181},[2167],{"type":26,"value":2168},", { top: bandTop, bottom: bandBottom, color: ",{"type":30,"tagName":97,"properties":2170,"children":2171},{"style":193},[2172],{"type":26,"value":299},{"type":30,"tagName":97,"properties":2174,"children":2175},{"style":181},[2176],{"type":26,"value":2086},{"type":30,"tagName":97,"properties":2178,"children":2179},{"style":222},[2180],{"type":26,"value":1098},{"type":30,"tagName":97,"properties":2182,"children":2183},{"style":181},[2184],{"type":26,"value":2185},", borderWidth: ",{"type":30,"tagName":97,"properties":2187,"children":2188},{"style":222},[2189],{"type":26,"value":90},{"type":30,"tagName":97,"properties":2191,"children":2192},{"style":181},[2193],{"type":26,"value":1834},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2196,"children":2197},{"class":99},[2198,2202,2206,2211,2216,2221,2226,2230,2234,2239],{"type":30,"tagName":97,"properties":2199,"children":2200},{"style":175},[2201],{"type":26,"value":1954},{"type":30,"tagName":97,"properties":2203,"children":2204},{"style":181},[2205],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":2207,"children":2208},{"style":193},[2209],{"type":26,"value":2210},"\"stretch_pct\"",{"type":30,"tagName":97,"properties":2212,"children":2213},{"style":181},[2214],{"type":26,"value":2215},", line, lower, { unit: ",{"type":30,"tagName":97,"properties":2217,"children":2218},{"style":193},[2219],{"type":26,"value":2220},"\"%\"",{"type":30,"tagName":97,"properties":2222,"children":2223},{"style":181},[2224],{"type":26,"value":2225},", color: ",{"type":30,"tagName":97,"properties":2227,"children":2228},{"style":193},[2229],{"type":26,"value":299},{"type":30,"tagName":97,"properties":2231,"children":2232},{"style":181},[2233],{"type":26,"value":1824},{"type":30,"tagName":97,"properties":2235,"children":2236},{"style":193},[2237],{"type":26,"value":2238},"\"Close distance from the weekly VWAP\"",{"type":30,"tagName":97,"properties":2240,"children":2241},{"style":181},[2242],{"type":26,"value":1834},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2245,"children":2246},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":2249,"children":2250},{"class":99},[2251,2256,2261,2265,2270,2274,2279],{"type":30,"tagName":97,"properties":2252,"children":2253},{"style":187},[2254],{"type":26,"value":2255},"let",{"type":30,"tagName":97,"properties":2257,"children":2258},{"style":181},[2259],{"type":26,"value":2260}," bandPct",{"type":30,"tagName":97,"properties":2262,"children":2263},{"style":187},[2264],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2266,"children":2267},{"style":175},[2268],{"type":26,"value":2269}," f64",{"type":30,"tagName":97,"properties":2271,"children":2272},{"style":187},[2273],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2275,"children":2276},{"style":222},[2277],{"type":26,"value":2278}," 0.5",{"type":30,"tagName":97,"properties":2280,"children":2281},{"style":181},[2282],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2285,"children":2286},{"class":99},[2287,2291,2296,2300,2304,2308,2313],{"type":30,"tagName":97,"properties":2288,"children":2289},{"style":187},[2290],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2292,"children":2293},{"style":181},[2294],{"type":26,"value":2295}," weekIdx",{"type":30,"tagName":97,"properties":2297,"children":2298},{"style":187},[2299],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2301,"children":2302},{"style":175},[2303],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2305,"children":2306},{"style":187},[2307],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2309,"children":2310},{"style":222},[2311],{"type":26,"value":2312}," NaN",{"type":30,"tagName":97,"properties":2314,"children":2315},{"style":181},[2316],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2319,"children":2320},{"class":99},[2321,2325,2330,2334,2338,2342,2347],{"type":30,"tagName":97,"properties":2322,"children":2323},{"style":187},[2324],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2326,"children":2327},{"style":181},[2328],{"type":26,"value":2329}," weekPv",{"type":30,"tagName":97,"properties":2331,"children":2332},{"style":187},[2333],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2335,"children":2336},{"style":175},[2337],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2339,"children":2340},{"style":187},[2341],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2343,"children":2344},{"style":222},[2345],{"type":26,"value":2346}," 0.0",{"type":30,"tagName":97,"properties":2348,"children":2349},{"style":181},[2350],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2353,"children":2354},{"class":99},[2355,2359,2364,2368,2372,2376,2380],{"type":30,"tagName":97,"properties":2356,"children":2357},{"style":187},[2358],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2360,"children":2361},{"style":181},[2362],{"type":26,"value":2363}," weekVol",{"type":30,"tagName":97,"properties":2365,"children":2366},{"style":187},[2367],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2369,"children":2370},{"style":175},[2371],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2373,"children":2374},{"style":187},[2375],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2377,"children":2378},{"style":222},[2379],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":2381,"children":2382},{"style":181},[2383],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2386,"children":2387},{"class":99},[2388,2392,2397,2401,2406,2410,2415],{"type":30,"tagName":97,"properties":2389,"children":2390},{"style":187},[2391],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2393,"children":2394},{"style":181},[2395],{"type":26,"value":2396}," weekComplete",{"type":30,"tagName":97,"properties":2398,"children":2399},{"style":187},[2400],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2402,"children":2403},{"style":175},[2404],{"type":26,"value":2405}," bool",{"type":30,"tagName":97,"properties":2407,"children":2408},{"style":187},[2409],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2411,"children":2412},{"style":222},[2413],{"type":26,"value":2414}," false",{"type":30,"tagName":97,"properties":2416,"children":2417},{"style":181},[2418],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2421,"children":2422},{"class":99},[2423,2427,2432,2436,2440,2444,2448],{"type":30,"tagName":97,"properties":2424,"children":2425},{"style":187},[2426],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2428,"children":2429},{"style":181},[2430],{"type":26,"value":2431}," dayIdx",{"type":30,"tagName":97,"properties":2433,"children":2434},{"style":187},[2435],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2437,"children":2438},{"style":175},[2439],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2441,"children":2442},{"style":187},[2443],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2445,"children":2446},{"style":222},[2447],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":2449,"children":2450},{"style":181},[2451],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2454,"children":2455},{"class":99},[2456,2460,2465,2469,2473,2477,2481],{"type":30,"tagName":97,"properties":2457,"children":2458},{"style":187},[2459],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2461,"children":2462},{"style":181},[2463],{"type":26,"value":2464}," dayPv",{"type":30,"tagName":97,"properties":2466,"children":2467},{"style":187},[2468],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2470,"children":2471},{"style":175},[2472],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2474,"children":2475},{"style":187},[2476],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2478,"children":2479},{"style":222},[2480],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":2482,"children":2483},{"style":181},[2484],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2487,"children":2488},{"class":99},[2489,2493,2498,2502,2506,2510,2514],{"type":30,"tagName":97,"properties":2490,"children":2491},{"style":187},[2492],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2494,"children":2495},{"style":181},[2496],{"type":26,"value":2497}," dayVol",{"type":30,"tagName":97,"properties":2499,"children":2500},{"style":187},[2501],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2503,"children":2504},{"style":175},[2505],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2507,"children":2508},{"style":187},[2509],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2511,"children":2512},{"style":222},[2513],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":2515,"children":2516},{"style":181},[2517],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2520,"children":2521},{"class":99},[2522,2526,2531,2535,2539,2543,2547],{"type":30,"tagName":97,"properties":2523,"children":2524},{"style":187},[2525],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2527,"children":2528},{"style":181},[2529],{"type":26,"value":2530}," dayComplete",{"type":30,"tagName":97,"properties":2532,"children":2533},{"style":187},[2534],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2536,"children":2537},{"style":175},[2538],{"type":26,"value":2405},{"type":30,"tagName":97,"properties":2540,"children":2541},{"style":187},[2542],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2544,"children":2545},{"style":222},[2546],{"type":26,"value":2414},{"type":30,"tagName":97,"properties":2548,"children":2549},{"style":181},[2550],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2553,"children":2554},{"class":99},[2555,2559,2564,2568,2572,2576,2580],{"type":30,"tagName":97,"properties":2556,"children":2557},{"style":187},[2558],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2560,"children":2561},{"style":181},[2562],{"type":26,"value":2563}," weekVwap",{"type":30,"tagName":97,"properties":2565,"children":2566},{"style":187},[2567],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2569,"children":2570},{"style":175},[2571],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2573,"children":2574},{"style":187},[2575],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2577,"children":2578},{"style":222},[2579],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":2581,"children":2582},{"style":181},[2583],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2586,"children":2587},{"class":99},[2588,2592,2597,2601,2605,2609,2613],{"type":30,"tagName":97,"properties":2589,"children":2590},{"style":187},[2591],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2593,"children":2594},{"style":181},[2595],{"type":26,"value":2596}," dayVwap",{"type":30,"tagName":97,"properties":2598,"children":2599},{"style":187},[2600],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2602,"children":2603},{"style":175},[2604],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2606,"children":2607},{"style":187},[2608],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2610,"children":2611},{"style":222},[2612],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":2614,"children":2615},{"style":181},[2616],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2619,"children":2620},{"class":99},[2621,2625,2630,2634,2638,2642,2646],{"type":30,"tagName":97,"properties":2622,"children":2623},{"style":187},[2624],{"type":26,"value":2255},{"type":30,"tagName":97,"properties":2626,"children":2627},{"style":181},[2628],{"type":26,"value":2629}," close",{"type":30,"tagName":97,"properties":2631,"children":2632},{"style":187},[2633],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2635,"children":2636},{"style":175},[2637],{"type":26,"value":2269},{"type":30,"tagName":97,"properties":2639,"children":2640},{"style":187},[2641],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2643,"children":2644},{"style":222},[2645],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":2647,"children":2648},{"style":181},[2649],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2652,"children":2653},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":2656,"children":2657},{"class":99},[2658,2663,2668,2673,2678,2682,2687],{"type":30,"tagName":97,"properties":2659,"children":2660},{"style":187},[2661],{"type":26,"value":2662},"export",{"type":30,"tagName":97,"properties":2664,"children":2665},{"style":187},[2666],{"type":26,"value":2667}," function",{"type":30,"tagName":97,"properties":2669,"children":2670},{"style":175},[2671],{"type":26,"value":2672}," init",{"type":30,"tagName":97,"properties":2674,"children":2675},{"style":181},[2676],{"type":26,"value":2677},"()",{"type":30,"tagName":97,"properties":2679,"children":2680},{"style":187},[2681],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2683,"children":2684},{"style":222},[2685],{"type":26,"value":2686}," void",{"type":30,"tagName":97,"properties":2688,"children":2689},{"style":181},[2690],{"type":26,"value":1670},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2693,"children":2694},{"class":99},[2695,2700,2704,2709],{"type":30,"tagName":97,"properties":2696,"children":2697},{"style":181},[2698],{"type":26,"value":2699},"  bandPct ",{"type":30,"tagName":97,"properties":2701,"children":2702},{"style":187},[2703],{"type":26,"value":190},{"type":30,"tagName":97,"properties":2705,"children":2706},{"style":175},[2707],{"type":26,"value":2708}," p_band_pct",{"type":30,"tagName":97,"properties":2710,"children":2711},{"style":181},[2712],{"type":26,"value":2713},"();",{"type":26,"value":27},{"type":30,"tagName":97,"properties":2716,"children":2717},{"class":99},[2718],{"type":30,"tagName":97,"properties":2719,"children":2720},{"style":181},[2721],{"type":26,"value":1577},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2724,"children":2725},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":2728,"children":2729},{"class":99},[2730,2734,2738,2743,2747,2751,2756],{"type":30,"tagName":97,"properties":2731,"children":2732},{"style":187},[2733],{"type":26,"value":2662},{"type":30,"tagName":97,"properties":2735,"children":2736},{"style":187},[2737],{"type":26,"value":2667},{"type":30,"tagName":97,"properties":2739,"children":2740},{"style":175},[2741],{"type":26,"value":2742}," state",{"type":30,"tagName":97,"properties":2744,"children":2745},{"style":181},[2746],{"type":26,"value":2677},{"type":30,"tagName":97,"properties":2748,"children":2749},{"style":187},[2750],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":2752,"children":2753},{"style":175},[2754],{"type":26,"value":2755}," i32",{"type":30,"tagName":97,"properties":2757,"children":2758},{"style":181},[2759],{"type":26,"value":1670},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2762,"children":2763},{"class":99},[2764,2769,2773,2778],{"type":30,"tagName":97,"properties":2765,"children":2766},{"style":181},[2767],{"type":26,"value":2768},"  close ",{"type":30,"tagName":97,"properties":2770,"children":2771},{"style":187},[2772],{"type":26,"value":190},{"type":30,"tagName":97,"properties":2774,"children":2775},{"style":175},[2776],{"type":26,"value":2777}," in_close",{"type":30,"tagName":97,"properties":2779,"children":2780},{"style":181},[2781],{"type":26,"value":2713},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2784,"children":2785},{"class":99},[2786,2791,2796,2800,2804,2809,2814,2819,2824,2828,2832,2837,2841,2846],{"type":30,"tagName":97,"properties":2787,"children":2788},{"style":187},[2789],{"type":26,"value":2790},"  const",{"type":30,"tagName":97,"properties":2792,"children":2793},{"style":222},[2794],{"type":26,"value":2795}," typical",{"type":30,"tagName":97,"properties":2797,"children":2798},{"style":187},[2799],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2801,"children":2802},{"style":181},[2803],{"type":26,"value":688},{"type":30,"tagName":97,"properties":2805,"children":2806},{"style":175},[2807],{"type":26,"value":2808},"in_high",{"type":30,"tagName":97,"properties":2810,"children":2811},{"style":181},[2812],{"type":26,"value":2813},"() ",{"type":30,"tagName":97,"properties":2815,"children":2816},{"style":187},[2817],{"type":26,"value":2818},"+",{"type":30,"tagName":97,"properties":2820,"children":2821},{"style":175},[2822],{"type":26,"value":2823}," in_low",{"type":30,"tagName":97,"properties":2825,"children":2826},{"style":181},[2827],{"type":26,"value":2813},{"type":30,"tagName":97,"properties":2829,"children":2830},{"style":187},[2831],{"type":26,"value":2818},{"type":30,"tagName":97,"properties":2833,"children":2834},{"style":181},[2835],{"type":26,"value":2836}," close) ",{"type":30,"tagName":97,"properties":2838,"children":2839},{"style":187},[2840],{"type":26,"value":707},{"type":30,"tagName":97,"properties":2842,"children":2843},{"style":222},[2844],{"type":26,"value":2845}," 3.0",{"type":30,"tagName":97,"properties":2847,"children":2848},{"style":181},[2849],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2852,"children":2853},{"class":99},[2854,2858,2863,2867,2872],{"type":30,"tagName":97,"properties":2855,"children":2856},{"style":187},[2857],{"type":26,"value":2790},{"type":30,"tagName":97,"properties":2859,"children":2860},{"style":222},[2861],{"type":26,"value":2862}," volume",{"type":30,"tagName":97,"properties":2864,"children":2865},{"style":187},[2866],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2868,"children":2869},{"style":175},[2870],{"type":26,"value":2871}," in_volume",{"type":30,"tagName":97,"properties":2873,"children":2874},{"style":181},[2875],{"type":26,"value":2713},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2878,"children":2879},{"class":99},[2880],{"type":30,"tagName":97,"properties":2881,"children":2882},{"style":103},[2883],{"type":26,"value":2884},"  // UTC day index of this bar; epoch day 0 was a Thursday, so +3 makes weeks start on Monday 00:00 UTC.",{"type":26,"value":27},{"type":30,"tagName":97,"properties":2887,"children":2888},{"class":99},[2889,2893,2898,2902,2907,2912,2916,2921,2925,2929,2934],{"type":30,"tagName":97,"properties":2890,"children":2891},{"style":187},[2892],{"type":26,"value":2790},{"type":30,"tagName":97,"properties":2894,"children":2895},{"style":222},[2896],{"type":26,"value":2897}," day",{"type":30,"tagName":97,"properties":2899,"children":2900},{"style":187},[2901],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2903,"children":2904},{"style":181},[2905],{"type":26,"value":2906}," Math.",{"type":30,"tagName":97,"properties":2908,"children":2909},{"style":175},[2910],{"type":26,"value":2911},"floor",{"type":30,"tagName":97,"properties":2913,"children":2914},{"style":181},[2915],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":2917,"children":2918},{"style":175},[2919],{"type":26,"value":2920},"in_bar_t",{"type":30,"tagName":97,"properties":2922,"children":2923},{"style":181},[2924],{"type":26,"value":2813},{"type":30,"tagName":97,"properties":2926,"children":2927},{"style":187},[2928],{"type":26,"value":707},{"type":30,"tagName":97,"properties":2930,"children":2931},{"style":222},[2932],{"type":26,"value":2933}," 86400.0",{"type":30,"tagName":97,"properties":2935,"children":2936},{"style":181},[2937],{"type":26,"value":230},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2940,"children":2941},{"class":99},[2942,2946,2951,2955,2959,2963,2968,2972,2976,2980,2984,2989],{"type":30,"tagName":97,"properties":2943,"children":2944},{"style":187},[2945],{"type":26,"value":2790},{"type":30,"tagName":97,"properties":2947,"children":2948},{"style":222},[2949],{"type":26,"value":2950}," week",{"type":30,"tagName":97,"properties":2952,"children":2953},{"style":187},[2954],{"type":26,"value":2059},{"type":30,"tagName":97,"properties":2956,"children":2957},{"style":181},[2958],{"type":26,"value":2906},{"type":30,"tagName":97,"properties":2960,"children":2961},{"style":175},[2962],{"type":26,"value":2911},{"type":30,"tagName":97,"properties":2964,"children":2965},{"style":181},[2966],{"type":26,"value":2967},"((day ",{"type":30,"tagName":97,"properties":2969,"children":2970},{"style":187},[2971],{"type":26,"value":2818},{"type":30,"tagName":97,"properties":2973,"children":2974},{"style":222},[2975],{"type":26,"value":2845},{"type":30,"tagName":97,"properties":2977,"children":2978},{"style":181},[2979],{"type":26,"value":1400},{"type":30,"tagName":97,"properties":2981,"children":2982},{"style":187},[2983],{"type":26,"value":707},{"type":30,"tagName":97,"properties":2985,"children":2986},{"style":222},[2987],{"type":26,"value":2988}," 7.0",{"type":30,"tagName":97,"properties":2990,"children":2991},{"style":181},[2992],{"type":26,"value":230},{"type":26,"value":27},{"type":30,"tagName":97,"properties":2995,"children":2996},{"class":99},[2997,3002,3007,3012],{"type":30,"tagName":97,"properties":2998,"children":2999},{"style":187},[3000],{"type":26,"value":3001},"  if",{"type":30,"tagName":97,"properties":3003,"children":3004},{"style":181},[3005],{"type":26,"value":3006}," (week ",{"type":30,"tagName":97,"properties":3008,"children":3009},{"style":187},[3010],{"type":26,"value":3011},"!=",{"type":30,"tagName":97,"properties":3013,"children":3014},{"style":181},[3015],{"type":26,"value":3016}," weekIdx) {",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3019,"children":3020},{"class":99},[3021,3026,3030,3035,3040,3045,3049,3054],{"type":30,"tagName":97,"properties":3022,"children":3023},{"style":187},[3024],{"type":26,"value":3025},"    if",{"type":30,"tagName":97,"properties":3027,"children":3028},{"style":181},[3029],{"type":26,"value":688},{"type":30,"tagName":97,"properties":3031,"children":3032},{"style":187},[3033],{"type":26,"value":3034},"!",{"type":30,"tagName":97,"properties":3036,"children":3037},{"style":175},[3038],{"type":26,"value":3039},"isNaN",{"type":30,"tagName":97,"properties":3041,"children":3042},{"style":181},[3043],{"type":26,"value":3044},"(weekIdx)) weekComplete ",{"type":30,"tagName":97,"properties":3046,"children":3047},{"style":187},[3048],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3050,"children":3051},{"style":222},[3052],{"type":26,"value":3053}," true",{"type":30,"tagName":97,"properties":3055,"children":3056},{"style":181},[3057],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3060,"children":3061},{"class":99},[3062,3067,3071],{"type":30,"tagName":97,"properties":3063,"children":3064},{"style":181},[3065],{"type":26,"value":3066},"    weekIdx ",{"type":30,"tagName":97,"properties":3068,"children":3069},{"style":187},[3070],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3072,"children":3073},{"style":181},[3074],{"type":26,"value":3075}," week;",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3078,"children":3079},{"class":99},[3080,3085,3089,3093],{"type":30,"tagName":97,"properties":3081,"children":3082},{"style":181},[3083],{"type":26,"value":3084},"    weekPv ",{"type":30,"tagName":97,"properties":3086,"children":3087},{"style":187},[3088],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3090,"children":3091},{"style":222},[3092],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3094,"children":3095},{"style":181},[3096],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3099,"children":3100},{"class":99},[3101,3106,3110,3114],{"type":30,"tagName":97,"properties":3102,"children":3103},{"style":181},[3104],{"type":26,"value":3105},"    weekVol ",{"type":30,"tagName":97,"properties":3107,"children":3108},{"style":187},[3109],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3111,"children":3112},{"style":222},[3113],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3115,"children":3116},{"style":181},[3117],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3120,"children":3121},{"class":99},[3122],{"type":30,"tagName":97,"properties":3123,"children":3124},{"style":181},[3125],{"type":26,"value":3126},"  }",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3129,"children":3130},{"class":99},[3131,3135,3140,3144],{"type":30,"tagName":97,"properties":3132,"children":3133},{"style":187},[3134],{"type":26,"value":3001},{"type":30,"tagName":97,"properties":3136,"children":3137},{"style":181},[3138],{"type":26,"value":3139}," (day ",{"type":30,"tagName":97,"properties":3141,"children":3142},{"style":187},[3143],{"type":26,"value":3011},{"type":30,"tagName":97,"properties":3145,"children":3146},{"style":181},[3147],{"type":26,"value":3148}," dayIdx) {",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3151,"children":3152},{"class":99},[3153,3157,3161,3165,3169,3174,3178,3182],{"type":30,"tagName":97,"properties":3154,"children":3155},{"style":187},[3156],{"type":26,"value":3025},{"type":30,"tagName":97,"properties":3158,"children":3159},{"style":181},[3160],{"type":26,"value":688},{"type":30,"tagName":97,"properties":3162,"children":3163},{"style":187},[3164],{"type":26,"value":3034},{"type":30,"tagName":97,"properties":3166,"children":3167},{"style":175},[3168],{"type":26,"value":3039},{"type":30,"tagName":97,"properties":3170,"children":3171},{"style":181},[3172],{"type":26,"value":3173},"(dayIdx)) dayComplete ",{"type":30,"tagName":97,"properties":3175,"children":3176},{"style":187},[3177],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3179,"children":3180},{"style":222},[3181],{"type":26,"value":3053},{"type":30,"tagName":97,"properties":3183,"children":3184},{"style":181},[3185],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3188,"children":3189},{"class":99},[3190,3195,3199],{"type":30,"tagName":97,"properties":3191,"children":3192},{"style":181},[3193],{"type":26,"value":3194},"    dayIdx ",{"type":30,"tagName":97,"properties":3196,"children":3197},{"style":187},[3198],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3200,"children":3201},{"style":181},[3202],{"type":26,"value":3203}," day;",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3206,"children":3207},{"class":99},[3208,3213,3217,3221],{"type":30,"tagName":97,"properties":3209,"children":3210},{"style":181},[3211],{"type":26,"value":3212},"    dayPv ",{"type":30,"tagName":97,"properties":3214,"children":3215},{"style":187},[3216],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3218,"children":3219},{"style":222},[3220],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3222,"children":3223},{"style":181},[3224],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3227,"children":3228},{"class":99},[3229,3234,3238,3242],{"type":30,"tagName":97,"properties":3230,"children":3231},{"style":181},[3232],{"type":26,"value":3233},"    dayVol ",{"type":30,"tagName":97,"properties":3235,"children":3236},{"style":187},[3237],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3239,"children":3240},{"style":222},[3241],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3243,"children":3244},{"style":181},[3245],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3248,"children":3249},{"class":99},[3250],{"type":30,"tagName":97,"properties":3251,"children":3252},{"style":181},[3253],{"type":26,"value":3126},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3256,"children":3257},{"class":99},[3258,3263,3268,3273,3277],{"type":30,"tagName":97,"properties":3259,"children":3260},{"style":181},[3261],{"type":26,"value":3262},"  weekPv ",{"type":30,"tagName":97,"properties":3264,"children":3265},{"style":187},[3266],{"type":26,"value":3267},"+=",{"type":30,"tagName":97,"properties":3269,"children":3270},{"style":181},[3271],{"type":26,"value":3272}," typical ",{"type":30,"tagName":97,"properties":3274,"children":3275},{"style":187},[3276],{"type":26,"value":683},{"type":30,"tagName":97,"properties":3278,"children":3279},{"style":181},[3280],{"type":26,"value":3281}," volume;",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3284,"children":3285},{"class":99},[3286,3291,3295],{"type":30,"tagName":97,"properties":3287,"children":3288},{"style":181},[3289],{"type":26,"value":3290},"  weekVol ",{"type":30,"tagName":97,"properties":3292,"children":3293},{"style":187},[3294],{"type":26,"value":3267},{"type":30,"tagName":97,"properties":3296,"children":3297},{"style":181},[3298],{"type":26,"value":3281},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3301,"children":3302},{"class":99},[3303,3308,3312,3316,3320],{"type":30,"tagName":97,"properties":3304,"children":3305},{"style":181},[3306],{"type":26,"value":3307},"  dayPv ",{"type":30,"tagName":97,"properties":3309,"children":3310},{"style":187},[3311],{"type":26,"value":3267},{"type":30,"tagName":97,"properties":3313,"children":3314},{"style":181},[3315],{"type":26,"value":3272},{"type":30,"tagName":97,"properties":3317,"children":3318},{"style":187},[3319],{"type":26,"value":683},{"type":30,"tagName":97,"properties":3321,"children":3322},{"style":181},[3323],{"type":26,"value":3281},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3326,"children":3327},{"class":99},[3328,3333,3337],{"type":30,"tagName":97,"properties":3329,"children":3330},{"style":181},[3331],{"type":26,"value":3332},"  dayVol ",{"type":30,"tagName":97,"properties":3334,"children":3335},{"style":187},[3336],{"type":26,"value":3267},{"type":30,"tagName":97,"properties":3338,"children":3339},{"style":181},[3340],{"type":26,"value":3281},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3343,"children":3344},{"class":99},[3345],{"type":30,"tagName":97,"properties":3346,"children":3347},{"style":103},[3348],{"type":26,"value":3349},"  // A session that was already running when the history starts is incomplete: stay NaN until the first boundary.",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3352,"children":3353},{"class":99},[3354,3359,3363,3368,3372,3377,3381,3385,3389,3394,3398,3402,3406,3410],{"type":30,"tagName":97,"properties":3355,"children":3356},{"style":181},[3357],{"type":26,"value":3358},"  weekVwap ",{"type":30,"tagName":97,"properties":3360,"children":3361},{"style":187},[3362],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3364,"children":3365},{"style":181},[3366],{"type":26,"value":3367}," weekComplete ",{"type":30,"tagName":97,"properties":3369,"children":3370},{"style":187},[3371],{"type":26,"value":1156},{"type":30,"tagName":97,"properties":3373,"children":3374},{"style":181},[3375],{"type":26,"value":3376}," weekVol ",{"type":30,"tagName":97,"properties":3378,"children":3379},{"style":187},[3380],{"type":26,"value":1175},{"type":30,"tagName":97,"properties":3382,"children":3383},{"style":222},[3384],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3386,"children":3387},{"style":187},[3388],{"type":26,"value":1185},{"type":30,"tagName":97,"properties":3390,"children":3391},{"style":181},[3392],{"type":26,"value":3393}," weekPv ",{"type":30,"tagName":97,"properties":3395,"children":3396},{"style":187},[3397],{"type":26,"value":707},{"type":30,"tagName":97,"properties":3399,"children":3400},{"style":181},[3401],{"type":26,"value":3376},{"type":30,"tagName":97,"properties":3403,"children":3404},{"style":187},[3405],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":3407,"children":3408},{"style":222},[3409],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":3411,"children":3412},{"style":181},[3413],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3416,"children":3417},{"class":99},[3418,3423,3427,3432,3436,3441,3445,3449,3453,3458,3462,3466,3470,3474],{"type":30,"tagName":97,"properties":3419,"children":3420},{"style":181},[3421],{"type":26,"value":3422},"  dayVwap ",{"type":30,"tagName":97,"properties":3424,"children":3425},{"style":187},[3426],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3428,"children":3429},{"style":181},[3430],{"type":26,"value":3431}," dayComplete ",{"type":30,"tagName":97,"properties":3433,"children":3434},{"style":187},[3435],{"type":26,"value":1156},{"type":30,"tagName":97,"properties":3437,"children":3438},{"style":181},[3439],{"type":26,"value":3440}," dayVol ",{"type":30,"tagName":97,"properties":3442,"children":3443},{"style":187},[3444],{"type":26,"value":1175},{"type":30,"tagName":97,"properties":3446,"children":3447},{"style":222},[3448],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3450,"children":3451},{"style":187},[3452],{"type":26,"value":1185},{"type":30,"tagName":97,"properties":3454,"children":3455},{"style":181},[3456],{"type":26,"value":3457}," dayPv ",{"type":30,"tagName":97,"properties":3459,"children":3460},{"style":187},[3461],{"type":26,"value":707},{"type":30,"tagName":97,"properties":3463,"children":3464},{"style":181},[3465],{"type":26,"value":3440},{"type":30,"tagName":97,"properties":3467,"children":3468},{"style":187},[3469],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":3471,"children":3472},{"style":222},[3473],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":3475,"children":3476},{"style":181},[3477],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3480,"children":3481},{"class":99},[3482,3487,3492],{"type":30,"tagName":97,"properties":3483,"children":3484},{"style":187},[3485],{"type":26,"value":3486},"  return",{"type":30,"tagName":97,"properties":3488,"children":3489},{"style":222},[3490],{"type":26,"value":3491}," 1",{"type":30,"tagName":97,"properties":3493,"children":3494},{"style":181},[3495],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3498,"children":3499},{"class":99},[3500],{"type":30,"tagName":97,"properties":3501,"children":3502},{"style":181},[3503],{"type":26,"value":1577},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3506,"children":3507},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":3510,"children":3511},{"class":99},[3512,3516,3520,3525,3529,3533,3537],{"type":30,"tagName":97,"properties":3513,"children":3514},{"style":187},[3515],{"type":26,"value":2662},{"type":30,"tagName":97,"properties":3517,"children":3518},{"style":187},[3519],{"type":26,"value":2667},{"type":30,"tagName":97,"properties":3521,"children":3522},{"style":175},[3523],{"type":26,"value":3524}," finalize",{"type":30,"tagName":97,"properties":3526,"children":3527},{"style":181},[3528],{"type":26,"value":2677},{"type":30,"tagName":97,"properties":3530,"children":3531},{"style":187},[3532],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":3534,"children":3535},{"style":222},[3536],{"type":26,"value":2686},{"type":30,"tagName":97,"properties":3538,"children":3539},{"style":181},[3540],{"type":26,"value":1670},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3543,"children":3544},{"class":99},[3545,3550],{"type":30,"tagName":97,"properties":3546,"children":3547},{"style":175},[3548],{"type":26,"value":3549},"  out_week_vwap",{"type":30,"tagName":97,"properties":3551,"children":3552},{"style":181},[3553],{"type":26,"value":3554},"(weekVwap);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3557,"children":3558},{"class":99},[3559,3564],{"type":30,"tagName":97,"properties":3560,"children":3561},{"style":175},[3562],{"type":26,"value":3563},"  out_day_vwap",{"type":30,"tagName":97,"properties":3565,"children":3566},{"style":181},[3567],{"type":26,"value":3568},"(dayVwap);",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3571,"children":3572},{"class":99},[3573,3578,3583,3587,3591,3596,3600,3604,3608,3613],{"type":30,"tagName":97,"properties":3574,"children":3575},{"style":175},[3576],{"type":26,"value":3577},"  out_week_upper",{"type":30,"tagName":97,"properties":3579,"children":3580},{"style":181},[3581],{"type":26,"value":3582},"(weekVwap ",{"type":30,"tagName":97,"properties":3584,"children":3585},{"style":187},[3586],{"type":26,"value":683},{"type":30,"tagName":97,"properties":3588,"children":3589},{"style":181},[3590],{"type":26,"value":688},{"type":30,"tagName":97,"properties":3592,"children":3593},{"style":222},[3594],{"type":26,"value":3595},"1.0",{"type":30,"tagName":97,"properties":3597,"children":3598},{"style":187},[3599],{"type":26,"value":698},{"type":30,"tagName":97,"properties":3601,"children":3602},{"style":181},[3603],{"type":26,"value":407},{"type":30,"tagName":97,"properties":3605,"children":3606},{"style":187},[3607],{"type":26,"value":707},{"type":30,"tagName":97,"properties":3609,"children":3610},{"style":222},[3611],{"type":26,"value":3612}," 100.0",{"type":30,"tagName":97,"properties":3614,"children":3615},{"style":181},[3616],{"type":26,"value":3617},"));",{"type":26,"value":27},{"type":30,"tagName":97,"properties":3620,"children":3621},{"class":99},[3622,3627,3631,3635,3639,3643,3647,3651,3655,3659],{"type":30,"tagName":97,"properties":3623,"children":3624},{"style":175},[3625],{"type":26,"value":3626},"  out_week_lower",{"type":30,"tagName":97,"properties":3628,"children":3629},{"style":181},[3630],{"type":26,"value":3582},{"type":30,"tagName":97,"properties":3632,"children":3633},{"style":187},[3634],{"type":26,"value":683},{"type":30,"tagName":97,"properties":3636,"children":3637},{"style":181},[3638],{"type":26,"value":688},{"type":30,"tagName":97,"properties":3640,"children":3641},{"style":222},[3642],{"type":26,"value":3595},{"type":30,"tagName":97,"properties":3644,"children":3645},{"style":187},[3646],{"type":26,"value":750},{"type":30,"tagName":97,"properties":3648,"children":3649},{"style":181},[3650],{"type":26,"value":407},{"type":30,"tagName":97,"properties":3652,"children":3653},{"style":187},[3654],{"type":26,"value":707},{"type":30,"tagName":97,"properties":3656,"children":3657},{"style":222},[3658],{"type":26,"value":3612},{"type":30,"tagName":97,"properties":3660,"children":3661},{"style":181},[3662],{"type":26,"value":3617},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3665,"children":3666},{"class":99},[3667,3672,3676,3680,3685,3690,3695,3700,3704,3708,3712,3716,3721,3725,3730,3734,3738,3742,3746],{"type":30,"tagName":97,"properties":3668,"children":3669},{"style":175},[3670],{"type":26,"value":3671},"  out_stretch_pct",{"type":30,"tagName":97,"properties":3673,"children":3674},{"style":181},[3675],{"type":26,"value":1281},{"type":30,"tagName":97,"properties":3677,"children":3678},{"style":175},[3679],{"type":26,"value":3039},{"type":30,"tagName":97,"properties":3681,"children":3682},{"style":181},[3683],{"type":26,"value":3684},"(weekVwap) ",{"type":30,"tagName":97,"properties":3686,"children":3687},{"style":187},[3688],{"type":26,"value":3689},"||",{"type":30,"tagName":97,"properties":3691,"children":3692},{"style":181},[3693],{"type":26,"value":3694}," weekVwap ",{"type":30,"tagName":97,"properties":3696,"children":3697},{"style":187},[3698],{"type":26,"value":3699},"\u003C=",{"type":30,"tagName":97,"properties":3701,"children":3702},{"style":222},[3703],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3705,"children":3706},{"style":187},[3707],{"type":26,"value":1185},{"type":30,"tagName":97,"properties":3709,"children":3710},{"style":222},[3711],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":3713,"children":3714},{"style":187},[3715],{"type":26,"value":1244},{"type":30,"tagName":97,"properties":3717,"children":3718},{"style":181},[3719],{"type":26,"value":3720}," ((close ",{"type":30,"tagName":97,"properties":3722,"children":3723},{"style":187},[3724],{"type":26,"value":1203},{"type":30,"tagName":97,"properties":3726,"children":3727},{"style":181},[3728],{"type":26,"value":3729}," weekVwap) ",{"type":30,"tagName":97,"properties":3731,"children":3732},{"style":187},[3733],{"type":26,"value":707},{"type":30,"tagName":97,"properties":3735,"children":3736},{"style":181},[3737],{"type":26,"value":3729},{"type":30,"tagName":97,"properties":3739,"children":3740},{"style":187},[3741],{"type":26,"value":683},{"type":30,"tagName":97,"properties":3743,"children":3744},{"style":222},[3745],{"type":26,"value":3612},{"type":30,"tagName":97,"properties":3747,"children":3748},{"style":181},[3749],{"type":26,"value":230},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3752,"children":3753},{"class":99},[3754,3759],{"type":30,"tagName":97,"properties":3755,"children":3756},{"style":175},[3757],{"type":26,"value":3758},"  emitRow",{"type":30,"tagName":97,"properties":3760,"children":3761},{"style":181},[3762],{"type":26,"value":2713},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3765,"children":3766},{"class":99},[3767],{"type":30,"tagName":97,"properties":3768,"children":3769},{"style":181},[3770],{"type":26,"value":1577},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3773,"children":3774},{"class":99},[],{"type":26,"value":27},{"type":30,"tagName":97,"properties":3777,"children":3778},{"class":99},[3779,3783,3787,3792,3796,3800,3804],{"type":30,"tagName":97,"properties":3780,"children":3781},{"style":187},[3782],{"type":26,"value":2662},{"type":30,"tagName":97,"properties":3784,"children":3785},{"style":187},[3786],{"type":26,"value":2667},{"type":30,"tagName":97,"properties":3788,"children":3789},{"style":175},[3790],{"type":26,"value":3791}," reset",{"type":30,"tagName":97,"properties":3793,"children":3794},{"style":181},[3795],{"type":26,"value":2677},{"type":30,"tagName":97,"properties":3797,"children":3798},{"style":187},[3799],{"type":26,"value":1417},{"type":30,"tagName":97,"properties":3801,"children":3802},{"style":222},[3803],{"type":26,"value":2686},{"type":30,"tagName":97,"properties":3805,"children":3806},{"style":181},[3807],{"type":26,"value":1670},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3810,"children":3811},{"class":99},[3812,3817,3821,3825],{"type":30,"tagName":97,"properties":3813,"children":3814},{"style":181},[3815],{"type":26,"value":3816},"  weekIdx ",{"type":30,"tagName":97,"properties":3818,"children":3819},{"style":187},[3820],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3822,"children":3823},{"style":222},[3824],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":3826,"children":3827},{"style":181},[3828],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3831,"children":3832},{"class":99},[3833,3837,3841,3845],{"type":30,"tagName":97,"properties":3834,"children":3835},{"style":181},[3836],{"type":26,"value":3262},{"type":30,"tagName":97,"properties":3838,"children":3839},{"style":187},[3840],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3842,"children":3843},{"style":222},[3844],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3846,"children":3847},{"style":181},[3848],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3851,"children":3852},{"class":99},[3853,3857,3861,3865],{"type":30,"tagName":97,"properties":3854,"children":3855},{"style":181},[3856],{"type":26,"value":3290},{"type":30,"tagName":97,"properties":3858,"children":3859},{"style":187},[3860],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3862,"children":3863},{"style":222},[3864],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3866,"children":3867},{"style":181},[3868],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3871,"children":3872},{"class":99},[3873,3878,3882,3886],{"type":30,"tagName":97,"properties":3874,"children":3875},{"style":181},[3876],{"type":26,"value":3877},"  weekComplete ",{"type":30,"tagName":97,"properties":3879,"children":3880},{"style":187},[3881],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3883,"children":3884},{"style":222},[3885],{"type":26,"value":2414},{"type":30,"tagName":97,"properties":3887,"children":3888},{"style":181},[3889],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3892,"children":3893},{"class":99},[3894,3899,3903,3907],{"type":30,"tagName":97,"properties":3895,"children":3896},{"style":181},[3897],{"type":26,"value":3898},"  dayIdx ",{"type":30,"tagName":97,"properties":3900,"children":3901},{"style":187},[3902],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3904,"children":3905},{"style":222},[3906],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":3908,"children":3909},{"style":181},[3910],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3913,"children":3914},{"class":99},[3915,3919,3923,3927],{"type":30,"tagName":97,"properties":3916,"children":3917},{"style":181},[3918],{"type":26,"value":3307},{"type":30,"tagName":97,"properties":3920,"children":3921},{"style":187},[3922],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3924,"children":3925},{"style":222},[3926],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3928,"children":3929},{"style":181},[3930],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3933,"children":3934},{"class":99},[3935,3939,3943,3947],{"type":30,"tagName":97,"properties":3936,"children":3937},{"style":181},[3938],{"type":26,"value":3332},{"type":30,"tagName":97,"properties":3940,"children":3941},{"style":187},[3942],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3944,"children":3945},{"style":222},[3946],{"type":26,"value":2346},{"type":30,"tagName":97,"properties":3948,"children":3949},{"style":181},[3950],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3953,"children":3954},{"class":99},[3955,3960,3964,3968],{"type":30,"tagName":97,"properties":3956,"children":3957},{"style":181},[3958],{"type":26,"value":3959},"  dayComplete ",{"type":30,"tagName":97,"properties":3961,"children":3962},{"style":187},[3963],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3965,"children":3966},{"style":222},[3967],{"type":26,"value":2414},{"type":30,"tagName":97,"properties":3969,"children":3970},{"style":181},[3971],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3974,"children":3975},{"class":99},[3976,3980,3984,3988],{"type":30,"tagName":97,"properties":3977,"children":3978},{"style":181},[3979],{"type":26,"value":3358},{"type":30,"tagName":97,"properties":3981,"children":3982},{"style":187},[3983],{"type":26,"value":190},{"type":30,"tagName":97,"properties":3985,"children":3986},{"style":222},[3987],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":3989,"children":3990},{"style":181},[3991],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":3994,"children":3995},{"class":99},[3996,4000,4004,4008],{"type":30,"tagName":97,"properties":3997,"children":3998},{"style":181},[3999],{"type":26,"value":3422},{"type":30,"tagName":97,"properties":4001,"children":4002},{"style":187},[4003],{"type":26,"value":190},{"type":30,"tagName":97,"properties":4005,"children":4006},{"style":222},[4007],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":4009,"children":4010},{"style":181},[4011],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":4014,"children":4015},{"class":99},[4016,4020,4024,4028],{"type":30,"tagName":97,"properties":4017,"children":4018},{"style":181},[4019],{"type":26,"value":2768},{"type":30,"tagName":97,"properties":4021,"children":4022},{"style":187},[4023],{"type":26,"value":190},{"type":30,"tagName":97,"properties":4025,"children":4026},{"style":222},[4027],{"type":26,"value":2312},{"type":30,"tagName":97,"properties":4029,"children":4030},{"style":181},[4031],{"type":26,"value":1253},{"type":26,"value":27},{"type":30,"tagName":97,"properties":4034,"children":4035},{"class":99},[4036],{"type":30,"tagName":97,"properties":4037,"children":4038},{"style":181},[4039],{"type":26,"value":1577},{"type":26,"value":27},{"type":30,"tagName":64,"properties":4042,"children":4044,"position":4054},{"id":4043},"how-it-works",[4045],{"type":26,"value":4046,"position":4047},"How it works",{"start":4048,"end":4051},{"line":4049,"column":73,"offset":4050},149,6410,{"line":4049,"column":4052,"offset":4053},16,6422,{"start":4055,"end":4057},{"line":4049,"column":20,"offset":4056},6407,{"line":4049,"column":4052,"offset":4053},{"type":26,"value":27},{"type":30,"tagName":31,"properties":4060,"children":4061,"position":4129},{},[4062,4082,4089,4102,4109,4122],{"type":30,"tagName":4063,"properties":4064,"children":4065,"position":4076},"strong",{},[4066],{"type":26,"value":4067,"position":4068},"The anchor is the whole trick.",{"start":4069,"end":4073},{"line":4070,"column":4071,"offset":4072},151,3,6426,{"line":4070,"column":4074,"offset":4075},33,6456,{"start":4077,"end":4079},{"line":4070,"column":20,"offset":4078},6424,{"line":4070,"column":4080,"offset":4081},35,6458,{"type":26,"value":4083,"position":4084}," The ",{"start":4085,"end":4086},{"line":4070,"column":4080,"offset":4081},{"line":4070,"column":4087,"offset":4088},40,6463,{"type":30,"tagName":93,"properties":4090,"children":4091,"position":4099},{},[4092],{"type":26,"value":4093,"position":4094},"time",{"start":4095,"end":4096},{"line":4070,"column":4087,"offset":4088},{"line":4070,"column":4097,"offset":4098},46,6469,{"start":4100,"end":4101},{"line":4070,"column":4087,"offset":4088},{"line":4070,"column":4097,"offset":4098},{"type":26,"value":4103,"position":4104}," source hands the module each bar's open time in epoch seconds. Divide by 86400 and you have a UTC day index; shift by three days and divide by seven and you have a week index whose boundary is Monday 00:00 UTC. When the index changes, the price-times-volume and volume sums reset. The reset is tied to the calendar, not to your scroll position or how much history loaded, which is exactly why the level is stable and shared. ",{"start":4105,"end":4106},{"line":4070,"column":4097,"offset":4098},{"line":4070,"column":4107,"offset":4108},472,6895,{"type":30,"tagName":93,"properties":4110,"children":4111,"position":4119},{},[4112],{"type":26,"value":4113,"position":4114},"vwap(anchor=\"week\")",{"start":4115,"end":4116},{"line":4070,"column":4107,"offset":4108},{"line":4070,"column":4117,"offset":4118},493,6916,{"start":4120,"end":4121},{"line":4070,"column":4107,"offset":4108},{"line":4070,"column":4117,"offset":4118},{"type":26,"value":4123,"position":4124}," did this for the kScript; here it is eight lines of arithmetic you can read.",{"start":4125,"end":4126},{"line":4070,"column":4117,"offset":4118},{"line":4070,"column":4127,"offset":4128},570,6993,{"start":4130,"end":4131},{"line":4070,"column":20,"offset":4078},{"line":4070,"column":4127,"offset":4128},{"type":26,"value":27},{"type":30,"tagName":31,"properties":4134,"children":4135,"position":4283},{},[4136,4154,4161,4173,4180,4193,4200,4213,4219,4231,4238,4257,4264,4276],{"type":30,"tagName":4063,"properties":4137,"children":4138,"position":4148},{},[4139],{"type":26,"value":4140,"position":4141},"Warm-up is honest.",{"start":4142,"end":4145},{"line":4143,"column":4071,"offset":4144},153,6997,{"line":4143,"column":4146,"offset":4147},21,7015,{"start":4149,"end":4151},{"line":4143,"column":20,"offset":4150},6995,{"line":4143,"column":4152,"offset":4153},23,7017,{"type":26,"value":4155,"position":4156}," A session that was already running when the loaded history starts is incomplete, so both lines stay ",{"start":4157,"end":4158},{"line":4143,"column":4152,"offset":4153},{"line":4143,"column":4159,"offset":4160},124,7118,{"type":30,"tagName":93,"properties":4162,"children":4163,"position":4170},{},[4164],{"type":26,"value":4165,"position":4166},"NaN",{"start":4167,"end":4168},{"line":4143,"column":4159,"offset":4160},{"line":4143,"column":23,"offset":4169},7123,{"start":4171,"end":4172},{"line":4143,"column":4159,"offset":4160},{"line":4143,"column":23,"offset":4169},{"type":26,"value":4174,"position":4175}," until their first boundary passes, exactly like the kScript's ",{"start":4176,"end":4177},{"line":4143,"column":23,"offset":4169},{"line":4143,"column":4178,"offset":4179},192,7186,{"type":30,"tagName":93,"properties":4181,"children":4182,"position":4190},{},[4183],{"type":26,"value":4184,"position":4185},"na",{"start":4186,"end":4187},{"line":4143,"column":4178,"offset":4179},{"line":4143,"column":4188,"offset":4189},196,7190,{"start":4191,"end":4192},{"line":4143,"column":4178,"offset":4179},{"line":4143,"column":4188,"offset":4189},{"type":26,"value":4194,"position":4195}," before the first complete session. The daily line fills in within the first day of loaded data, the weekly line needs about a week. ",{"start":4196,"end":4197},{"line":4143,"column":4188,"offset":4189},{"line":4143,"column":4198,"offset":4199},329,7323,{"type":30,"tagName":93,"properties":4201,"children":4202,"position":4210},{},[4203],{"type":26,"value":4204,"position":4205},"state()",{"start":4206,"end":4207},{"line":4143,"column":4198,"offset":4199},{"line":4143,"column":4208,"offset":4209},338,7332,{"start":4211,"end":4212},{"line":4143,"column":4198,"offset":4199},{"line":4143,"column":4208,"offset":4209},{"type":26,"value":4214,"position":4215}," still returns ",{"start":4216,"end":4217},{"line":4143,"column":4208,"offset":4209},{"line":4143,"column":55,"offset":4218},7347,{"type":30,"tagName":93,"properties":4220,"children":4221,"position":4228},{},[4222],{"type":26,"value":693,"position":4223},{"start":4224,"end":4225},{"line":4143,"column":55,"offset":4218},{"line":4143,"column":4226,"offset":4227},356,7350,{"start":4229,"end":4230},{"line":4143,"column":55,"offset":4218},{"line":4143,"column":4226,"offset":4227},{"type":26,"value":4232,"position":4233}," on those bars: the row exists, and the lines that are ready draw while the ones that are warming do not. That is the second warm-up policy from the ",{"start":4234,"end":4235},{"line":4143,"column":4226,"offset":4227},{"line":4143,"column":4236,"offset":4237},505,7499,{"type":30,"tagName":4239,"properties":4240,"children":4242,"position":4252},"a",{"href":4241},"../core-concepts/execution-model.md",[4243],{"type":26,"value":4244,"position":4245},"Execution model",{"start":4246,"end":4249},{"line":4143,"column":4247,"offset":4248},506,7500,{"line":4143,"column":4250,"offset":4251},521,7515,{"start":4253,"end":4254},{"line":4143,"column":4236,"offset":4237},{"line":4143,"column":4255,"offset":4256},559,7553,{"type":26,"value":4258,"position":4259},": write ",{"start":4260,"end":4261},{"line":4143,"column":4255,"offset":4256},{"line":4143,"column":4262,"offset":4263},567,7561,{"type":30,"tagName":93,"properties":4265,"children":4266,"position":4273},{},[4267],{"type":26,"value":4165,"position":4268},{"start":4269,"end":4270},{"line":4143,"column":4262,"offset":4263},{"line":4143,"column":4271,"offset":4272},572,7566,{"start":4274,"end":4275},{"line":4143,"column":4262,"offset":4263},{"line":4143,"column":4271,"offset":4272},{"type":26,"value":4277,"position":4278}," to one output rather than abstaining the whole row.",{"start":4279,"end":4280},{"line":4143,"column":4271,"offset":4272},{"line":4143,"column":4281,"offset":4282},624,7618,{"start":4284,"end":4285},{"line":4143,"column":20,"offset":4150},{"line":4143,"column":4281,"offset":4282},{"type":26,"value":27},{"type":30,"tagName":31,"properties":4288,"children":4289,"position":4470},{},[4290,4308,4314,4327,4334,4347,4354,4367,4374,4387,4393,4405,4411,4424,4431,4443,4450,4463],{"type":30,"tagName":4063,"properties":4291,"children":4292,"position":4302},{},[4293],{"type":26,"value":4294,"position":4295},"The band frames the move.",{"start":4296,"end":4299},{"line":4297,"column":4071,"offset":4298},155,7622,{"line":4297,"column":4300,"offset":4301},28,7647,{"start":4303,"end":4305},{"line":4297,"column":20,"offset":4304},7620,{"line":4297,"column":4306,"offset":4307},30,7649,{"type":26,"value":4309,"position":4310}," ",{"start":4311,"end":4312},{"line":4297,"column":4306,"offset":4307},{"line":4297,"column":76,"offset":4313},7650,{"type":30,"tagName":93,"properties":4315,"children":4316,"position":4324},{},[4317],{"type":26,"value":4318,"position":4319},"week_upper",{"start":4320,"end":4321},{"line":4297,"column":76,"offset":4313},{"line":4297,"column":4322,"offset":4323},43,7662,{"start":4325,"end":4326},{"line":4297,"column":76,"offset":4313},{"line":4297,"column":4322,"offset":4323},{"type":26,"value":4328,"position":4329}," and ",{"start":4330,"end":4331},{"line":4297,"column":4322,"offset":4323},{"line":4297,"column":4332,"offset":4333},48,7667,{"type":30,"tagName":93,"properties":4335,"children":4336,"position":4344},{},[4337],{"type":26,"value":4338,"position":4339},"week_lower",{"start":4340,"end":4341},{"line":4297,"column":4332,"offset":4333},{"line":4297,"column":4342,"offset":4343},60,7679,{"start":4345,"end":4346},{"line":4297,"column":4332,"offset":4333},{"line":4297,"column":4342,"offset":4343},{"type":26,"value":4348,"position":4349}," are the weekly VWAP scaled by a percentage, drawn faint with ",{"start":4350,"end":4351},{"line":4297,"column":4342,"offset":4343},{"line":4297,"column":4352,"offset":4353},122,7741,{"type":30,"tagName":93,"properties":4355,"children":4356,"position":4364},{},[4357],{"type":26,"value":4358,"position":4359},"opacity: 0.3",{"start":4360,"end":4361},{"line":4297,"column":4352,"offset":4353},{"line":4297,"column":4362,"offset":4363},136,7755,{"start":4365,"end":4366},{"line":4297,"column":4352,"offset":4353},{"line":4297,"column":4362,"offset":4363},{"type":26,"value":4368,"position":4369},", and ",{"start":4370,"end":4371},{"line":4297,"column":4362,"offset":4363},{"line":4297,"column":4372,"offset":4373},142,7761,{"type":30,"tagName":93,"properties":4375,"children":4376,"position":4384},{},[4377],{"type":26,"value":4378,"position":4379},"box(\"week_band\", ...)",{"start":4380,"end":4381},{"line":4297,"column":4372,"offset":4373},{"line":4297,"column":4382,"offset":4383},165,7784,{"start":4385,"end":4386},{"line":4297,"column":4372,"offset":4373},{"line":4297,"column":4382,"offset":4383},{"type":26,"value":4388,"position":4389}," shades between them: with ",{"start":4390,"end":4391},{"line":4297,"column":4382,"offset":4383},{"line":4297,"column":4178,"offset":4392},7811,{"type":30,"tagName":93,"properties":4394,"children":4395,"position":4402},{},[4396],{"type":26,"value":1622,"position":4397},{"start":4398,"end":4399},{"line":4297,"column":4178,"offset":4392},{"line":4297,"column":4400,"offset":4401},198,7817,{"start":4403,"end":4404},{"line":4297,"column":4178,"offset":4392},{"line":4297,"column":4400,"offset":4401},{"type":26,"value":4328,"position":4406},{"start":4407,"end":4408},{"line":4297,"column":4400,"offset":4401},{"line":4297,"column":4409,"offset":4410},203,7822,{"type":30,"tagName":93,"properties":4412,"children":4413,"position":4421},{},[4414],{"type":26,"value":4415,"position":4416},"to",{"start":4417,"end":4418},{"line":4297,"column":4409,"offset":4410},{"line":4297,"column":4419,"offset":4420},207,7826,{"start":4422,"end":4423},{"line":4297,"column":4409,"offset":4410},{"line":4297,"column":4419,"offset":4420},{"type":26,"value":4425,"position":4426}," left at ",{"start":4427,"end":4428},{"line":4297,"column":4419,"offset":4420},{"line":4297,"column":4429,"offset":4430},216,7835,{"type":30,"tagName":93,"properties":4432,"children":4433,"position":4440},{},[4434],{"type":26,"value":90,"position":4435},{"start":4436,"end":4437},{"line":4297,"column":4429,"offset":4430},{"line":4297,"column":4438,"offset":4439},219,7838,{"start":4441,"end":4442},{"line":4297,"column":4429,"offset":4430},{"line":4297,"column":4438,"offset":4439},{"type":26,"value":4444,"position":4445}," every bar contributes a one-bar-wide slice and the slices tile into a channel. Its ",{"start":4446,"end":4447},{"line":4297,"column":4438,"offset":4439},{"line":4297,"column":4448,"offset":4449},303,7922,{"type":30,"tagName":93,"properties":4451,"children":4452,"position":4460},{},[4453],{"type":26,"value":4454,"position":4455},"borderWidth: 0",{"start":4456,"end":4457},{"line":4297,"column":4448,"offset":4449},{"line":4297,"column":4458,"offset":4459},319,7938,{"start":4461,"end":4462},{"line":4297,"column":4448,"offset":4449},{"line":4297,"column":4458,"offset":4459},{"type":26,"value":4464,"position":4465}," keeps the slices from showing seams. The two band outputs are bound to consts because the box names them by handle. When price rides the upper band it is stretched rich versus the week's fair value; when it sags to the lower band it is cheap.",{"start":4466,"end":4467},{"line":4297,"column":4458,"offset":4459},{"line":4297,"column":4468,"offset":4469},562,8181,{"start":4471,"end":4472},{"line":4297,"column":20,"offset":4304},{"line":4297,"column":4468,"offset":4469},{"type":26,"value":27},{"type":30,"tagName":31,"properties":4475,"children":4476,"position":4577},{},[4477,4494,4500,4513,4519,4532,4539,4552,4558,4570],{"type":30,"tagName":4063,"properties":4478,"children":4479,"position":4488},{},[4480],{"type":26,"value":4481,"position":4482},"The stretch readout.",{"start":4483,"end":4486},{"line":4484,"column":4071,"offset":4485},157,8185,{"line":4484,"column":4152,"offset":4487},8205,{"start":4489,"end":4491},{"line":4484,"column":20,"offset":4490},8183,{"line":4484,"column":4492,"offset":4493},25,8207,{"type":26,"value":4309,"position":4495},{"start":4496,"end":4497},{"line":4484,"column":4492,"offset":4493},{"line":4484,"column":4498,"offset":4499},26,8208,{"type":30,"tagName":93,"properties":4501,"children":4502,"position":4510},{},[4503],{"type":26,"value":4504,"position":4505},"(close - week_vwap) / week_vwap * 100",{"start":4506,"end":4507},{"line":4484,"column":4498,"offset":4499},{"line":4484,"column":4508,"offset":4509},65,8247,{"start":4511,"end":4512},{"line":4484,"column":4498,"offset":4499},{"line":4484,"column":4508,"offset":4509},{"type":26,"value":4514,"position":4515}," is the most actionable number, so it gets its own pane as ",{"start":4516,"end":4517},{"line":4484,"column":4508,"offset":4509},{"line":4484,"column":4159,"offset":4518},8306,{"type":30,"tagName":93,"properties":4520,"children":4521,"position":4529},{},[4522],{"type":26,"value":4523,"position":4524},"stretch_pct",{"start":4525,"end":4526},{"line":4484,"column":4159,"offset":4518},{"line":4484,"column":4527,"offset":4528},137,8319,{"start":4530,"end":4531},{"line":4484,"column":4159,"offset":4518},{"line":4484,"column":4527,"offset":4528},{"type":26,"value":4533,"position":4534}," with a ",{"start":4535,"end":4536},{"line":4484,"column":4527,"offset":4528},{"line":4484,"column":4537,"offset":4538},145,8327,{"type":30,"tagName":93,"properties":4540,"children":4541,"position":4549},{},[4542],{"type":26,"value":4543,"position":4544},"%",{"start":4545,"end":4546},{"line":4484,"column":4537,"offset":4538},{"line":4484,"column":4547,"offset":4548},148,8330,{"start":4550,"end":4551},{"line":4484,"column":4537,"offset":4538},{"line":4484,"column":4547,"offset":4548},{"type":26,"value":4553,"position":4554}," unit, ",{"start":4555,"end":4556},{"line":4484,"column":4547,"offset":4548},{"line":4484,"column":4297,"offset":4557},8337,{"type":30,"tagName":93,"properties":4559,"children":4560,"position":4567},{},[4561],{"type":26,"value":4165,"position":4562},{"start":4563,"end":4564},{"line":4484,"column":4297,"offset":4557},{"line":4484,"column":4565,"offset":4566},160,8342,{"start":4568,"end":4569},{"line":4484,"column":4297,"offset":4557},{"line":4484,"column":4565,"offset":4566},{"type":26,"value":4571,"position":4572}," while the weekly line is warming. Where the kScript printed it once, in a table on the last bar, the Indicator has it on every bar: a series you can read back in the legend, and a metric a watch can compare.",{"start":4573,"end":4574},{"line":4484,"column":4565,"offset":4566},{"line":4484,"column":4575,"offset":4576},368,8550,{"start":4578,"end":4579},{"line":4484,"column":20,"offset":4490},{"line":4484,"column":4575,"offset":4576},{"type":26,"value":27},{"type":30,"tagName":64,"properties":4582,"children":4584,"position":4593},{"id":4583},"what-changed-in-the-port",[4585],{"type":26,"value":4586,"position":4587},"What changed in the port",{"start":4588,"end":4591},{"line":4589,"column":73,"offset":4590},159,8555,{"line":4589,"column":4300,"offset":4592},8579,{"start":4594,"end":4596},{"line":4589,"column":20,"offset":4595},8552,{"line":4589,"column":4300,"offset":4592},{"type":26,"value":27},{"type":30,"tagName":4599,"properties":4600,"children":4601,"position":4898},"ul",{},[4602,4603,4651,4652,4751,4752,4818,4819,4897],{"type":26,"value":27},{"type":30,"tagName":4604,"properties":4605,"children":4606,"position":4647},"li",{},[4607,4621,4628,4640],{"type":30,"tagName":93,"properties":4608,"children":4609,"position":4618},{},[4610],{"type":26,"value":4113,"position":4611},{"start":4612,"end":4615},{"line":4613,"column":4071,"offset":4614},161,8583,{"line":4613,"column":4616,"offset":4617},24,8604,{"start":4619,"end":4620},{"line":4613,"column":4071,"offset":4614},{"line":4613,"column":4616,"offset":4617},{"type":26,"value":4622,"position":4623}," is your own arithmetic. There is no anchored-VWAP builtin; the ",{"start":4624,"end":4625},{"line":4613,"column":4616,"offset":4617},{"line":4613,"column":4626,"offset":4627},88,8668,{"type":30,"tagName":93,"properties":4629,"children":4630,"position":4637},{},[4631],{"type":26,"value":4093,"position":4632},{"start":4633,"end":4634},{"line":4613,"column":4626,"offset":4627},{"line":4613,"column":4635,"offset":4636},94,8674,{"start":4638,"end":4639},{"line":4613,"column":4626,"offset":4627},{"line":4613,"column":4635,"offset":4636},{"type":26,"value":4641,"position":4642}," source and a reset-on-boundary sum are the building blocks, and they port to any anchor.",{"start":4643,"end":4644},{"line":4613,"column":4635,"offset":4636},{"line":4613,"column":4645,"offset":4646},183,8763,{"start":4648,"end":4650},{"line":4613,"column":20,"offset":4649},8581,{"line":4613,"column":4645,"offset":4646},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":4653,"children":4654,"position":4747},{},[4655,4663,4676,4683,4695,4702,4715,4722,4740],{"type":26,"value":4656,"position":4657},"The color inputs are gone: ",{"start":4658,"end":4661},{"line":4659,"column":4071,"offset":4660},162,8766,{"line":4659,"column":4306,"offset":4662},8793,{"type":30,"tagName":93,"properties":4664,"children":4665,"position":4673},{},[4666],{"type":26,"value":4667,"position":4668},"color",{"start":4669,"end":4670},{"line":4659,"column":4306,"offset":4662},{"line":4659,"column":4671,"offset":4672},37,8800,{"start":4674,"end":4675},{"line":4659,"column":4306,"offset":4662},{"line":4659,"column":4671,"offset":4672},{"type":26,"value":4677,"position":4678}," is declared on each output, and the band tint is a box color with its own ",{"start":4679,"end":4680},{"line":4659,"column":4671,"offset":4672},{"line":4659,"column":4681,"offset":4682},112,8875,{"type":30,"tagName":93,"properties":4684,"children":4685,"position":4692},{},[4686],{"type":26,"value":935,"position":4687},{"start":4688,"end":4689},{"line":4659,"column":4681,"offset":4682},{"line":4659,"column":4690,"offset":4691},121,8884,{"start":4693,"end":4694},{"line":4659,"column":4681,"offset":4682},{"line":4659,"column":4690,"offset":4691},{"type":26,"value":4696,"position":4697}," instead of ",{"start":4698,"end":4699},{"line":4659,"column":4690,"offset":4691},{"line":4659,"column":4700,"offset":4701},133,8896,{"type":30,"tagName":93,"properties":4703,"children":4704,"position":4712},{},[4705],{"type":26,"value":4706,"position":4707},"opacity()",{"start":4708,"end":4709},{"line":4659,"column":4700,"offset":4701},{"line":4659,"column":4710,"offset":4711},144,8907,{"start":4713,"end":4714},{"line":4659,"column":4700,"offset":4701},{"line":4659,"column":4710,"offset":4711},{"type":26,"value":4716,"position":4717}," calls. There is no color picker param; a runtime color knob exists only as a style knob in a hand-written sheet (",{"start":4718,"end":4719},{"line":4659,"column":4710,"offset":4711},{"line":4659,"column":4720,"offset":4721},258,9021,{"type":30,"tagName":4239,"properties":4723,"children":4725,"position":4735},{"href":4724},"../functions/styling.md",[4726],{"type":26,"value":4727,"position":4728},"Styling",{"start":4729,"end":4732},{"line":4659,"column":4730,"offset":4731},259,9022,{"line":4659,"column":4733,"offset":4734},266,9029,{"start":4736,"end":4737},{"line":4659,"column":4720,"offset":4721},{"line":4659,"column":4738,"offset":4739},292,9055,{"type":26,"value":4741,"position":4742},").",{"start":4743,"end":4744},{"line":4659,"column":4738,"offset":4739},{"line":4659,"column":4745,"offset":4746},294,9057,{"start":4748,"end":4750},{"line":4659,"column":20,"offset":4749},8764,{"line":4659,"column":4745,"offset":4746},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":4753,"children":4754,"position":4814},{},[4755,4768,4775,4787,4794,4807],{"type":30,"tagName":93,"properties":4756,"children":4757,"position":4765},{},[4758],{"type":26,"value":1088,"position":4759},{"start":4760,"end":4763},{"line":4761,"column":4071,"offset":4762},163,9060,{"line":4761,"column":4052,"offset":4764},9073,{"start":4766,"end":4767},{"line":4761,"column":4071,"offset":4762},{"line":4761,"column":4052,"offset":4764},{"type":26,"value":4769,"position":4770}," became a box on every bar. ",{"start":4771,"end":4772},{"line":4761,"column":4052,"offset":4764},{"line":4761,"column":4773,"offset":4774},44,9101,{"type":30,"tagName":93,"properties":4776,"children":4777,"position":4784},{},[4778],{"type":26,"value":4779,"position":4780},"fills",{"start":4781,"end":4782},{"line":4761,"column":4773,"offset":4774},{"line":4761,"column":1587,"offset":4783},9108,{"start":4785,"end":4786},{"line":4761,"column":4773,"offset":4774},{"line":4761,"column":1587,"offset":4783},{"type":26,"value":4788,"position":4789}," exists in hand-written sheets only, and ",{"start":4790,"end":4791},{"line":4761,"column":1587,"offset":4783},{"line":4761,"column":4792,"offset":4793},92,9149,{"type":30,"tagName":93,"properties":4795,"children":4796,"position":4804},{},[4797],{"type":26,"value":4798,"position":4799},"range()",{"start":4800,"end":4801},{"line":4761,"column":4792,"offset":4793},{"line":4761,"column":4802,"offset":4803},101,9158,{"start":4805,"end":4806},{"line":4761,"column":4792,"offset":4793},{"line":4761,"column":4802,"offset":4803},{"type":26,"value":4808,"position":4809}," bands are not drawn by the chart today, so the box is the form that works everywhere.",{"start":4810,"end":4811},{"line":4761,"column":4802,"offset":4803},{"line":4761,"column":4812,"offset":4813},187,9244,{"start":4815,"end":4817},{"line":4761,"column":20,"offset":4816},9058,{"line":4761,"column":4812,"offset":4813},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":4820,"children":4821,"position":4893},{},[4822,4830,4843,4850,4863,4869,4886],{"type":26,"value":4823,"position":4824},"The ",{"start":4825,"end":4828},{"line":4826,"column":4071,"offset":4827},164,9247,{"line":4826,"column":54,"offset":4829},9251,{"type":30,"tagName":93,"properties":4831,"children":4832,"position":4840},{},[4833],{"type":26,"value":4834,"position":4835},"isLastBar",{"start":4836,"end":4837},{"line":4826,"column":54,"offset":4829},{"line":4826,"column":4838,"offset":4839},18,9262,{"start":4841,"end":4842},{"line":4826,"column":54,"offset":4829},{"line":4826,"column":4838,"offset":4839},{"type":26,"value":4844,"position":4845}," table became a lower-pane series: the readout is now visible for every bar, and it is a metric an alert could watch. A one-cell table is possible with a string slot and ",{"start":4846,"end":4847},{"line":4826,"column":4838,"offset":4839},{"line":4826,"column":4848,"offset":4849},188,9432,{"type":30,"tagName":93,"properties":4851,"children":4852,"position":4860},{},[4853],{"type":26,"value":4854,"position":4855},"render.table",{"start":4856,"end":4857},{"line":4826,"column":4848,"offset":4849},{"line":4826,"column":4858,"offset":4859},202,9446,{"start":4861,"end":4862},{"line":4826,"column":4848,"offset":4849},{"line":4826,"column":4858,"offset":4859},{"type":26,"value":688,"position":4864},{"start":4865,"end":4866},{"line":4826,"column":4858,"offset":4859},{"line":4826,"column":4867,"offset":4868},204,9448,{"type":30,"tagName":4239,"properties":4870,"children":4872,"position":4881},{"href":4871},"../functions/drawing-objects.md",[4873],{"type":26,"value":4874,"position":4875},"Drawing objects",{"start":4876,"end":4878},{"line":4826,"column":41,"offset":4877},9449,{"line":4826,"column":4879,"offset":4880},220,9464,{"start":4882,"end":4883},{"line":4826,"column":4867,"offset":4868},{"line":4826,"column":4884,"offset":4885},254,9498,{"type":26,"value":4887,"position":4888},"), at the cost of switching the file to the second runtime contract.",{"start":4889,"end":4890},{"line":4826,"column":4884,"offset":4885},{"line":4826,"column":4891,"offset":4892},322,9566,{"start":4894,"end":4896},{"line":4826,"column":20,"offset":4895},9245,{"line":4826,"column":4891,"offset":4892},{"type":26,"value":27},{"start":4899,"end":4900},{"line":4613,"column":20,"offset":4649},{"line":4826,"column":4891,"offset":4892},{"type":26,"value":27},{"type":30,"tagName":64,"properties":4903,"children":4905,"position":4914},{"id":4904},"customize-it",[4906],{"type":26,"value":4907,"position":4908},"Customize it",{"start":4909,"end":4912},{"line":4910,"column":73,"offset":4911},166,9571,{"line":4910,"column":4052,"offset":4913},9583,{"start":4915,"end":4917},{"line":4910,"column":20,"offset":4916},9568,{"line":4910,"column":4052,"offset":4913},{"type":26,"value":27},{"type":30,"tagName":4599,"properties":4920,"children":4921,"position":5225},{},[4922,4923,5010,5011,5040,5041,5090,5091,5224],{"type":26,"value":27},{"type":30,"tagName":4604,"properties":4924,"children":4925,"position":5006},{},[4926,4942,4948,4961,4968,4981,4987,4999],{"type":30,"tagName":4063,"properties":4927,"children":4928,"position":4937},{},[4929],{"type":26,"value":4930,"position":4931},"Band width.",{"start":4932,"end":4935},{"line":4933,"column":38,"offset":4934},168,9589,{"line":4933,"column":4052,"offset":4936},9600,{"start":4938,"end":4940},{"line":4933,"column":4071,"offset":4939},9587,{"line":4933,"column":4838,"offset":4941},9602,{"type":26,"value":4309,"position":4943},{"start":4944,"end":4945},{"line":4933,"column":4838,"offset":4941},{"line":4933,"column":4946,"offset":4947},19,9603,{"type":30,"tagName":93,"properties":4949,"children":4950,"position":4958},{},[4951],{"type":26,"value":4952,"position":4953},"band_pct",{"start":4954,"end":4955},{"line":4933,"column":4946,"offset":4947},{"line":4933,"column":4956,"offset":4957},29,9613,{"start":4959,"end":4960},{"line":4933,"column":4946,"offset":4947},{"line":4933,"column":4956,"offset":4957},{"type":26,"value":4962,"position":4963}," sets how far the band sits from the VWAP. Tighten it toward ",{"start":4964,"end":4965},{"line":4933,"column":4956,"offset":4957},{"line":4933,"column":4966,"offset":4967},90,9674,{"type":30,"tagName":93,"properties":4969,"children":4970,"position":4978},{},[4971],{"type":26,"value":4972,"position":4973},"0.2",{"start":4974,"end":4975},{"line":4933,"column":4966,"offset":4967},{"line":4933,"column":4976,"offset":4977},95,9679,{"start":4979,"end":4980},{"line":4933,"column":4966,"offset":4967},{"line":4933,"column":4976,"offset":4977},{"type":26,"value":4982,"position":4983}," on calm majors, widen it toward ",{"start":4984,"end":4985},{"line":4933,"column":4976,"offset":4977},{"line":4933,"column":24,"offset":4986},9712,{"type":30,"tagName":93,"properties":4988,"children":4989,"position":4996},{},[4990],{"type":26,"value":802,"position":4991},{"start":4992,"end":4993},{"line":4933,"column":24,"offset":4986},{"line":4933,"column":4994,"offset":4995},131,9715,{"start":4997,"end":4998},{"line":4933,"column":24,"offset":4986},{"line":4933,"column":4994,"offset":4995},{"type":26,"value":5000,"position":5001}," on volatile names so the band actually contains the noise.",{"start":5002,"end":5003},{"line":4933,"column":4994,"offset":4995},{"line":4933,"column":5004,"offset":5005},190,9774,{"start":5007,"end":5009},{"line":4933,"column":20,"offset":5008},9585,{"line":4933,"column":5004,"offset":5005},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":5012,"children":5013,"position":5036},{},[5014,5030],{"type":30,"tagName":4063,"properties":5015,"children":5016,"position":5025},{},[5017],{"type":26,"value":5018,"position":5019},"Anchor period.",{"start":5020,"end":5023},{"line":5021,"column":38,"offset":5022},169,9779,{"line":5021,"column":4946,"offset":5024},9793,{"start":5026,"end":5028},{"line":5021,"column":4071,"offset":5027},9777,{"line":5021,"column":4146,"offset":5029},9795,{"type":26,"value":5031,"position":5032}," For a monthly anchor, compute the month index from the day index (a lookup over cumulative month lengths, leap years included); the reset logic does not change. Monthly needs about a month of loaded history before it shows anything.",{"start":5033,"end":5034},{"line":5021,"column":4146,"offset":5029},{"line":5021,"column":4884,"offset":5035},10028,{"start":5037,"end":5039},{"line":5021,"column":20,"offset":5038},9775,{"line":5021,"column":4884,"offset":5035},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":5042,"children":5043,"position":5086},{},[5044,5060,5067,5080],{"type":30,"tagName":4063,"properties":5045,"children":5046,"position":5055},{},[5047],{"type":26,"value":5048,"position":5049},"Band the daily line too.",{"start":5050,"end":5053},{"line":5051,"column":38,"offset":5052},170,10033,{"line":5051,"column":4956,"offset":5054},10057,{"start":5056,"end":5058},{"line":5051,"column":4071,"offset":5057},10031,{"line":5051,"column":76,"offset":5059},10059,{"type":26,"value":5061,"position":5062}," Duplicate the two band outputs and the box against ",{"start":5063,"end":5064},{"line":5051,"column":76,"offset":5059},{"line":5051,"column":5065,"offset":5066},83,10111,{"type":30,"tagName":93,"properties":5068,"children":5069,"position":5077},{},[5070],{"type":26,"value":5071,"position":5072},"day_vwap",{"start":5073,"end":5074},{"line":5051,"column":5065,"offset":5066},{"line":5051,"column":5075,"offset":5076},93,10121,{"start":5078,"end":5079},{"line":5051,"column":5065,"offset":5066},{"line":5051,"column":5075,"offset":5076},{"type":26,"value":5081,"position":5082}," if you trade the intraday session instead.",{"start":5083,"end":5084},{"line":5051,"column":5075,"offset":5076},{"line":5051,"column":4362,"offset":5085},10164,{"start":5087,"end":5089},{"line":5051,"column":20,"offset":5088},10029,{"line":5051,"column":4362,"offset":5085},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":5092,"children":5093,"position":5220},{},[5094,5111,5117,5130,5137,5150,5157,5170,5176,5193,5200,5213],{"type":30,"tagName":4063,"properties":5095,"children":5096,"position":5105},{},[5097],{"type":26,"value":5098,"position":5099},"Stretch as a signal.",{"start":5100,"end":5103},{"line":5101,"column":38,"offset":5102},171,10169,{"line":5101,"column":4492,"offset":5104},10189,{"start":5106,"end":5108},{"line":5101,"column":4071,"offset":5107},10167,{"line":5101,"column":5109,"offset":5110},27,10191,{"type":26,"value":5112,"position":5113}," Add a data-only gate output (",{"start":5114,"end":5115},{"line":5101,"column":5109,"offset":5110},{"line":5101,"column":9,"offset":5116},10221,{"type":30,"tagName":93,"properties":5118,"children":5119,"position":5127},{},[5120],{"type":26,"value":5121,"position":5122},"stretch_pct > 1.5",{"start":5123,"end":5124},{"line":5101,"column":9,"offset":5116},{"line":5101,"column":5125,"offset":5126},76,10240,{"start":5128,"end":5129},{"line":5101,"column":9,"offset":5116},{"line":5101,"column":5125,"offset":5126},{"type":26,"value":5131,"position":5132},") and a ",{"start":5133,"end":5134},{"line":5101,"column":5125,"offset":5126},{"line":5101,"column":5135,"offset":5136},84,10248,{"type":30,"tagName":93,"properties":5138,"children":5139,"position":5147},{},[5140],{"type":26,"value":5141,"position":5142},"shape",{"start":5143,"end":5144},{"line":5101,"column":5135,"offset":5136},{"line":5101,"column":5145,"offset":5146},91,10255,{"start":5148,"end":5149},{"line":5101,"column":5135,"offset":5136},{"line":5101,"column":5145,"offset":5146},{"type":26,"value":5151,"position":5152}," output with ",{"start":5153,"end":5154},{"line":5101,"column":5145,"offset":5146},{"line":5101,"column":5155,"offset":5156},104,10268,{"type":30,"tagName":93,"properties":5158,"children":5159,"position":5167},{},[5160],{"type":26,"value":5161,"position":5162},"shape_where",{"start":5163,"end":5164},{"line":5101,"column":5155,"offset":5156},{"line":5101,"column":5165,"offset":5166},117,10281,{"start":5168,"end":5169},{"line":5101,"column":5155,"offset":5156},{"line":5101,"column":5165,"offset":5166},{"type":26,"value":5171,"position":5172}," on it, the way the ",{"start":5173,"end":5174},{"line":5101,"column":5165,"offset":5166},{"line":5101,"column":4527,"offset":5175},10301,{"type":30,"tagName":4239,"properties":5177,"children":5179,"position":5189},{"href":5178},"volume-spike.md",[5180],{"type":26,"value":5181,"position":5182},"volume spike",{"start":5183,"end":5186},{"line":5101,"column":5184,"offset":5185},138,10302,{"line":5101,"column":5187,"offset":5188},150,10314,{"start":5190,"end":5191},{"line":5101,"column":4527,"offset":5175},{"line":5101,"column":4933,"offset":5192},10332,{"type":26,"value":5194,"position":5195}," marks its bars. Or skip the mark and watch the metric directly on your machine; ",{"start":5196,"end":5197},{"line":5101,"column":4933,"offset":5192},{"line":5101,"column":5198,"offset":5199},249,10413,{"type":30,"tagName":93,"properties":5201,"children":5202,"position":5210},{},[5203],{"type":26,"value":5204,"position":5205},"--once",{"start":5206,"end":5207},{"line":5101,"column":5198,"offset":5199},{"line":5101,"column":5208,"offset":5209},257,10421,{"start":5211,"end":5212},{"line":5101,"column":5198,"offset":5199},{"line":5101,"column":5208,"offset":5209},{"type":26,"value":5214,"position":5215}," makes the watch fire a single time and pause itself:",{"start":5216,"end":5217},{"line":5101,"column":5208,"offset":5209},{"line":5101,"column":5218,"offset":5219},310,10474,{"start":5221,"end":5223},{"line":5101,"column":20,"offset":5222},10165,{"line":5101,"column":5218,"offset":5219},{"type":26,"value":27},{"start":5226,"end":5227},{"line":4933,"column":20,"offset":5008},{"line":5101,"column":5218,"offset":5219},{"type":26,"value":27},{"type":13,"children":5230},[5231],{"type":30,"tagName":86,"properties":5232,"children":5233,"data":-1},{"class":88,"style":89,"tabindex":90},[5234],{"type":30,"tagName":93,"properties":5235,"children":5236},{},[5237],{"type":30,"tagName":97,"properties":5238,"children":5239},{"class":99},[5240,5245,5250,5255,5260,5265,5270],{"type":30,"tagName":97,"properties":5241,"children":5242},{"style":175},[5243],{"type":26,"value":5244},"om",{"type":30,"tagName":97,"properties":5246,"children":5247},{"style":193},[5248],{"type":26,"value":5249}," watch",{"type":30,"tagName":97,"properties":5251,"children":5252},{"style":193},[5253],{"type":26,"value":5254}," create",{"type":30,"tagName":97,"properties":5256,"children":5257},{"style":193},[5258],{"type":26,"value":5259}," \"Stretched from VWAP\"",{"type":30,"tagName":97,"properties":5261,"children":5262},{"style":222},[5263],{"type":26,"value":5264}," --condition",{"type":30,"tagName":97,"properties":5266,"children":5267},{"style":193},[5268],{"type":26,"value":5269}," '{\"metric\":\"wrun/@you/anchored-vwap/stretch_pct\",\"selector\":{\"exchange\":\"BINANCE_FUTURES\",\"symbol\":\"BTCUSDT\",\"interval\":\"HOUR\"},\"op\":\"gt\",\"value\":1.5}'",{"type":30,"tagName":97,"properties":5271,"children":5272},{"style":222},[5273],{"type":26,"value":5274}," --once",{"type":26,"value":27},{"type":30,"tagName":64,"properties":5277,"children":5279,"position":5288},{"id":5278},"concepts-used",[5280],{"type":26,"value":5281,"position":5282},"Concepts used",{"start":5283,"end":5286},{"line":5284,"column":73,"offset":5285},177,10701,{"line":5284,"column":1590,"offset":5287},10714,{"start":5289,"end":5291},{"line":5284,"column":20,"offset":5290},10698,{"line":5284,"column":1590,"offset":5287},{"type":26,"value":27},{"type":30,"tagName":4599,"properties":5294,"children":5295,"position":5458},{},[5296,5297,5342,5343,5376,5377,5406,5407,5457],{"type":26,"value":27},{"type":30,"tagName":4604,"properties":5298,"children":5299,"position":5338},{},[5300,5318,5325],{"type":30,"tagName":4239,"properties":5301,"children":5303,"position":5312},{"href":5302},"../core-concepts/time-and-sessions.md",[5304],{"type":26,"value":5305,"position":5306},"Time and sessions",{"start":5307,"end":5310},{"line":5308,"column":73,"offset":5309},179,10719,{"line":5308,"column":4146,"offset":5311},10736,{"start":5313,"end":5315},{"line":5308,"column":4071,"offset":5314},10718,{"line":5308,"column":5316,"offset":5317},61,10776,{"type":26,"value":5319,"position":5320}," for the day and week indexes from ",{"start":5321,"end":5322},{"line":5308,"column":5316,"offset":5317},{"line":5308,"column":5323,"offset":5324},96,10811,{"type":30,"tagName":93,"properties":5326,"children":5327,"position":5335},{},[5328],{"type":26,"value":5329,"position":5330},"time.bar_open_sec",{"start":5331,"end":5332},{"line":5308,"column":5323,"offset":5324},{"line":5308,"column":5333,"offset":5334},115,10830,{"start":5336,"end":5337},{"line":5308,"column":5323,"offset":5324},{"line":5308,"column":5333,"offset":5334},{"start":5339,"end":5341},{"line":5308,"column":20,"offset":5340},10716,{"line":5308,"column":5333,"offset":5334},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":5344,"children":5345,"position":5372},{},[5346,5365],{"type":30,"tagName":4239,"properties":5347,"children":5349,"position":5359},{"href":5348},"../functions/special-indicators.md",[5350],{"type":26,"value":5351,"position":5352},"Special indicators",{"start":5353,"end":5356},{"line":5354,"column":73,"offset":5355},180,10834,{"line":5354,"column":5357,"offset":5358},22,10852,{"start":5360,"end":5362},{"line":5354,"column":4071,"offset":5361},10833,{"line":5354,"column":5363,"offset":5364},59,10889,{"type":26,"value":5366,"position":5367}," for the anchored-VWAP pattern as a worked function",{"start":5368,"end":5369},{"line":5354,"column":5363,"offset":5364},{"line":5354,"column":5370,"offset":5371},110,10940,{"start":5373,"end":5375},{"line":5354,"column":20,"offset":5374},10831,{"line":5354,"column":5370,"offset":5371},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":5378,"children":5379,"position":5402},{},[5380,5396],{"type":30,"tagName":4239,"properties":5381,"children":5382,"position":5390},{"href":4871},[5383],{"type":26,"value":4874,"position":5384},{"start":5385,"end":5388},{"line":5386,"column":73,"offset":5387},181,10944,{"line":5386,"column":4946,"offset":5389},10959,{"start":5391,"end":5393},{"line":5386,"column":4071,"offset":5392},10943,{"line":5386,"column":5394,"offset":5395},53,10993,{"type":26,"value":5397,"position":5398}," for the per-bar box that shades the band",{"start":5399,"end":5400},{"line":5386,"column":5394,"offset":5395},{"line":5386,"column":4635,"offset":5401},11034,{"start":5403,"end":5405},{"line":5386,"column":20,"offset":5404},10941,{"line":5386,"column":4635,"offset":5401},{"type":26,"value":27},{"type":30,"tagName":4604,"properties":5408,"children":5409,"position":5453},{},[5410,5427,5434,5446],{"type":30,"tagName":4239,"properties":5411,"children":5413,"position":5422},{"href":5412},"../core-concepts/na-and-scalar-types.md",[5414],{"type":26,"value":5415,"position":5416},"na and scalar types",{"start":5417,"end":5420},{"line":5418,"column":73,"offset":5419},182,11038,{"line":5418,"column":4152,"offset":5421},11057,{"start":5423,"end":5425},{"line":5418,"column":4071,"offset":5424},11037,{"line":5418,"column":4508,"offset":5426},11099,{"type":26,"value":5428,"position":5429}," for the ",{"start":5430,"end":5431},{"line":5418,"column":4508,"offset":5426},{"line":5418,"column":5432,"offset":5433},74,11108,{"type":30,"tagName":93,"properties":5435,"children":5436,"position":5443},{},[5437],{"type":26,"value":4165,"position":5438},{"start":5439,"end":5440},{"line":5418,"column":5432,"offset":5433},{"line":5418,"column":5441,"offset":5442},79,11113,{"start":5444,"end":5445},{"line":5418,"column":5432,"offset":5433},{"line":5418,"column":5441,"offset":5442},{"type":26,"value":5447,"position":5448}," warm-up on each line",{"start":5449,"end":5450},{"line":5418,"column":5441,"offset":5442},{"line":5418,"column":5451,"offset":5452},100,11134,{"start":5454,"end":5456},{"line":5418,"column":20,"offset":5455},11035,{"line":5418,"column":5451,"offset":5452},{"type":26,"value":27},{"start":5459,"end":5460},{"line":5308,"column":20,"offset":5340},{"line":5418,"column":5451,"offset":5452},{"quirksMode":5462},false,{"start":5464,"end":5465},{"line":20,"column":20,"offset":21},{"line":4645,"column":20,"offset":5466},11135,1790157162544]