Not for the margin, only for the risk. The risk is the maximum amount that can be lost with a trade. If the risk is higher than Risk slider x Margin slider, the trade is skipped.