---
id: faq_item.1197
page_type: faq_article
title: "I use filters and if they pass, the strategy buys the coin, but I want to sell the position as soon as the filters stop passing my conditions again, how do I implement this?"
description: "To solve your problem, use the SellByFilters parameter in the strategy settings, in which you can specify the time in seconds after the coin purchase, after whi..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1197?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1197?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1197?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1196?format=md
next: https://moonbot.pro/faq/strategy-settings/1198?format=md
status: published
updated_at: 2026-11-17T22:50:12+03:00
---

# I use filters and if they pass, the strategy buys the coin, but I want to sell the position as soon as the filters stop passing my conditions again, how do I implement this?

To solve your problem, use the SellByFilters parameter in the strategy settings, in which you can specify the time in seconds after the coin purchase, after which you can sell the position if the filters no longer meet the specified conditions. If you write zero in the parameter, this parameter will not be used in the strategy.

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [FAQ](https://moonbot.pro/faq?format=md) / [Strategy settings](https://moonbot.pro/faq/strategy-settings?format=md) / I use filters and if they pass, the strategy buys the coin, but I want to sell the position as soon as the filters stop passing my conditions again, how do I implement this?

Parent section: [Strategy settings](https://moonbot.pro/faq/strategy-settings?format=md)

Previous: [I place a small SellPrice and would like to place it just below large limit orders to close the position the fastest. How can I do this in Moonbot?](https://moonbot.pro/faq/strategy-settings/1196?format=md)

Next: [After buying a coin, I have a Sell order set at the same value, but is it possible to adjust it and set it for example just below the maximum for a certain time?](https://moonbot.pro/faq/strategy-settings/1198?format=md)

## Related

- [After buying a coin, I have a Sell order set at the same value, but is it possible to adjust it and set it for example just below the maximum for a certain time?](https://moonbot.pro/faq/strategy-settings/1198?format=md)
- [What is the SellLevelDelay parameter in the strategy settings?](https://moonbot.pro/faq/strategy-settings/1199?format=md)
- [What is the SellLevelDelayNext parameter for in strategy settings?](https://moonbot.pro/faq/strategy-settings/1200?format=md)
- [What is the SellLevelWorkTime parameter in strategy settings for?](https://moonbot.pro/faq/strategy-settings/1201?format=md)
- [What is the SellLevelTime parameter in the strategy settings?](https://moonbot.pro/faq/strategy-settings/1202?format=md)
