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.