@guihz/trading-vue-editor-tes 0.1.62 → 0.1.64

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.
@@ -24499,93 +24499,93 @@ else
24499
24499
  // "series string"
24500
24500
  // ]
24501
24501
  // },
24502
- {
24503
- name: "time",
24504
- desc: [
24505
- "time函数返回指定时间范围和交易时段的当前K线的UNIX时间,如果时间点不在交易时段中,则返回NaN。"
24506
- ],
24507
- args: [
24508
- {
24509
- name: "timeframe",
24510
- desc: "时间周期。空字符串被解释为图表的当前时间周期。",
24511
- required: !0,
24512
- allowedTypeIDs: [
24513
- "series string",
24514
- "simple string",
24515
- "input string",
24516
- "const string"
24517
- ],
24518
- displayType: "series string"
24519
- },
24520
- {
24521
- name: "bars_back",
24522
- desc: "可选。脚本主时间周期内的K线偏移量。如果该值为正数,则该函数检索主时间周期内相对于当前K线的N根K线的时间戳。如果该值为-1到-500之间的负数,则该函数检索该时间周期内未来K线的预期时间。默认值为0。",
24523
- allowedTypeIDs: [
24524
- "series int",
24525
- "simple int",
24526
- "input int",
24527
- "const int"
24528
- ],
24529
- displayType: "series int"
24530
- }
24531
- ],
24532
- detailedDesc: [
24533
- {
24534
- desc: [],
24535
- examples: [
24536
- "//@version=6",
24537
- 'indicator("Time", overlay=true)',
24538
- "// Try this on chart AAPL,1",
24539
- 'timeinrange(res, sess) => not na(time(res, sess, "America/New_York")) ? 1 : 0',
24540
- 'plot(timeinrange("1", "1300-1400"), color=color.red)',
24541
- "",
24542
- "// This plots 1.0 at every start of 10 minute bar on a 1 minute chart:",
24543
- "newbar(res) => ta.change(time(res)) == 0 ? 0 : 1",
24544
- 'plot(newbar("10"))'
24545
- ]
24546
- },
24547
- {
24548
- desc: [
24549
- "当设置某个会话时,您不仅可以指定小时与分钟,也可以指定某一周内的日期。",
24550
- "如果没有指定日期,则认为交易时段设置为从星期日 (1) 到星期六 (7),即“1100-2000”与“1100-1200:1234567”相同。",
24551
- "",
24552
- "您可以通过指定日期来更改它。例如,对于每周7天交易且24小时交易时段的商品,以下脚本不会为周六和周日着色:"
24553
- ],
24554
- examples: [
24555
- "//@version=6",
24556
- 'indicator("Time", overlay=true)',
24557
- 't1 = time(timeframe.period, "0000-0000:23456")',
24558
- "bgcolor(not na(t1) ? color.new(color.blue, 90) : na)"
24559
- ]
24560
- },
24561
- {
24562
- desc: [
24563
- "一个`session`参数可以包含多个不同的交易时段,以逗号分隔。例如,以下脚本将突出显示从10:00到11:00以及从14:00到15:00(仅限工作日)的K线图:"
24564
- ],
24565
- examples: [
24566
- "//@version=6",
24567
- 'indicator("Time", overlay=true)',
24568
- 't1 = time(timeframe.period, "1000-1100,1400-1500:23456")',
24569
- "bgcolor(not na(t1) ? color.new(color.blue, 90) : na)"
24570
- ]
24571
- }
24572
- ],
24573
- returns: [
24574
- "Unix时间。"
24575
- ],
24576
- remarks: [
24577
- "UNIX时间是自1970年1月1日UTC 00:00:00起已经过去的毫秒数。"
24578
- ],
24579
- seeAlso: [
24580
- "[time](#var_time) (variable)"
24581
- ],
24582
- syntax: [
24583
- "time(timeframe, bars_back) → series int"
24584
- ],
24585
- returnedTypes: [
24586
- "series int"
24587
- ]
24588
- },
24502
+ // {
24503
+ // "name": "time",
24504
+ // "desc": [
24505
+ // "time函数返回指定时间范围和交易时段的当前K线的UNIX时间,如果时间点不在交易时段中,则返回NaN。"
24506
+ // ],
24507
+ // "args": [
24508
+ // {
24509
+ // "name": "timeframe",
24510
+ // "desc": "时间周期。空字符串被解释为图表的当前时间周期。",
24511
+ // "required": true,
24512
+ // "allowedTypeIDs": [
24513
+ // "series string",
24514
+ // "simple string",
24515
+ // "input string",
24516
+ // "const string"
24517
+ // ],
24518
+ // "displayType": "series string"
24519
+ // },
24520
+ // {
24521
+ // "name": "bars_back",
24522
+ // "desc": "可选。脚本主时间周期内的K线偏移量。如果该值为正数,则该函数检索主时间周期内相对于当前K线的N根K线的时间戳。如果该值为-1到-500之间的负数,则该函数检索该时间周期内未来K线的预期时间。默认值为0。",
24523
+ // "allowedTypeIDs": [
24524
+ // "series int",
24525
+ // "simple int",
24526
+ // "input int",
24527
+ // "const int"
24528
+ // ],
24529
+ // "displayType": "series int"
24530
+ // }
24531
+ // ],
24532
+ // "detailedDesc": [
24533
+ // {
24534
+ // "desc": [],
24535
+ // "examples": [
24536
+ // "//@version=6",
24537
+ // "indicator(\"Time\", overlay=true)",
24538
+ // "// Try this on chart AAPL,1",
24539
+ // "timeinrange(res, sess) => not na(time(res, sess, \"America/New_York\")) ? 1 : 0",
24540
+ // "plot(timeinrange(\"1\", \"1300-1400\"), color=color.red)",
24541
+ // "",
24542
+ // "// This plots 1.0 at every start of 10 minute bar on a 1 minute chart:",
24543
+ // "newbar(res) => ta.change(time(res)) == 0 ? 0 : 1",
24544
+ // "plot(newbar(\"10\"))"
24545
+ // ]
24546
+ // },
24547
+ // {
24548
+ // "desc": [
24549
+ // "当设置某个会话时,您不仅可以指定小时与分钟,也可以指定某一周内的日期。",
24550
+ // "如果没有指定日期,则认为交易时段设置为从星期日 (1) 到星期六 (7),即“1100-2000”与“1100-1200:1234567”相同。",
24551
+ // "",
24552
+ // "您可以通过指定日期来更改它。例如,对于每周7天交易且24小时交易时段的商品,以下脚本不会为周六和周日着色:"
24553
+ // ],
24554
+ // "examples": [
24555
+ // "//@version=6",
24556
+ // "indicator(\"Time\", overlay=true)",
24557
+ // "t1 = time(timeframe.period, \"0000-0000:23456\")",
24558
+ // "bgcolor(not na(t1) ? color.new(color.blue, 90) : na)"
24559
+ // ]
24560
+ // },
24561
+ // {
24562
+ // "desc": [
24563
+ // "一个`session`参数可以包含多个不同的交易时段,以逗号分隔。例如,以下脚本将突出显示从10:00到11:00以及从14:00到15:00(仅限工作日)的K线图:"
24564
+ // ],
24565
+ // "examples": [
24566
+ // "//@version=6",
24567
+ // "indicator(\"Time\", overlay=true)",
24568
+ // "t1 = time(timeframe.period, \"1000-1100,1400-1500:23456\")",
24569
+ // "bgcolor(not na(t1) ? color.new(color.blue, 90) : na)"
24570
+ // ]
24571
+ // }
24572
+ // ],
24573
+ // "returns": [
24574
+ // "Unix时间。"
24575
+ // ],
24576
+ // "remarks": [
24577
+ // "UNIX时间是自1970年1月1日UTC 00:00:00起已经过去的毫秒数。"
24578
+ // ],
24579
+ // "seeAlso": [
24580
+ // "[time](#var_time) (variable)"
24581
+ // ],
24582
+ // "syntax": [
24583
+ // "time(timeframe, bars_back) → series int"
24584
+ // ],
24585
+ // "returnedTypes": [
24586
+ // "series int"
24587
+ // ]
24588
+ // },
24589
24589
  {
24590
24590
  name: "time",
24591
24591
  desc: [
@@ -24626,6 +24626,17 @@ else
24626
24626
  "const int"
24627
24627
  ],
24628
24628
  displayType: "series int"
24629
+ },
24630
+ {
24631
+ name: "timeframe_bars_back",
24632
+ desc: "可选。在由timeframe参数指定的时间周期上,额外的K线偏移量。如果该值为正数,则函数会检索与bars_back偏移量对应的K线前Ntimeframe个K线的时间戳。如果该值为-1到-500之间的负数,则函数会计算对应bars_back偏移量的timeframe根K线之后Ntimeframe根K线的预期时间戳。默认值为0。",
24633
+ allowedTypeIDs: [
24634
+ "series int",
24635
+ "simple int",
24636
+ "input int",
24637
+ "const int"
24638
+ ],
24639
+ displayType: "series int"
24629
24640
  }
24630
24641
  ],
24631
24642
  detailedDesc: [
@@ -24679,7 +24690,7 @@ else
24679
24690
  "[time](#var_time) (variable)"
24680
24691
  ],
24681
24692
  syntax: [
24682
- "time(timeframe, session, bars_back) → series int"
24693
+ "time(timeframe, session, bars_back, timeframe_bars_back) → series int"
24683
24694
  ],
24684
24695
  returnedTypes: [
24685
24696
  "series int"
@@ -24737,6 +24748,17 @@ else
24737
24748
  "const int"
24738
24749
  ],
24739
24750
  displayType: "series int"
24751
+ },
24752
+ {
24753
+ name: "timeframe_bars_back",
24754
+ desc: "可选。在由timeframe参数指定的时间周期上,额外的K线偏移量。如果该值为正数,则函数会检索与bars_back偏移量对应的K线前Ntimeframe个K线的时间戳。如果该值为-1到-500之间的负数,则函数会计算对应bars_back偏移量的timeframe根K线之后Ntimeframe根K线的预期时间戳。默认值为0。",
24755
+ allowedTypeIDs: [
24756
+ "series int",
24757
+ "simple int",
24758
+ "input int",
24759
+ "const int"
24760
+ ],
24761
+ displayType: "series int"
24740
24762
  }
24741
24763
  ],
24742
24764
  detailedDesc: [
@@ -24790,69 +24812,69 @@ else
24790
24812
  "[time](#var_time) (variable)"
24791
24813
  ],
24792
24814
  syntax: [
24793
- "time(timeframe, session, timezone, bars_back) → series int"
24794
- ],
24795
- returnedTypes: [
24796
- "series int"
24797
- ]
24798
- },
24799
- {
24800
- name: "time_close",
24801
- desc: [
24802
- "返回指定时间周期和时段内当前K线收盘的UNIX时间,如果时间点不在时段内,则返回na。在报价图和基于价格的图表,例如砖形图、新价线、卡吉图、点数图和范围图上,此函数返回最新实时K线的[na](#var_na)时间戳(因为未来的收盘时间不可预测),但返回任何前一根K线的有效时间戳。"
24803
- ],
24804
- args: [
24805
- {
24806
- name: "timeframe",
24807
- desc: "时间周期。空字符串将被解释为图表的当前时间周期。",
24808
- required: !0,
24809
- allowedTypeIDs: [
24810
- "series string",
24811
- "simple string",
24812
- "input string",
24813
- "const string"
24814
- ],
24815
- displayType: "series string"
24816
- },
24817
- {
24818
- name: "bars_back",
24819
- desc: "可选。脚本主时间周期内的K线偏移量。如果该值为正数,则该函数检索主时间周期内相对于当前K线的N根K线的时间戳。如果该值为-1到-500之间的负数,则该函数检索该时间周期内未来K线的预期时间。默认值为0。",
24820
- allowedTypeIDs: [
24821
- "series int",
24822
- "simple int",
24823
- "input int",
24824
- "const int"
24825
- ],
24826
- displayType: "series int"
24827
- }
24828
- ],
24829
- detailedDesc: [
24830
- {
24831
- desc: [],
24832
- examples: [
24833
- "//@version=6",
24834
- 'indicator("Time", overlay=true)',
24835
- 't1 = time_close(timeframe.period, "1200-1300", "America/New_York")',
24836
- "bgcolor(not na(t1) ? color.new(color.blue, 90) : na)"
24837
- ]
24838
- }
24839
- ],
24840
- returns: [
24841
- "Unix时间。"
24842
- ],
24843
- remarks: [
24844
- "UNIX时间是自1970年1月1日UTC 00:00:00起已经过去的毫秒数。"
24845
- ],
24846
- seeAlso: [
24847
- "[time_close](#var_time_close) (variable)"
24848
- ],
24849
- syntax: [
24850
- "time_close(timeframe, bars_back) → series int"
24815
+ "time(timeframe, session, timezone, bars_back, timeframe_bars_back) → series int"
24851
24816
  ],
24852
24817
  returnedTypes: [
24853
24818
  "series int"
24854
24819
  ]
24855
24820
  },
24821
+ // {
24822
+ // "name": "time_close",
24823
+ // "desc": [
24824
+ // "返回指定时间周期和时段内当前K线收盘的UNIX时间,如果时间点不在时段内,则返回na。在报价图和基于价格的图表,例如砖形图、新价线、卡吉图、点数图和范围图上,此函数返回最新实时K线的[na](#var_na)时间戳(因为未来的收盘时间不可预测),但返回任何前一根K线的有效时间戳。"
24825
+ // ],
24826
+ // "args": [
24827
+ // {
24828
+ // "name": "timeframe",
24829
+ // "desc": "时间周期。空字符串将被解释为图表的当前时间周期。",
24830
+ // "required": true,
24831
+ // "allowedTypeIDs": [
24832
+ // "series string",
24833
+ // "simple string",
24834
+ // "input string",
24835
+ // "const string"
24836
+ // ],
24837
+ // "displayType": "series string"
24838
+ // },
24839
+ // {
24840
+ // "name": "bars_back",
24841
+ // "desc": "可选。脚本主时间周期内的K线偏移量。如果该值为正数,则该函数检索主时间周期内相对于当前K线的N根K线的时间戳。如果该值为-1到-500之间的负数,则该函数检索该时间周期内未来K线的预期时间。默认值为0。",
24842
+ // "allowedTypeIDs": [
24843
+ // "series int",
24844
+ // "simple int",
24845
+ // "input int",
24846
+ // "const int"
24847
+ // ],
24848
+ // "displayType": "series int"
24849
+ // }
24850
+ // ],
24851
+ // "detailedDesc": [
24852
+ // {
24853
+ // "desc": [],
24854
+ // "examples": [
24855
+ // "//@version=6",
24856
+ // "indicator(\"Time\", overlay=true)",
24857
+ // "t1 = time_close(timeframe.period, \"1200-1300\", \"America/New_York\")",
24858
+ // "bgcolor(not na(t1) ? color.new(color.blue, 90) : na)"
24859
+ // ]
24860
+ // }
24861
+ // ],
24862
+ // "returns": [
24863
+ // "Unix时间。"
24864
+ // ],
24865
+ // "remarks": [
24866
+ // "UNIX时间是自1970年1月1日UTC 00:00:00起已经过去的毫秒数。"
24867
+ // ],
24868
+ // "seeAlso": [
24869
+ // "[time_close](#var_time_close) (variable)"
24870
+ // ],
24871
+ // "syntax": [
24872
+ // "time_close(timeframe, bars_back) → series int"
24873
+ // ],
24874
+ // "returnedTypes": [
24875
+ // "series int"
24876
+ // ]
24877
+ // },
24856
24878
  {
24857
24879
  name: "time_close",
24858
24880
  desc: [
@@ -24893,6 +24915,17 @@ else
24893
24915
  "const int"
24894
24916
  ],
24895
24917
  displayType: "series int"
24918
+ },
24919
+ {
24920
+ name: "timeframe_bars_back",
24921
+ desc: "可选。在由timeframe参数指定的时间周期上,额外的K线偏移量。如果该值为正数,则函数会检索与bars_back偏移量对应的K线前Ntimeframe个K线的时间戳。如果该值为-1到-500之间的负数,则函数会计算对应bars_back偏移量的timeframe根K线之后Ntimeframe根K线的预期时间戳。默认值为0。",
24922
+ allowedTypeIDs: [
24923
+ "series int",
24924
+ "simple int",
24925
+ "input int",
24926
+ "const int"
24927
+ ],
24928
+ displayType: "series int"
24896
24929
  }
24897
24930
  ],
24898
24931
  detailedDesc: [
@@ -24916,7 +24949,7 @@ else
24916
24949
  "[time_close](#var_time_close) (variable)"
24917
24950
  ],
24918
24951
  syntax: [
24919
- "time_close(timeframe, session, bars_back) → series int"
24952
+ "time_close(timeframe, session, bars_back, timeframe_bars_back) → series int"
24920
24953
  ],
24921
24954
  returnedTypes: [
24922
24955
  "series int"
@@ -24974,6 +25007,17 @@ else
24974
25007
  "const int"
24975
25008
  ],
24976
25009
  displayType: "series int"
25010
+ },
25011
+ {
25012
+ name: "timeframe_bars_back",
25013
+ desc: "可选。在由timeframe参数指定的时间周期上,额外的K线偏移量。如果该值为正数,则函数会检索与bars_back偏移量对应的K线前Ntimeframe个K线的时间戳。如果该值为-1到-500之间的负数,则函数会计算对应bars_back偏移量的timeframe根K线之后Ntimeframe根K线的预期时间戳。默认值为0。",
25014
+ allowedTypeIDs: [
25015
+ "series int",
25016
+ "simple int",
25017
+ "input int",
25018
+ "const int"
25019
+ ],
25020
+ displayType: "series int"
24977
25021
  }
24978
25022
  ],
24979
25023
  detailedDesc: [
@@ -24997,7 +25041,7 @@ else
24997
25041
  "[time_close](#var_time_close) (variable)"
24998
25042
  ],
24999
25043
  syntax: [
25000
- "time_close(timeframe, session, timezone, bars_back) → series int"
25044
+ "time_close(timeframe, session, timezone, bars_back, timeframe_bars_back) → series int"
25001
25045
  ],
25002
25046
  returnedTypes: [
25003
25047
  "series int"
@@ -1,4 +1,4 @@
1
- import { KEY_LIST as l } from "./index-BbiLUn2Q.js";
1
+ import { KEY_LIST as l } from "./index-uQBbhisX.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)),
@@ -2905,7 +2905,7 @@ async function Xr(i = yr) {
2905
2905
  case 5:
2906
2906
  return await import("./index-C_xwwpOv.js");
2907
2907
  case 6:
2908
- return await import("./index-BbiLUn2Q.js");
2908
+ return await import("./index-uQBbhisX.js");
2909
2909
  }
2910
2910
  }
2911
2911
  async function Uo(i = yr) {
@@ -2917,7 +2917,7 @@ async function Uo(i = yr) {
2917
2917
  case 5:
2918
2918
  return await import("./monarchTokens-BEeBUShI.js");
2919
2919
  case 6:
2920
- return await import("./monarchTokens-C6rWa3Gt.js");
2920
+ return await import("./monarchTokens-D4b8bJF0.js");
2921
2921
  }
2922
2922
  }
2923
2923
  function Ro(i, r = "var_") {
@@ -14376,6 +14376,8 @@ class o2 {
14376
14376
  this._editor.updateOptions({
14377
14377
  wordWrap: t === "off" ? "on" : "off"
14378
14378
  });
14379
+ }), this._editor.addCommand(this._monaco.KeyMod.CtrlCmd | this._monaco.KeyCode.NumpadDivide, () => {
14380
+ this._editor.getAction("editor.action.commentLine")?.run();
14379
14381
  });
14380
14382
  }
14381
14383
  openFind() {
@@ -14634,14 +14636,14 @@ function Kn(i, r, t) {
14634
14636
  function x2() {
14635
14637
  return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
14636
14638
  }
14637
- const vd = new Worker(new URL("" + new URL("assets/scriptsRunWorker-DvjQUdYy.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run MineScript Server" });
14639
+ const vd = new Worker(new URL("" + new URL("assets/scriptsRunWorker-CdLcsxed.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run MineScript Server" });
14638
14640
  vd.onerror = (i) => {
14639
14641
  console.error(i);
14640
14642
  };
14641
14643
  async function _d(i) {
14642
14644
  return await Lo.setInlayHints(i);
14643
14645
  }
14644
- const bd = h0(vd), yd = h0(new Worker(new URL("" + new URL("assets/parserTccWorker-DNjcb8Nl.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser MineScript Server" }));
14646
+ const bd = h0(vd), yd = h0(new Worker(new URL("" + new URL("assets/parserTccWorker-DLW4EDz8.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser MineScript Server" }));
14645
14647
  async function m2(i, r = !1, t = yr) {
14646
14648
  const o = i.match(/\s*\/\/\s*@version\s*=\s*([0-9])/)?.[1];
14647
14649
  o && (t = parseInt(o), t = t < 3 ? 3 : t > 6 ? 6 : t);