---
id: document_item.main-tab
page_type: documentation_article
title: "“Main”选项卡"
description: "Moonbot 策略 Main 选项卡上的主要参数：唯一名称、备注、SignalType、ChannelName 和 ChannelKey、信托管理、通知、EmulatorMode 和 IndependentSignals。"
section: documentation
category: "策略 / 所有策略的通用参数"
url: https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/main-tab?format=md
locale: zh
alternate_ru: https://moonbot.eu/documentation/general-parameters-for-all-strategies/main-tab?format=md
alternate_en: https://moonbot.eu/en/documentation/general-parameters-for-all-strategies/main-tab?format=md
parent: https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies?format=md
previous: null
next: https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/user-interface-tab?format=md
status: published
updated_at: 2026-11-11T22:59:51+03:00
---

# “Main”选项卡

- **StrategyName**：用于填写策略名称的字段。每个策略的名称必须唯一。不填写策略名称就无法保存策略；
- **Comment**：用于填写策略简短备注的字段。如果不需要备注，此字段可以留空；
- **LastEditDate**：显示策略最后编辑日期的字段，会自动更新为最后一次保存的日期和时间。日期和时间的格式：**YYYY-MM-DD hh:mm**；
- **SignalType**：用于选择策略类型的菜单，可选择以下选项之一：Telegram、DropsDetection、WallsDetection、PumpsDetection、MoonShot、Liquidations、MoonStrike、Volumes、VolumesLite、Waves、Delta、UDP、Manual、Combo、NewListing、TopMarket、EMA、Spread、MoonHook、Activity、Alerts、Watcher；
- **ChannelName**：用于选择信号来源名称的菜单。可以是：**MoonNews** ——用于接收 Moon News 新闻流中的消息；**WebHookTV** ——用于接收来自 TradingView 的 webhook；也可以是其他 **Telegram 频道、群组和机器人**，即计划为该策略提供信号的来源。如果需要从 Telegram 频道、群组或某些机器人接收信号，则该菜单中的列表由用户自行在 **Settings →** **Telegram** 选项卡上通过 **Add Channel** 按钮和用于填写频道的字段创建。**ChannelName** 参数仅存在于 Telegram 类型的策略中；
- **ChannelKey**：用于填写信号来源中关键词的字段，Telegram 策略将对该关键词作出反应。除选择“**MoonNews**”的情况外，此字段中只能严格填写一个关键词。如果需要 Telegram 策略对例如两个不同的关键词触发，请创建该策略的两个副本，在一个中填写关键词 1，在另一个中填写关键词 2。信号中的关键词可以是各种词：“Buy”、“Sell”、“Long”、“Short”等，而对于 PREMIUM 频道，关键词可以是：“moon_1” … “moon_20”。\
  如果选择了“**MoonNews**”，则可以在 **ChannelKey** 参数字段中填写一个标签或以逗号分隔的多个标签，策略将按这些标签触发。标签列表可以在 [Moon News](https://moonbot.eu/zh/documentation/menu-button/moon-news?format=md) 窗口中点击 **Tags** 查看。目前可用的标签有：airdrop, announcement, api, binance, bitget, bybit, crypto, delisting, depositswithdrawals, earnings, elonmusk, exchange, exchange_upbit, hack, kucoin, listing, maintenance, nasdaq, okx, phish, promotion, sec, stocks, tokenmigration, tradingupdate, trump, upcoming。如果选择“**MoonNews**”时将此字段留空，策略将对所有标签的全部新闻触发。\
  **ChannelKey** 参数仅存在于 Telegram 类型的策略中。
- **AcceptCommands**：**YES/NO** 复选框。如果为 **YES**，则接收信托管理指令。该参数仅存在于 Telegram 和 UDP 类型的策略中；
- **OnlyEncryptedCommands**：**YES/NO** 复选框。如果为 **YES**，则只接收加密指令。该参数仅存在于 UDP 类型的策略中；
- **SilentNoCharts**：**YES/NO** 复选框。如果为 **YES**，收到信号时不会打开币种图表。如果为 NO，收到信号时会打开币种图表；
- **ReportToTelegram**：**YES/NO** 复选框。如果为 **YES**，则允许策略把信号消息发送到您的 Telegram 频道（为此需要配置 Moonbot 终端与您的 Telegram 频道之间的连接）；
- **ReportTradesToTelegram**：**YES/NO** 复选框。如果为 **YES**，则允许策略把交易报告发送到您的 Telegram 频道（为此需要配置 Moonbot 终端与您的 Telegram 频道之间的连接）。
- **SoundAlert**：**YES/NO** 复选框。如果为 **YES**，则允许策略触发时发出声音提醒；此外，检测按钮区域会出现一个按钮，上面闪烁显示策略触发的币种名称。点击该按钮，Moonbot 终端主窗口中将打开该币种的图表。
- **SoundKind**：用于从预设声音中选择策略触发时提醒音的菜单。可以向该列表添加自己的声音。为此需要关闭终端，打开文件 **data/sounds.zip**，把扩展名为 .**wav** 的声音文件添加进去，保存压缩包，然后以管理员模式启动终端；
- **KeepAlert**：用于填写整秒数的字段，在这段时间内会显示带有该策略触发币种名称的闪烁按钮；
- **AddToChart**：用于填写独立图表窗口编号的字段，该策略触发后，币种图表将被添加到这个窗口
- **KeepInChart**：用于填写整秒数的字段，该策略触发后，币种图表将在图表窗口中保留这么长时间
- **EmulatorMode**：**YES/NO** 复选框。如果为 **YES**，该策略只会挂出模拟订单，与终端中设置的总体模式（真实模式或模拟模式）无关；总体模式通过 **Menu → Emulation mode** 设置。\
  如果为 **NO**，该策略将挂出：\
  \- 仅真实订单（终端总体模式为真实模式时）\
  \- 仅模拟订单（终端总体模式为**模拟模式**时）；
- **DebugLog**：**YES/NO** 复选框。如果为 **YES**，则在日志中输出更多关于策略触发或未触发原因的信息。建议只在排查策略触发特点时使用此参数，日常使用时将其关闭，因为开启后日志中会写入更多信息，在配置较低的电脑上可能很快占满磁盘空间。该参数仅用于 **MoonStrike** 和 **Liquidations** 策略。
- **IndependentSignals**：**YES/NO** 复选框。如果为 **NO**，策略的触发逻辑保持旧方式：按列表自上而下依次检查策略，找到第一个符合检测条件的策略后发出信号，其余策略不再检查——Moonbot 终端 6.88 版本之前一直采用这种逻辑。如果为 **YES**，则采用新逻辑：列表中的所有策略依次发出信号，直到遇到第一个未勾选该复选框的策略为止
  - 参数 **IndependentSignals** 在以下策略中不使用（实际上不存在）：MoonShot、PumpsDetection、UDP、Combo、Manual、TopMarket、Alerts
  - 参数 **IndependentSignals=YES** 在以下策略中始终启用（无法取消勾选 **YES**）：NewListing、EMA、Spread、MoonHook、Activity（因为这些策略此前就是按照勾选 IndependentSignals=YES 后的逻辑工作的）
  - 在以下策略中，参数 **IndependentSignals** 可以使用两种状态——**IndependentSignals=NO** 或 **IndependentSignals=YES**，由用户根据自己的算法决定：Telegram、DropsDetection、WallsDetection、MoonStrike、Volumes、VolumesLite、Waves、Delta。

## 导航

路径: [首页](https://moonbot.eu/zh?format=md) / [文档](https://moonbot.eu/zh/documentation?format=md) / [策略](https://moonbot.eu/zh/documentation/strategies?format=md) / [所有策略的通用参数](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies?format=md) / “Main”选项卡

上级栏目: [所有策略的通用参数](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies?format=md)

下一页: [“User Interface”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/user-interface-tab?format=md)

## 相关内容

- [“User Interface”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/user-interface-tab?format=md)
- [“Dynamic White\\Black List”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/dynamic-whiteblack-list-tab?format=md)
- [“Triggers Master/Slave”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/triggers-masterslave-tab?format=md)
- [“Session”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/session-tab?format=md)
- [“Buy conditions”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/buy-conditions-tab?format=md)
- [“Delta Modifiers”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/delta-modifiers-tab?format=md)
- [“Multiple Orders”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/multiple-orders-tab?format=md)
- [“Stops”选项卡](https://moonbot.eu/zh/documentation/general-parameters-for-all-strategies/stops-tab?format=md)
