:
Strategy settings
To do this, in the MoonBot terminal, on the Filters / Price/Position tab of the strategy settings, use the MaxPosition parameter, in the field of which you set the position threshold, above which all Buy orders will be cancelled (when CheckAfterBuy is enabled), and new ones will not be placed.
To ensure that this parameter is checked by the strategy, set IgnoreFilters = NO on the general Filters tab, and set IgnorePrice = NO on the Filters / Price/Position tab. A green vertical bar should be visible to the left of the Filters / Price/Position tab, indicating that this tab and the parameters in it are not being ignored.