---
id: faq_item.1426
page_type: faq_article
title: "在 Moonbot 终端中，能否设置带警报的价位，当价格穿越这些价位时，在指定的图表窗口中打开该币种的图表，并同时挂出 Buy 订单？"
description: "在 Moonbot 终端中，可以通过 Menu - Alerts 打开 Alerts 窗口，其中会列出币种图表上所有设置了警报（信号事件）的绘图元素。在所选币种上画一条水平价格线（Price Line）..."
section: faq
category: "策略设置"
url: https://moonbot.pro/zh/faq/strategy-settings/1426?format=md
locale: zh
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1426?format=md
alternate_en: https://moonbot.pro/faq/strategy-settings/1426?format=md
parent: https://moonbot.pro/zh/faq/strategy-settings?format=md
previous: https://moonbot.pro/zh/faq/strategy-settings/1425?format=md
next: https://moonbot.pro/zh/faq/strategy-settings/1427?format=md
status: published
updated_at: 2026-11-19T11:51:03+03:00
---

# 在 Moonbot 终端中，能否设置带警报的价位，当价格穿越这些价位时，在指定的图表窗口中打开该币种的图表，并同时挂出 Buy 订单？

在 Moonbot 终端中，可以通过 Menu - Alerts 打开 Alerts 窗口，其中会列出币种图表上所有设置了警报（信号事件）的绘图元素。在所选币种上画一条水平价格线（Price Line），并在其上设置警报。\
在 Strategies 窗口中创建一个 Alerts 策略，在策略设置的 Main 选项卡上设置，例如：AddToChart=1（在图表窗口 1 中打开币种图表）和 KeepInChart=300（在图表窗口中保留币种图表 300 秒）。为了让 Alerts 策略触发后同时自动在该币种上挂出 Buy 订单，请在 Buy conditions 选项卡上设置参数 AutoBuy=YES，并根据需要对 Alerts 策略进行其他设置。\
通过 Menu - Alerts 打开 Alerts 窗口，在所选币种警报的 Strategy 列菜单中选择 Alerts 策略，然后关闭 Alerts 窗口。\
在 Moonbot 终端主窗口上用鼠标右键点击黄色星形按钮，然后点击 New 按钮，创建图表窗口 1。\
之后，等待该币种的价格线穿越设有警报的水平价位，Alerts 策略随即触发，在图表窗口 1 中打开币种图表，同时挂出 Buy 订单。

## 导航

路径: [首页](https://moonbot.pro/zh?format=md) / [常见问题](https://moonbot.pro/zh/faq?format=md) / [策略设置](https://moonbot.pro/zh/faq/strategy-settings?format=md) / 在 Moonbot 终端中，能否设置带警报的价位，当价格穿越这些价位时，在指定的图表窗口中打开该币种的图表，并同时挂出 Buy 订单？

上级栏目: [策略设置](https://moonbot.pro/zh/faq/strategy-settings?format=md)

上一页: [在 Moonbot 终端的策略设置中，某些选项卡（例如 Filters 和 Sell order）上的子部分左侧有灰色或绿色的竖条，这是什么？](https://moonbot.pro/zh/faq/strategy-settings/1425?format=md)

下一页: [在 Moonbot 终端中，如果删除绑定了 Alerts1 策略的旧警报，然后重新设置该警报，而此时默认策略已经是 Alerts2，那么重新设置的警报会绑定哪个策略？](https://moonbot.pro/zh/faq/strategy-settings/1427?format=md)

## 相关内容

- [在 Moonbot 终端中，如果删除绑定了 Alerts1 策略的旧警报，然后重新设置该警报，而此时默认策略已经是 Alerts2，那么重新设置的警报会绑定哪个策略？](https://moonbot.pro/zh/faq/strategy-settings/1427?format=md)
- [如果我在 Moonbot 终端中使用不带 Alerts 策略的警报，当价格再次穿越带有此类警报的图形时，会再次发出信号吗？](https://moonbot.pro/zh/faq/strategy-settings/1428?format=md)
- [如果我在 Moonbot 终端中使用带 Alerts 策略的警报，当价格再次穿越带有此类警报的图形时，会再次发出信号吗？](https://moonbot.pro/zh/faq/strategy-settings/1429?format=md)
- [Moonbot 终端中的 Alerts 策略有哪些专有参数？](https://moonbot.pro/zh/faq/strategy-settings/1430?format=md)
- [在 Moonbot 终端中，能否只从一个策略的某一个设置选项卡复制参数，然后将其整体粘贴到第二个策略中，而不改变第二个策略其他选项卡上的参数？](https://moonbot.pro/zh/faq/strategy-settings/1431?format=md)
