---
id: faq_item.1250
page_type: faq_article
title: "策略设置中的参数 SellLevelRelative 负责什么？"
description: "参数 SellLevelRelative=NO/YES 决定 Sell 订单移动时的计算基准：按买入价格与 SellLevelTime 秒内最高价之差的 SellLevelAdjust 百分比来移动 Sell 订单。 示例： SellLe..."
section: faq
category: "策略设置"
url: https://moonbot.pro/zh/faq/strategy-settings/1250?format=md
locale: zh
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1250?format=md
alternate_en: https://moonbot.pro/faq/strategy-settings/1250?format=md
parent: https://moonbot.pro/zh/faq/strategy-settings?format=md
previous: https://moonbot.pro/zh/faq/strategy-settings/1249?format=md
next: https://moonbot.pro/zh/faq/strategy-settings/1251?format=md
status: published
updated_at: 2026-11-18T00:23:26+03:00
---

# 策略设置中的参数 SellLevelRelative 负责什么？

参数 SellLevelRelative=NO/YES 决定 Sell 订单移动时的计算基准：按买入价格与 SellLevelTime 秒内最高价之差的 SellLevelAdjust 百分比来移动 Sell 订单。

示例：\
SellLevelDelay=5（秒）：5 秒后移动 Sell 订单 \
SellLevelTime=3600（秒）：终端计算 3600 秒内的最高价\
SellLevelCount=1：只尝试移动 Sell 订单一次\
SellLevelAdjust=50（%）：Sell 订单移到买入价格与 3600 秒内最高价之间 50% 的位置（该参数可以设为负数，用于“卖到绿色买盘中”）\
SellLevelRelative=YES：选择新的 Sell 订单移动方式；如果为 NO，则按旧方式工作 \
SellLevelAllowedDrop=0：Sell 订单不能被移动到低于该水平的位置（可以设为负数）

也就是说，Sell 订单可以挂在例如“1 小时最高价的 50%”处，价格最常反弹到这个位置。按旧的设置，我们无法计算“一半”，现在可以了。\
如果您想把 Sell 订单挂在：\
1\) “1 小时最高价的两倍距离处”，则 SellLevelAdjust=200（%）\
2\) “正好在 1 小时最高价”，则 SellLevelAdjust=100（%）\
3\) “1 小时最高价挂单墙的下方”，则 SellLevelAdjust=99（%）\
4\) “1 小时最高价的一半处”，则 SellLevelAdjust=50（%）\
5\) “1 小时最高价的 10% 处”，则 SellLevelAdjust=10（%）\
6\) “1 小时最高价的 5% 处”，则 SellLevelAdjust=5（%）\
7\) “5 秒后平仓（SellLevelDelay=5）”，则 SellLevelAdjust=-50（%），即 5 秒后 Sell 订单会被向下移到绿色买盘深处，位于买入价格与 1 小时最高价之差的负 50% 处。此时 SellLevelAllowedDrop 也需要设为负数。

## 导航

路径: [首页](https://moonbot.pro/zh?format=md) / [常见问题](https://moonbot.pro/zh/faq?format=md) / [策略设置](https://moonbot.pro/zh/faq/strategy-settings?format=md) / 策略设置中的参数 SellLevelRelative 负责什么？

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

上一页: [我需要在发送远程控制命令（例如买入某个币种）后，由多个策略同时买入这个币种，而不是只有一个。这可以实现吗？](https://moonbot.pro/zh/faq/strategy-settings/1249?format=md)

下一页: [我希望 Moonbot 终端中的策略在两个时间段运行：上午 10:00 到 14:00，晚上 19:00 到 21:00。可以在参数 WorkingTime 中同时填写这两个时间段吗？](https://moonbot.pro/zh/faq/strategy-settings/1251?format=md)

## 相关内容

- [我希望 Moonbot 终端中的策略在两个时间段运行：上午 10:00 到 14:00，晚上 19:00 到 21:00。可以在参数 WorkingTime 中同时填写这两个时间段吗？](https://moonbot.pro/zh/faq/strategy-settings/1251?format=md)
- [在 Moonbot 终端中按策略交易时，如何限制同一币种上的订单数量？](https://moonbot.pro/zh/faq/strategy-settings/1252?format=md)
- [如何限制挂单的币种数量？](https://moonbot.pro/zh/faq/strategy-settings/1253?format=md)
- [Trailing 和 Take Profit 是如何工作的？](https://moonbot.pro/zh/faq/strategy-settings/1254?format=md)
- [在 Moonbot 中，如何在一个策略的触发条件满足后启动另一个策略？](https://moonbot.pro/zh/faq/strategy-settings/1255?format=md)
