For some strategies in the MoonBot terminal, on the Filters / Price/Position tab of the strategy settings, the SamePosition parameter is used (to place subsequent orders in the direction of the open position). If SamePosition=YES and, for example, a long position has been opened, subsequent orders will also be placed as long orders, and if you try to place short orders, MoonBot will reject this action and indicate the reason in the log: Market XXX is opened in Long position. You need to use this setting correctly or make separate copies of strategies for long and short orders.
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.