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