Skip to content
All library documents

Hedged Pending Orders as an Alternative to Stop Losses

Article MQL5 code base

Summary

The document introduces a discretionary approach that uses an opposing pending order to hedge a position instead of placing a conventional stop loss. The author says they use scripts to place the orders through keyboard shortcuts. The title describes sell entries hedged by buy stops and buy entries hedged by sell stops, suggesting that the pending order is intended to activate if price moves against the initial trade.

The excerpt exposes configurable parameters for order distance, position size, take-profit and stop-loss settings for both the initial and stop orders. It does not include the script’s execution logic, explain how the hedge is managed after activation, or provide test results. The approach’s risk depends on details absent here, including order behavior, costs, and what happens to both positions during a fast market. The material is therefore a brief description of a trading tool and its inputs, not a complete strategy evaluation.

Key ideas

  • The described scripts pair an initial trade with an opposing stop pending order.
  • The author presents this as an alternative to relying on a conventional stop loss.
  • Inputs include order distance, lot size, and profit and loss settings for both orders.
  • The excerpt omits the order-management logic and offers no performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.