# 4-5、功能集

***

`功能`或`功能集`是一个字符串，可用于更改图表的功能。有简单（原子）和复杂（复合）功能。

复杂功能由简单功能组成。

禁用复杂功能会使得其所有简单功能都被禁用。 支持的功能如下所示。

请注意，下表中的`-`字符不是功能集名称的一部分。

### 控件和其他视觉元素的可见性

[**功能集互动地图**](http://tradingview.gitee.io/featuresets)

| ID                                           | 默认状态          | 版本   | 描述                                                     |
| -------------------------------------------- | ------------- | ---- | ------------------------------------------------------ |
| **header\_widget**                           | on            |      |                                                        |
| - header\_widget\_dom\_node                  | on            |      | 隐藏头部小部件 DOM 元素                                         |
| - header\_symbol\_search                     | on            |      |                                                        |
| - symbol\_search\_hot\_key                   | on            | 1.9  | 按任意键进行商品搜索                                             |
| - header\_resolutions                        | on            |      |                                                        |
| - - header\_interval\_dialog\_button         | on            |      |                                                        |
| - - - show\_interval\_dialog\_on\_key\_press | on            |      |                                                        |
| - header\_chart\_type                        | on            |      |                                                        |
| - header\_settings                           | on            |      | 与图表属性按钮相关                                              |
| - header\_indicators                         | on            |      |                                                        |
| - header\_compare                            | on            |      |                                                        |
| - header\_undo\_redo                         | on            |      |                                                        |
| - header\_screenshot                         | on            |      |                                                        |
| - header\_fullscreen\_button                 | on            |      |                                                        |
| compare\_symbol                              | on            | 1.5  | 您可以使用此功能集从上下文菜单中删除`比较/叠加`对话框                           |
| border\_around\_the\_chart                   | on            |      |                                                        |
| header\_saveload                             | on            |      | 隐藏保存/加载按钮（该功能不是`header_widget`功能集的一部分）                 |
| left\_toolbar                                | on            |      |                                                        |
| control\_bar                                 | on            |      | 与图表底部的导航按钮相关联                                          |
| timeframes\_toolbar                          | on            |      |                                                        |
| legend\_widget                               | on            | 1.15 | 禁用此功能会隐藏图例窗口小部件                                        |
| display\_legend\_on\_all\_charts             | off           | 18   | 无论十字线同步如何，所有图上均显示图例                                    |
| object\_tree\_legend\_mode                   | on            | 18   | 在图例中以较小的宽度显示对象树按钮                                      |
| **edit\_buttons\_in\_legend**                | on            |      |                                                        |
| - show\_hide\_button\_in\_legend             | on            | 1.7  |                                                        |
| - format\_button\_in\_legend                 | on            | 1.7  |                                                        |
| - study\_buttons\_in\_legend                 | on            | 1.7  |                                                        |
| - delete\_button\_in\_legend                 | on            | 1.7  |                                                        |
| **context\_menus**                           | on            |      |                                                        |
| - pane\_context\_menu                        | on            |      |                                                        |
| - scales\_context\_menu                      | on            |      |                                                        |
| - legend\_context\_menu                      | on            |      |                                                        |
| main\_series\_scale\_menu                    | on            | 1.7  | 显示图表右下角的设置按钮                                           |
| chart\_crosshair\_menu                       | on (terminal) | 18   | 启用价格刻度上的“加号”按钮以进行快速交易                                  |
| display\_market\_status                      | on            |      |                                                        |
| remove\_library\_container\_border           | on            |      |                                                        |
| chart\_property\_page\_style                 | on            |      |                                                        |
| property\_pages                              | on            | 1.11 | 禁用所有属性页                                                |
| show\_chart\_property\_page                  | on            | 1.6  | 关闭此功能会禁用`属性`                                           |
| chart\_property\_page\_scales                | on            |      |                                                        |
| chart\_property\_page\_background            | on            |      |                                                        |
| chart\_property\_page\_timezone\_sessions    | on            |      |                                                        |
| chart\_property\_page\_trading               | on            |      | 此功能仅适用于交易终端                                            |
| chart\_property\_page\_right\_margin\_editor | on            | 1.15 | 在设置对话框中显示右边距编辑器                                        |
| countdown                                    | on            | 1.4  | 在价格标尺上显示倒计时标签                                          |
| caption\_buttons\_text\_if\_possible         | off           | 1.4  | 尽可能在标题和比较按钮上显示文本而不是图标                                  |
| dont\_show\_boolean\_study\_arguments        | off           | 1.4  | 隐藏 true/false 指标参数                                     |
| hide\_last\_na\_study\_output                | off           | 1.4  | 隐藏最后的 n/a 指标输出数据                                       |
| symbol\_info                                 | on            | 1.5  | 启用商品信息对话框                                              |
| timezone\_menu                               | on            | 1.5  | 禁用时区上下文菜单                                              |
| snapshot\_trading\_drawings                  | off           | 1.6  | 在截图中包括订单/头寸/成交                                         |
| source\_selection\_markers                   | on            | 1.11 | 禁用数据列和指标的选择标记                                          |
| go\_to\_date                                 | on            | 1.11 | 允许您使用`转到`对话框跳转到特定栏                                     |
| adaptive\_logo                               | on            | 1.11 | 允许您在小屏幕设备上隐藏 logo 的`TradingView`文字                     |
| show\_dom\_first\_time                       | off           | 1.12 | 当用户第一次打开图表时显示 DOM 面板                                   |
| hide\_left\_toolbar\_by\_default             | off           | 1.12 | 当用户第一次打开图表时，隐藏左侧工具栏                                    |
| chart\_style\_hilo                           | off           | 1.15 | 在图表样式控件中添加 Hi-Lo 选项                                    |
| pricescale\_currency                         | off           | 16   | 在价格轴上显示交易工具所用的货币                                       |
| pricescale\_unit                             | off           | 19   | 在价格轴上显示交易工具的单位                                         |
| scales\_date\_format                         | on            | 17   | 在图表设置中显示日期格式选择器                                        |
| popup\_hints                                 | on            | 17   | 显示有关可能的鼠标/快捷键/ UI操作的弹出提示                               |
| save\_shortcut                               | on            | 18   | 启用保存快捷方式                                               |
| show\_right\_widgets\_panel\_by\_default     | on            | 18   | 首次启动时打开右侧小部件工具栏                                        |
| show\_object\_tree                           | on            | 18   | 根据产品和配置在左侧或右侧面板中显示对象树按钮                                |
| show\_spread\_operators                      | on            | 20   | 在商品搜索对话框中显示价差运算符                                       |
| hide\_exponentiation\_spread\_operator       | off           | 20   | 在商品搜索对话框中隐藏指数展开运算符 (^)                                 |
| hide\_reciprocal\_spread\_operator           | off           | 20   | 在商品搜索对话框中隐藏倒数展开运算符 (1/x)                               |
| compare\_symbol\_search\_spread\_operators   | off           | 20   | 在“比较搜索”对话框中显示价差运算符 - 需要结合使用show\_spread\_operators才能显示 |
| studies\_symbol\_search\_spread\_operators   | off           | 20   | 显示指标的点差运算符 - 需要结合使用show\_spread\_operators才能显示         |
| hide\_resolution\_in\_legend                 | off           | 20   | 在图表图例和数据窗口中隐藏周期（D、2D、W、M 等）                            |
| hide\_unresolved\_symbols\_in\_legend        | off           | 21   | 在图表图例和数据窗口中隐藏未解析的商品                                    |

### 元素放置

| ID                         | 默认状态 | 版本 | 描述                      |
| -------------------------- | ---- | -- | ----------------------- |
| move\_logo\_to\_main\_pane | off  |    | 将 logo 放在主数据列窗格上而不是底部窗格 |

### 特性

| ID                                            | 默认状态 | 版本   | 描述                                                                                            |
| --------------------------------------------- | ---- | ---- | --------------------------------------------------------------------------------------------- |
| **use\_localstorage\_for\_settings**          | on   |      | 允许将所有属性（包括收藏夹）存储到 localstorage                                                                |
| - items\_favoriting                           | on   |      | 禁用此功能会隐藏所有“收藏此项目”按钮                                                                           |
| - save\_chart\_properties\_to\_local\_storage | on   |      | 可以禁用以禁止将图表属性存储到 localstorage，同时允许保存其他属性。 其他属性是收藏在图表库和 Watchlist 的商品，以及交易终端中的一些面板状态。           |
| create\_volume\_indicator\_by\_default        | on   |      |                                                                                               |
| create\_volume\_indicator\_by\_default\_once  | on   |      |                                                                                               |
| volume\_force\_overlay                        | on   |      | 在主数据量列的窗格上放置成交量指标                                                                             |
| right\_bar\_stays\_on\_scroll                 | on   |      | 确定缩放功能的特性：如果禁用此功能，鼠标光标下的 K 线将保持在同一位置                                                          |
| constraint\_dialogs\_movement                 | on   |      | 将对话框保留在图表中                                                                                    |
| charting\_library\_debug\_mode                | off  |      | 启用日志                                                                                          |
| study\_market\_minimized                      | on   |      | 与“指标”对话框相关，并确定它是否紧凑或包含搜索栏以及类别                                                                 |
| study\_dialog\_search\_control                | on   | 1.6  | 在指标对话框中显示搜索控件                                                                                 |
| side\_toolbar\_in\_fullscreen\_mode           | off  |      | 可以在全屏模式下启用绘图工具栏                                                                               |
| header\_in\_fullscreen\_mode                  | off  | 16   | 在全屏模式下启用标题小部件DOM元素                                                                            |
| disable\_resolution\_rebuild                  | off  |      | 显示完全由 datafeed 提供的 K 线时间而不进行任何调整。                                                             |
| chart\_scroll                                 | on   | 1.10 | 允许图表滚动                                                                                        |
| chart\_zoom                                   | on   | 1.10 | 允许图表缩放                                                                                        |
| horz\_touch\_drag\_scroll                     | on   | 16   | 如果启用，图表将处理触摸屏上的水平指针移动。在这种情况下，网页不会滚动。如果禁用，则改为滚动网页。请记住，如果用户开始垂直或水平滚动图表，则在用户松开手指之前，滚动将继续沿任何方向进行。 |
| vert\_touch\_drag\_scroll                     | on   | 16   | 如果启用，图表将处理触摸屏上的垂直指针移动。在这种情况下，网页不会滚动。如果禁用，则改为滚动网页。请记住，如果用户开始垂直或水平滚动图表，则在用户松开手指之前，滚动将继续沿任何方向进行。 |
| mouse\_wheel\_scroll                          | on   | 16   | 如果启用，则启用带水平鼠标滚轮的图表滚动。                                                                         |
| pressed\_mouse\_move\_scroll                  | on   | 16   | 如果启用，则允许在按下鼠标左键的情况下滚动图表。                                                                      |
| mouse\_wheel\_scale                           | on   | 16   | 如果启用，则启用使用鼠标滚轮的比例缩放。                                                                          |
| pinch\_scale                                  | on   | 16   | 如果启用，则启用捏/缩放手势的系列缩放（此选项在触摸设备上受支持）。。                                                           |
| axis\_pressed\_mouse\_move\_scale             | on   | 16   | 如果启用，则允许按鼠标左键缩放轴。                                                                             |
| high\_density\_bars                           | off  | 1.11 | 允许缩小以在单个屏幕上显示超过 60000 根 K 线                                                                   |
| low\_density\_bars                            | off  | 1.15 | 允许放大以在视口中最多显示1 根 K 线                                                                          |
| uppercase\_instrument\_names                  | on   | 1.12 | 禁用此功能允许用户输入区分大小写的商品                                                                           |
| no\_min\_chart\_width                         | off  | 1.14 | 禁用最小图表宽度限制                                                                                    |
| fix\_left\_edge                               | off  | 1.14 | 阻止滚动到第一个历史 K 线的左侧                                                                             |
| lock\_visible\_time\_range\_on\_resize        | off  | 1.14 | 防止在图表调整大小时更改可见时区                                                                              |
| shift\_visible\_range\_on\_new\_bar           | on   | 1.15 | 如果禁用，则添加新的K线会缩小图表并保留第一个可见点。 否则，当出现新K线时，图表将向左滚动一点。                                             |
| custom\_resolutions                           | off  | 1.15 | 如果启用，则可以添加自定义分辨率                                                                              |
| end\_of\_period\_timescale\_marks             | off  | 16   | 切换时间线标记以显示K线的结束时间                                                                             |
| cropped\_tick\_marks                          | on   | 16   | 如果禁用，则价格轴上部分可见的价格标签将被隐藏                                                                       |
| study\_overlay\_compare\_legend\_option       | off  | 20   | 将商品显示模式 (ticker/description) 应用于覆盖/比较状态行中的指标                                                  |
| study\_symbol\_ticker\_description            | off  | 20   | 将商品显示模式 (ticker/description) 应用于状态行中的指标输入                                                     |
| auto\_enable\_symbol\_labels                  | on   | 20   | 比较商品时显示商品名称标签                                                                                 |
| insert\_indicator\_dialog\_shortcut           | on   | 21   | 启用插入指示器对话框快捷方式 (/)                                                                            |

### 重要功能

| ID                                     | 默认状态 | 库版本 | 描述                  |
| -------------------------------------- | ---- | --- | ------------------- |
| study\_templates                       | off  |     |                     |
| datasource\_copypaste                  | on   |     | 允许复制绘图和指标           |
| seconds\_resolution                    | off  | 1.4 | 支持秒的周期              |
| tick\_resolution                       | off  | 18  | 启用对tick分辨率的支持       |
| secondary\_series\_extend\_time\_scale | off  | 20  | 启用此项功能以允许附加系列扩展时间范围 |

## ![](/files/-Lxtj0AV7tXDOERHQk2j)交易终端

| ID                                      | 默认状态 | 终端版本 | 描述                                  |
| --------------------------------------- | ---- | ---- | ----------------------------------- |
| support\_multicharts                    | on   |      | 启用与多图表布局相关的上下文菜单操作（克隆，同步）           |
| header\_layouttoggle                    | on   |      | 显示标题中的“选择布局”按钮                      |
| show\_logo\_on\_all\_charts             | off  |      | 在多功能布局的每个图表上显示 logo                 |
| chart\_crosshair\_menu                  | on   | 1.7  | 在价格范围内启用“加号”按钮以进行快速交易               |
| add\_to\_watchlist                      | on   | 1.9  | 在菜单中启用“添加商品到观察列表”项                  |
| footer\_screenshot                      | on   | 1.11 | 显示页脚中的截图按钮（账户管理器）                   |
| open\_account\_manager                  | on   | 1.11 | 默认打开账户管理器                           |
| trading\_notifications                  | on   | 1.11 | 在图表上显示交易通知                          |
| multiple\_watchlists                    | on   | 1.12 | 启用创建多个监视列表                          |
| show\_trading\_notifications\_history   | on   | 1.13 | 启用底部面板中的 "通知日志" 选项卡                 |
| always\_pass\_called\_order\_to\_modify | on   | 1.15 | 如果修改了包围单，则交易终端将其父订单传递给`modifyOrder` |
| drawing\_templates                      | on   | 17   | 在画线工具上启用画线模板                        |
| trading\_account\_manager               | on   | 17   | 显示账户管理器Widget                       |
| right\_toolbar                          | on   | 17   | 显示右键工具栏                             |
| order\_panel                            | on   | 17   | 显示订单面板                              |
| order\_info                             | on   | 17   | 在“订单”对话框中显示“订单信息”部分                 |
| buy\_sell\_buttons                      | on   | 18   | 在图例中显示"买/卖"按钮                       |
| broker\_button                          | on   | 19   | 显示图例中的 Broker 按钮                    |
| show\_order\_panel\_on\_start           | off  | 17   | 图表打开时显示订单面板                         |
| order\_panel\_close\_button             | on   | 17   | 显示关闭订单面板按钮                          |
| order\_panel\_undock                    | on   | 17   | 在“订单面板设置”中显示“取消停放”按钮                |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://zlq4863947.gitbook.io/tradingview/4-tu-biao-ding-zhi/featuresets.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
