Position & Size Pre-trade & Monitor

Max Margin Usage

Block trades that would push margin usage beyond your limit.

How It Works

Before any trade is executed, PipsGuard calculates what your margin usage would be after the trade. If it would exceed your configured maximum, the trade is blocked.

The rule also monitors existing positions — if margin spikes above the limit (due to price movement), it can alert you or close positions. This prevents over-leveraging, which is one of the fastest ways to blow a funded account.

Configuration

Parameter Default Description
max_margin_percent 50.0% Maximum allowed margin usage
warning_threshold_pct 0 Warn at this percentage (0 = disabled)
auto_close_on_breach false Close positions if margin spikes above limit

When This Rule Fires

Pre-trade: Blocks any trade that would push margin usage above the configured maximum.
Monitor: Watches margin usage in real-time. Alerts or closes positions if margin spikes above the limit due to price movement.

Best For

Traders who over-leverage Multi-account managers Prop firm traders with margin requirements

Pro Tips

  • Set max_margin_percent to 50% or lower for conservative risk management.
  • Enable warning_threshold_pct at 40% to get early warnings before hitting the limit.
  • Pair with Max Positions Open to control both margin and position count.
Configure This Rule

Set up margin usage limits in your dashboard.