@guihz/trading-vue-editor-tes 0.1.35 → 0.1.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/lib/assets/{parserTccWorker-BvDdoR3P.js → parserTccWorker-Douk71sp.js} +13369 -12999
  2. package/lib/assets/{scriptsRunWorker-8a33SSnQ.js → scriptsRunWorker-DwBycCfp.js} +560 -529
  3. package/lib/components/editor/tokenizer/config.d.ts +3 -1
  4. package/lib/components/editor/type/index.d.ts +2 -0
  5. package/lib/components/editor/v5/parseScript/constants.d.ts +1 -0
  6. package/lib/components/editor/v5/parseScript/parseToJs.d.ts +19 -2
  7. package/lib/components/editor/v6/parseScript/constants.d.ts +1 -0
  8. package/lib/components/editor/v6/parseScript/parseToJs.d.ts +19 -2
  9. package/lib/components/editor/v6/parseScript/visitorParser.d.ts +5 -2
  10. package/lib/components/editor/v6/parserTccWorker.d.ts +3 -0
  11. package/lib/components/editor/v6/tccParser/tccScriptParserVisitor.d.ts +7 -0
  12. package/lib/i18n/local/en.d.ts +2 -0
  13. package/lib/i18n/local/zh_cn.d.ts +2 -0
  14. package/lib/{index-Clupi1hX.js → index-DALxzLez.js} +67 -67
  15. package/lib/{index-D22ipYhi.js → index-DBn672U2.js} +91 -91
  16. package/lib/{index-CjECfhIW.js → index-Qjp-Unq2.js} +28 -28
  17. package/lib/{monarchTokens-BNkQaBBZ.js → monarchTokens-C5rW_kP9.js} +1 -1
  18. package/lib/{monarchTokens-BkGYzRcP.js → monarchTokens-h2q3KbTF.js} +1 -1
  19. package/lib/trading-vue-editor.es.packages.js +689 -661
  20. package/lib/trading-vue-editor.umd.packages.mjs +40 -40
  21. package/package.json +1 -1
  22. package/lib/components/editor/v5/parseScript/buildInFuncNamespace/strategyNew.d.ts +0 -261
  23. package/lib/components/editor/v6/parseScript/parseToLibJs.d.ts +0 -71
@@ -3587,7 +3587,7 @@ else
3587
3587
  "表示[bool](#type_bool)变量可以保存的值之一的文字,或者当表达式使用比较或逻辑运算符时可以计算的值。"
3588
3588
  ],
3589
3589
  remarks: [
3590
- "请参阅[比较运算符](https://www.tradingvue.com/mine-script-docs/language/operators/#comparison-operators)和[逻辑运算符](https://www.tradingvue.com/mine-script-docs/language/operators/#logical-operators)的用户手册。"
3590
+ "请参阅[比较运算符](https://www.tradingvue.com/mine-script-docs/v6/mf63486a/#%E6%AF%94%E8%BE%83%E8%BF%90%E7%AE%97%E7%AC%A6%E2%80%8B)和[逻辑运算符](https://www.tradingvue.com/mine-script-docs/v6/mf63486a/#%E9%80%BB%E8%BE%91%E8%BF%90%E7%AE%97%E7%AC%A6)的用户手册。"
3591
3591
  ],
3592
3592
  seeAlso: [
3593
3593
  "[bool](#type_bool)"
@@ -3599,7 +3599,7 @@ else
3599
3599
  "表示[bool](#type_bool)值的文字,以及比较操作的结果。"
3600
3600
  ],
3601
3601
  remarks: [
3602
- "请参阅[比较运算符](https://www.tradingvue.com/mine-script-docs/language/operators/#comparison-operators)和[逻辑运算符](https://www.tradingvue.com/mine-script-docs/language/operators/#logical-operators)的用户手册。"
3602
+ "请参阅[比较运算符](https://www.tradingvue.com/mine-script-docs/v6/mf63486a/#%E6%AF%94%E8%BE%83%E8%BF%90%E7%AE%97%E7%AC%A6%E2%80%8B)和[逻辑运算符](https://www.tradingvue.com/mine-script-docs/v6/mf63486a/#%E9%80%BB%E8%BE%91%E8%BF%90%E7%AE%97%E7%AC%A6)的用户手册。"
3603
3603
  ],
3604
3604
  seeAlso: [
3605
3605
  "[bool](#type_bool)"
@@ -3615,8 +3615,8 @@ else
3615
3615
  remarks: [
3616
3616
  "请注意,**bar_index**已替换版本4中的**n**变量。",
3617
3617
  "请注意,K线索引从第一根历史K线起算为0。",
3618
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
3619
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
3618
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
3619
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
3620
3620
  ],
3621
3621
  examples: [
3622
3622
  "plot(bar_index)",
@@ -4250,8 +4250,8 @@ else
4250
4250
  " [second](#var_second)"
4251
4251
  ],
4252
4252
  remarks: [
4253
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
4254
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
4253
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
4254
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
4255
4255
  ],
4256
4256
  type: "series int"
4257
4257
  },
@@ -4698,8 +4698,8 @@ else
4698
4698
  ],
4699
4699
  remarks: [
4700
4700
  "使用此变量的Mine Script®代码可以对历史记录和实时数据进行不同的计算。",
4701
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
4702
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
4701
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
4702
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
4703
4703
  ],
4704
4704
  type: "series bool"
4705
4705
  },
@@ -4718,8 +4718,8 @@ else
4718
4718
  ],
4719
4719
  remarks: [
4720
4720
  "使用此变量的Mine Script®代码可以对历史记录和实时数据进行不同的计算。",
4721
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
4722
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
4721
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
4722
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
4723
4723
  ],
4724
4724
  type: "series bool"
4725
4725
  },
@@ -4738,8 +4738,8 @@ else
4738
4738
  ],
4739
4739
  remarks: [
4740
4740
  "使用此变量的Mine Script®代码可以对历史记录和实时数据进行不同的计算。",
4741
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
4742
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
4741
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
4742
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
4743
4743
  ],
4744
4744
  type: "series bool"
4745
4745
  },
@@ -4758,8 +4758,8 @@ else
4758
4758
  ],
4759
4759
  remarks: [
4760
4760
  "使用此变量的Mine Script®代码可以对历史记录和实时数据进行不同的计算。",
4761
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
4762
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
4761
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
4762
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
4763
4763
  ],
4764
4764
  type: "series bool"
4765
4765
  },
@@ -4778,8 +4778,8 @@ else
4778
4778
  ],
4779
4779
  remarks: [
4780
4780
  "使用此变量的Mine Script®代码可以对历史记录和实时数据进行不同的计算。",
4781
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
4782
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
4781
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
4782
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
4783
4783
  ],
4784
4784
  type: "series bool"
4785
4785
  },
@@ -4799,8 +4799,8 @@ else
4799
4799
  remarks: [
4800
4800
  "使用此变量的Mine Script®代码可以对历史记录和实时数据进行不同的计算。",
4801
4801
  "不建议在[barstate.isconfirmed](#var_barstate.isconfirmed)表达式中使用[security](#fun_security)。 其[security](#fun_security)要求的值不可预测。",
4802
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
4803
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
4802
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
4803
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
4804
4804
  ],
4805
4805
  type: "series bool"
4806
4806
  },
@@ -4818,8 +4818,8 @@ else
4818
4818
  ],
4819
4819
  remarks: [
4820
4820
  "使用此变量的Mine Script®代码可以对历史记录和实时数据进行不同的计算。",
4821
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
4822
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
4821
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
4822
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
4823
4823
  ],
4824
4824
  type: "series bool"
4825
4825
  },
@@ -11537,8 +11537,8 @@ else
11537
11537
  " [alma](#fun_alma)"
11538
11538
  ],
11539
11539
  remarks: [
11540
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
11541
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
11540
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
11541
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
11542
11542
  ],
11543
11543
  examples: [
11544
11544
  "plot(ema(close, 15))",
@@ -12242,8 +12242,8 @@ else
12242
12242
  ],
12243
12243
  remarks: [
12244
12244
  "如果在当前K线之前从未满足该条件,则该函数返回na。",
12245
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
12246
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
12245
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
12246
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
12247
12247
  ],
12248
12248
  examples: [
12249
12249
  "// get number of bars since last color.green bar",
@@ -12281,8 +12281,8 @@ else
12281
12281
  " [lowest](#fun_lowest)"
12282
12282
  ],
12283
12283
  remarks: [
12284
- "请注意,使用此变量/函数可能会导致[指标重新绘制]"
12285
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。"
12284
+ // "请注意,使用此变量/函数可能会导致[指标重新绘制]",
12285
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。"
12286
12286
  ],
12287
12287
  examples: [
12288
12288
  "slow = sma(close, 7)",
@@ -13992,7 +13992,7 @@ else
13992
13992
  "如果要为请求的商品指定其他参数,例如session type或adjustment type,则可以使用tickerid()函数。",
13993
13993
  "无法使用'ticker'变数将价差传递给此函数。您可以使用'tickerid'变数或ticker的字符串表示形式,例如 “AAPL+MSFT*TSLA”。",
13994
13994
  "脚本当前最多可以进行40个security calls。",
13995
- // "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingview.com/pine-script-docs/v4/essential/indicator-repainting/)。",
13995
+ "请注意,使用此变量/函数可能会导致[指标重新绘制](https://www.tradingvue.com/mine-script-docs/v6/cfbb997z/)。",
13996
13996
  "时间周期参数允许的值是:1S, 5S, 15S, 30S - 秒周期(图表时间周期应小于或等于请求的时间周期)从1到1440分钟,从1到365天,从1到52周,从1到12个月"
13997
13997
  ],
13998
13998
  examples: [
@@ -26139,7 +26139,7 @@ else
26139
26139
  "[alertcondition](#fun_alertcondition)"
26140
26140
  ],
26141
26141
  remarks: [
26142
- "[帮助中心](https://www.tradingview.com/chart/?solution=43000597494)介绍了如何创建此类警报。",
26142
+ // "[帮助中心](https://www.tradingview.com/chart/?solution=43000597494)介绍了如何创建此类警报。",
26143
26143
  "与[alertcondition](#fun_alertcondition)相反,[alert](#fun_alert)调用不算作额外的绘图。",
26144
26144
  "函数调用可以位于全局和局部范围内。",
26145
26145
  "函数调用在图表上不显示任何内容。",
@@ -1,4 +1,4 @@
1
- import { KEY_LIST as l } from "./index-Clupi1hX.js";
1
+ import { KEY_LIST as l } from "./index-DALxzLez.js";
2
2
  const g = "tccScript", u = {
3
3
  // builtinFunctions: /strategy\.closedtrades\.max_drawdown_percent|strategy\.opentrades\.max_drawdown_percent|strategy\.risk\.max_intraday_filled_orders|strategy\.closedtrades\.max_runup_percent|array\.percentile_linear_interpolation|strategy\.closedtrades\.entry_bar_index|strategy\.opentrades\.max_runup_percent|strategy\.closedtrades\.exit_bar_index|strategy\.closedtrades\.profit_percent|strategy\.closedtrades\.entry_comment|strategy\.opentrades\.entry_bar_index|strategy\.closedtrades\.exit_comment|strategy\.closedtrades\.max_drawdown|strategy\.opentrades\.profit_percent|ta\.percentile_linear_interpolation|strategy\.closedtrades\.entry_price|strategy\.opentrades\.entry_comment|strategy\.closedtrades\.commission|strategy\.closedtrades\.entry_time|strategy\.closedtrades\.exit_price|strategy\.opentrades\.max_drawdown|strategy\.risk\.max_cons_loss_days|strategy\.closedtrades\.exit_time|strategy\.closedtrades\.max_runup|strategy\.opentrades\.entry_price|strategy\.risk\.max_intraday_loss|strategy\.risk\.max_position_size|table\.cell_set_text_font_family|strategy\.closedtrades\.entry_id|strategy\.opentrades\.commission|strategy\.opentrades\.entry_time|array\.binary_search_rightmost|array\.percentile_nearest_rank|strategy\.closedtrades\.exit_id|strategy\.opentrades\.max_runup|array\.binary_search_leftmost|strategy\.closedtrades\.profit|strategy\.opentrades\.entry_id|strategy\.risk\.allow_entry_in|strategy\.convert_to_account|box\.set_bottom_right_point|label\.set_text_font_family|strategy\.closedtrades\.size|strategy\.convert_to_symbol|strategy\.default_entry_qty|strategy\.opentrades\.profit|strategy\.risk\.max_drawdown|ta\.percentile_nearest_rank|table\.cell_set_text_halign|table\.cell_set_text_valign|request\.security_lower_tf|table\.cell_set_text_color|box\.set_text_font_family|strategy\.opentrades\.size|table\.cell_set_text_size|matrix\.is_antisymmetric|box\.set_top_left_point|chart\.point\.from_index|matrix\.is_antidiagonal|table\.cell_set_bgcolor|table\.cell_set_tooltip|table\.set_border_color|table\.set_border_width|timeframe\.from_seconds|chart\.point\.from_time|line\.set_second_point|math\.round_to_mintick|matrix\.elements_count|request\.currency_rate|ta\.pivot_point_levels|table\.cell_set_height|table\.set_frame_color|table\.set_frame_width|box\.set_border_color|box\.set_border_style|box\.set_border_width|line\.set_first_point|matrix\.is_stochastic|matrix\.is_triangular|table\.cell_set_width|timeframe\.in_seconds|array\.binary_search|box\.set_rightbottom|box\.set_text_halign|box\.set_text_valign|color\.from_gradient|label\.set_textalign|label\.set_textcolor|matrix\.eigenvectors|matrix\.is_symmetric|matrix\.swap_columns|strategy\.cancel_all|table\.cell_set_text|array\.new_linefill|array\.sort_indices|box\.set_text_color|linefill\.get_line1|linefill\.get_line2|linefill\.set_color|matrix\.eigenvalues|matrix\.is_diagonal|matrix\.is_identity|strategy\.close_all|table\.set_position|ticker\.pointfigure|array\.lastindexof|array\.percentrank|array\.standardize|box\.set_text_size|box\.set_text_wrap|label\.set_tooltip|matrix\.remove_col|matrix\.remove_row|request\.dividends|request\.financial|table\.merge_cells|table\.set_bgcolor|ticker\.heikinashi|array\.covariance|array\.new_string|chart\.point\.copy|matrix\.is_binary|matrix\.is_square|matrix\.submatrix|matrix\.swap_rows|matrix\.transpose|request\.earnings|request\.economic|request\.security|ticker\.linebreak|timeframe\.change|array\.new_color|array\.new_float|array\.new_label|array\.new_table|box\.set_bgcolor|box\.set_lefttop|chart\.point\.new|chart\.point\.now|input\.text_area|input\.timeframe|label\.set_color|label\.set_point|label\.set_style|line\.set_extend|linefill\.delete|polyline\.delete|str\.format_time|str\.replace_all|strategy\.cancel|ticker\.standard|alertcondition|array\.includes|array\.new_bool|array\.new_line|array\.variance|box\.get_bottom|box\.set_bottom|box\.set_extend|label\.get_text|label\.set_size|label\.set_text|label\.set_xloc|label\.set_yloc|line\.get_price|line\.set_color|line\.set_style|line\.set_width|math\.todegrees|math\.toradians|matrix\.add_col|matrix\.add_row|matrix\.columns|matrix\.is_zero|matrix\.reshape|matrix\.reverse|request\.quandl|request\.splits|str\.startswith|strategy\.close|strategy\.entry|strategy\.order|syminfo\.prefix|syminfo\.ticker|ta\.correlation|ta\.highestbars|ta\.percentrank|ticker\.inherit|array\.indexof|array\.new_box|array\.new_int|array\.reverse|array\.unshift|box\.get_right|box\.set_right|input\.session|line\.set_xloc|matrix\.concat|matrix\.median|max_bars_back|runtime\.error|str\.substring|strategy\.exit|ta\.crossunder|ta\.lowestbars|ta\.supertrend|ticker\.modify|array\.concat|array\.insert|array\.median|array\.remove|box\.get_left|box\.set_left|box\.set_text|input\.source|input\.string|input\.symbol|label\.delete|label\.set_xy|line\.set_xy1|line\.set_xy2|linefill\.new|map\.contains|matrix\.trace|polyline\.new|request\.seed|str\.contains|str\.endswith|str\.tonumber|str\.tostring|ta\.barssince|ta\.crossover|ta\.pivothigh|ta\.valuewhen|table\.delete|ticker\.renko|array\.clear|array\.every|array\.first|array\.range|array\.shift|array\.slice|array\.stdev|box\.get_top|box\.set_top|input\.color|input\.float|input\.price|label\.get_x|label\.get_y|label\.set_x|label\.set_y|line\.delete|line\.get_x1|line\.get_x2|line\.get_y1|line\.get_y2|line\.set_x1|line\.set_x2|line\.set_y1|line\.set_y2|log\.warning|map\.put_all|math\.random|matrix\.copy|matrix\.diff|matrix\.fill|matrix\.kron|matrix\.mode|matrix\.mult|matrix\.pinv|matrix\.rank|matrix\.rows|matrix\.sort|str\.replace|ta\.pivotlow|ta\.variance|table\.clear|ticker\.kagi|array\.copy|array\.fill|array\.from|array\.join|array\.last|array\.mode|array\.push|array\.size|array\.some|array\.sort|box\.delete|dayofmonth|input\.bool|input\.time|label\.copy|map\.remove|map\.values|math\.floor|math\.log10|math\.round|matrix\.avg|matrix\.col|matrix\.det|matrix\.get|matrix\.inv|matrix\.max|matrix\.min|matrix\.new|matrix\.pow|matrix\.row|matrix\.set|matrix\.sum|plotcandle|str\.format|str\.length|ta\.falling|ta\.highest|table\.cell|ticker\.new|time_close|weekofyear|array\.abs|array\.avg|array\.get|array\.max|array\.min|array\.new|array\.pop|array\.set|array\.sum|color\.new|color\.rgb|dayofweek|indicator|input\.int|label\.new|line\.copy|log\.error|map\.clear|math\.acos|math\.asin|math\.atan|input\.enum|math\.ceil|math\.sign|math\.sqrt|plotarrow|plotshape|str\.lower|str\.match|str\.split|str\.upper|ta\.change|ta\.linreg|ta\.lowest|ta\.median|ta\.rising|table\.new|timestamp|barcolor|box\.copy|line\.new|linefill|log\.info|map\.copy|map\.keys|map\.size|math\.abs|math\.avg|math\.cos|math\.exp|math\.log|math\.max|math\.min|math\.pow|math\.sin|math\.sum|math\.tan|plotchar|strategy|ta\.cross|ta\.range|ta\.stdev|ta\.stoch|bgcolor|box\.new|color\.b|color\.g|color\.r|color\.t|library|map\.get|map\.new|map\.put|plotbar|str\.pos|ta\.alma|ta\.macd|ta\.mode|ta\.swma|ta\.vwap|ta\.vwma|fixnan|minute|second|string|ta\.atr|ta\.bbw|ta\.cci|ta\.cmo|ta\.cog|ta\.cum|ta\.dev|ta\.dmi|ta\.ema|ta\.hma|ta\.kcw|ta\.max|ta\.mfi|ta\.min|ta\.mom|ta\.rma|ta\.roc|ta\.rsi|ta\.sar|ta\.sma|ta\.tsi|ta\.wma|ta\.wpr|alert|color|float|hline|input|label|month|ta\.bb|ta\.kc|ta\.tr|table|bool|fill|hour|line|plot|time|year|box|int|na|nz/,
4
4
  builtinFunctions: new RegExp(i(l.functions)),
@@ -1,4 +1,4 @@
1
- import { KEY_LIST as l } from "./index-D22ipYhi.js";
1
+ import { KEY_LIST as l } from "./index-DBn672U2.js";
2
2
  const g = "tccScript", u = {
3
3
  // builtinFunctions: /strategy\.closedtrades\.max_drawdown_percent|strategy\.opentrades\.max_drawdown_percent|strategy\.risk\.max_intraday_filled_orders|strategy\.closedtrades\.max_runup_percent|array\.percentile_linear_interpolation|strategy\.closedtrades\.entry_bar_index|strategy\.opentrades\.max_runup_percent|strategy\.closedtrades\.exit_bar_index|strategy\.closedtrades\.profit_percent|strategy\.closedtrades\.entry_comment|strategy\.opentrades\.entry_bar_index|strategy\.closedtrades\.exit_comment|strategy\.closedtrades\.max_drawdown|strategy\.opentrades\.profit_percent|ta\.percentile_linear_interpolation|strategy\.closedtrades\.entry_price|strategy\.opentrades\.entry_comment|strategy\.closedtrades\.commission|strategy\.closedtrades\.entry_time|strategy\.closedtrades\.exit_price|strategy\.opentrades\.max_drawdown|strategy\.risk\.max_cons_loss_days|strategy\.closedtrades\.exit_time|strategy\.closedtrades\.max_runup|strategy\.opentrades\.entry_price|strategy\.risk\.max_intraday_loss|strategy\.risk\.max_position_size|table\.cell_set_text_font_family|strategy\.closedtrades\.entry_id|strategy\.opentrades\.commission|strategy\.opentrades\.entry_time|array\.binary_search_rightmost|array\.percentile_nearest_rank|strategy\.closedtrades\.exit_id|strategy\.opentrades\.max_runup|array\.binary_search_leftmost|strategy\.closedtrades\.profit|strategy\.opentrades\.entry_id|strategy\.risk\.allow_entry_in|strategy\.convert_to_account|box\.set_bottom_right_point|label\.set_text_font_family|strategy\.closedtrades\.size|strategy\.convert_to_symbol|strategy\.default_entry_qty|strategy\.opentrades\.profit|strategy\.risk\.max_drawdown|ta\.percentile_nearest_rank|table\.cell_set_text_halign|table\.cell_set_text_valign|request\.security_lower_tf|table\.cell_set_text_color|box\.set_text_font_family|strategy\.opentrades\.size|table\.cell_set_text_size|matrix\.is_antisymmetric|box\.set_top_left_point|chart\.point\.from_index|matrix\.is_antidiagonal|table\.cell_set_bgcolor|table\.cell_set_tooltip|table\.set_border_color|table\.set_border_width|timeframe\.from_seconds|chart\.point\.from_time|line\.set_second_point|math\.round_to_mintick|matrix\.elements_count|request\.currency_rate|ta\.pivot_point_levels|table\.cell_set_height|table\.set_frame_color|table\.set_frame_width|box\.set_border_color|box\.set_border_style|box\.set_border_width|line\.set_first_point|matrix\.is_stochastic|matrix\.is_triangular|table\.cell_set_width|timeframe\.in_seconds|array\.binary_search|box\.set_rightbottom|box\.set_text_halign|box\.set_text_valign|color\.from_gradient|label\.set_textalign|label\.set_textcolor|matrix\.eigenvectors|matrix\.is_symmetric|matrix\.swap_columns|strategy\.cancel_all|table\.cell_set_text|array\.new_linefill|array\.sort_indices|box\.set_text_color|linefill\.get_line1|linefill\.get_line2|linefill\.set_color|matrix\.eigenvalues|matrix\.is_diagonal|matrix\.is_identity|strategy\.close_all|table\.set_position|ticker\.pointfigure|array\.lastindexof|array\.percentrank|array\.standardize|box\.set_text_size|box\.set_text_wrap|label\.set_tooltip|matrix\.remove_col|matrix\.remove_row|request\.dividends|request\.financial|table\.merge_cells|table\.set_bgcolor|ticker\.heikinashi|array\.covariance|array\.new_string|chart\.point\.copy|matrix\.is_binary|matrix\.is_square|matrix\.submatrix|matrix\.swap_rows|matrix\.transpose|request\.earnings|request\.economic|request\.security|ticker\.linebreak|timeframe\.change|array\.new_color|array\.new_float|array\.new_label|array\.new_table|box\.set_bgcolor|box\.set_lefttop|chart\.point\.new|chart\.point\.now|input\.text_area|input\.timeframe|label\.set_color|label\.set_point|label\.set_style|line\.set_extend|linefill\.delete|polyline\.delete|str\.format_time|str\.replace_all|strategy\.cancel|ticker\.standard|alertcondition|array\.includes|array\.new_bool|array\.new_line|array\.variance|box\.get_bottom|box\.set_bottom|box\.set_extend|label\.get_text|label\.set_size|label\.set_text|label\.set_xloc|label\.set_yloc|line\.get_price|line\.set_color|line\.set_style|line\.set_width|math\.todegrees|math\.toradians|matrix\.add_col|matrix\.add_row|matrix\.columns|matrix\.is_zero|matrix\.reshape|matrix\.reverse|request\.quandl|request\.splits|str\.startswith|strategy\.close|strategy\.entry|strategy\.order|syminfo\.prefix|syminfo\.ticker|ta\.correlation|ta\.highestbars|ta\.percentrank|ticker\.inherit|array\.indexof|array\.new_box|array\.new_int|array\.reverse|array\.unshift|box\.get_right|box\.set_right|input\.session|line\.set_xloc|matrix\.concat|matrix\.median|max_bars_back|runtime\.error|str\.substring|strategy\.exit|ta\.crossunder|ta\.lowestbars|ta\.supertrend|ticker\.modify|array\.concat|array\.insert|array\.median|array\.remove|box\.get_left|box\.set_left|box\.set_text|input\.source|input\.string|input\.symbol|label\.delete|label\.set_xy|line\.set_xy1|line\.set_xy2|linefill\.new|map\.contains|matrix\.trace|polyline\.new|request\.seed|str\.contains|str\.endswith|str\.tonumber|str\.tostring|ta\.barssince|ta\.crossover|ta\.pivothigh|ta\.valuewhen|table\.delete|ticker\.renko|array\.clear|array\.every|array\.first|array\.range|array\.shift|array\.slice|array\.stdev|box\.get_top|box\.set_top|input\.color|input\.float|input\.price|label\.get_x|label\.get_y|label\.set_x|label\.set_y|line\.delete|line\.get_x1|line\.get_x2|line\.get_y1|line\.get_y2|line\.set_x1|line\.set_x2|line\.set_y1|line\.set_y2|log\.warning|map\.put_all|math\.random|matrix\.copy|matrix\.diff|matrix\.fill|matrix\.kron|matrix\.mode|matrix\.mult|matrix\.pinv|matrix\.rank|matrix\.rows|matrix\.sort|str\.replace|ta\.pivotlow|ta\.variance|table\.clear|ticker\.kagi|array\.copy|array\.fill|array\.from|array\.join|array\.last|array\.mode|array\.push|array\.size|array\.some|array\.sort|box\.delete|dayofmonth|input\.bool|input\.time|label\.copy|map\.remove|map\.values|math\.floor|math\.log10|math\.round|matrix\.avg|matrix\.col|matrix\.det|matrix\.get|matrix\.inv|matrix\.max|matrix\.min|matrix\.new|matrix\.pow|matrix\.row|matrix\.set|matrix\.sum|plotcandle|str\.format|str\.length|ta\.falling|ta\.highest|table\.cell|ticker\.new|time_close|weekofyear|array\.abs|array\.avg|array\.get|array\.max|array\.min|array\.new|array\.pop|array\.set|array\.sum|color\.new|color\.rgb|dayofweek|indicator|input\.int|label\.new|line\.copy|log\.error|map\.clear|math\.acos|math\.asin|math\.atan|input\.enum|math\.ceil|math\.sign|math\.sqrt|plotarrow|plotshape|str\.lower|str\.match|str\.split|str\.upper|ta\.change|ta\.linreg|ta\.lowest|ta\.median|ta\.rising|table\.new|timestamp|barcolor|box\.copy|line\.new|linefill|log\.info|map\.copy|map\.keys|map\.size|math\.abs|math\.avg|math\.cos|math\.exp|math\.log|math\.max|math\.min|math\.pow|math\.sin|math\.sum|math\.tan|plotchar|strategy|ta\.cross|ta\.range|ta\.stdev|ta\.stoch|bgcolor|box\.new|color\.b|color\.g|color\.r|color\.t|library|map\.get|map\.new|map\.put|plotbar|str\.pos|ta\.alma|ta\.macd|ta\.mode|ta\.swma|ta\.vwap|ta\.vwma|fixnan|minute|second|string|ta\.atr|ta\.bbw|ta\.cci|ta\.cmo|ta\.cog|ta\.cum|ta\.dev|ta\.dmi|ta\.ema|ta\.hma|ta\.kcw|ta\.max|ta\.mfi|ta\.min|ta\.mom|ta\.rma|ta\.roc|ta\.rsi|ta\.sar|ta\.sma|ta\.tsi|ta\.wma|ta\.wpr|alert|color|float|hline|input|label|month|ta\.bb|ta\.kc|ta\.tr|table|bool|fill|hour|line|plot|time|year|box|int|na|nz/,
4
4
  builtinFunctions: new RegExp(i(l.functions)),