---
id: faq_item.1085
page_type: faq_article
title: "How can I avoid opening a position in the Moonbot terminal away from the marking price?"
description: "Use the MarkPriceMin and MarkPriceMax parameters on the Filters / Base tab of the strategy settings: (only works on the Moonbot futures terminal). The MarkPrice..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1085?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1085?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1085?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1084?format=md
next: https://moonbot.pro/faq/strategy-settings/1086?format=md
status: published
updated_at: 2026-11-15T11:04:16+03:00
---

# How can I avoid opening a position in the Moonbot terminal away from the marking price?

Use the MarkPriceMin and MarkPriceMax parameters on the Filters / Base tab of the strategy settings: (only works on the Moonbot futures terminal). The MarkPrice filter is designed to avoid opening a position too far from the mark price, which could result in instant liquidation. The filter works with the MarkPrice delta, which is the percentage difference between the market price and the mark price. It is negative if the MarkPrice is higher than the market price and positive if it is lower. The filter is set by values from and to (MarkPriceMin, MarkPriceMax).

Example: MarkPriceMin=0 MarkPriceMax=1 – will select all coins where the mark price is shifted in the opposite direction from the order by no more than 1% (thus, if the mark price is 1% higher than the price, no shorts will be placed; if it is 1% lower than the price, no longs will be placed; in other cases, both shorts and longs will be placed).

To ensure that this parameter is checked by the strategy, set IgnoreFilters = NO on the general Filters tab, and set IgnoreBase = NO on the Filters / Base tab. A green vertical bar should be visible to the left of the Filters / Base tab, indicating that this tab and the parameters in it are not being ignored.

## 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) / How can I avoid opening a position in the Moonbot terminal away from the marking price?

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

Previous: [Is there a SamePosition setting on the Filters tab, does it work in Moonbot's MoonHook strategy?](https://moonbot.pro/faq/strategy-settings/1084?format=md)

Next: [I want the strategy to take a position no higher than a certain value that I can allocate to a single coin, how can I implement this?](https://moonbot.pro/faq/strategy-settings/1086?format=md)

## Related

- [I want the strategy to take a position no higher than a certain value that I can allocate to a single coin, how can I implement this?](https://moonbot.pro/faq/strategy-settings/1086?format=md)
- [I want filters to be checked not only when a strategy is detected, but also throughout the time until a Buy order is executed, where is this configured?](https://moonbot.pro/faq/strategy-settings/1087?format=md)
- [I want to stop the strategies if there is a big price lag, how can I do that?](https://moonbot.pro/faq/strategy-settings/1088?format=md)
- [Can you tell me more about setting the BinancePriceBug parameter, which is located on the Filters tab of the strategy settings of the Moonbot terminal?](https://moonbot.pro/faq/strategy-settings/1089?format=md)
- [I want to stop the strategy if the total minus exceeds my threshold, how can I adjust this?](https://moonbot.pro/faq/strategy-settings/1090?format=md)
