Problem with partial profits and stop-loss limit in NinjaTrader 8 Desktop.

I’m facing a problem with NinjaTrader when managing positions with multiple contracts.

When I add and partially close positions, my stop-loss limit automatically starts adding the remaining volume needed to close the position. The problem is that even when I partially close positions, NinjaTrader doesn’t adjust the stop-loss proportionally.

Example of a buy:

• I am long.

• The system places a stop-loss of 50 contracts.

• I partially close 30 contracts.

• However, the stop-loss remains at 50.

• If the price returns, it opens 20 short contracts (which I don’t want), because it understands that the stop-loss still needs to close 50 contracts.

In other words:

It doesn’t reduce the stop-loss as my lot size decreases. This generates unexpected reverse orders.

Furthermore, sometimes NinjaTrader doesn’t allow me to partially close positions—it simply blocks or doesn’t execute them.