Configurable Pending-Order Grids with Portfolio-Level Close Rules
Summary
The expert advisor builds a grid from configurable pending stop and limit orders. Traders can choose which buy and sell order types to enable, define the first order by an absolute price or a distance from the current price, and set separate spacing and initial volume for stop and limit orders. Volume coefficients can scale subsequent orders. Grid trading is disabled by default, so the order types and parameters must be selected deliberately.
The advisor allows stop loss and take profit to be disabled, and pending orders can have an expiration time. It can close all open positions and remove pending orders when aggregate profit reaches a configured threshold or aggregate loss reaches or exceeds another threshold. The description supplies no tested results or performance evidence. Grid outcomes depend heavily on spacing, sizing, market path, and execution; disabling protective exits may expose the account to substantial losses.
Key ideas
- The advisor places grids using selected pending stop and limit order types.
- The first order can be set by price or by distance from the current market price.
- Separate spacing, starting volume, and volume scaling can be configured for stop and limit orders.
- Pending orders may expire, while stop loss and take profit can be disabled.
- A profit or loss threshold can trigger closure of all positions and deletion of pending orders.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.