Placing Equidistant Buy and Sell Stop Orders
Summary
This document describes a trading script that places a buy stop and a sell stop at equal distances from the current price. Its input settings cover trade size, allowed price deviation, entry distance, stop loss, take profit, retry count, and the pause between attempts. Together, these parameters define how far the pending orders sit from the market and how the script handles execution attempts.
The document provides no market rationale, asset specification, backtest, or performance evidence. It also does not explain what happens to the opposite pending order after one order triggers, or how position size relates to account risk. As a result, it is best read as a brief description of order placement mechanics rather than a complete trading strategy. The stop and target values are stated in points, so their practical meaning depends on the instrument and platform settings.
Key ideas
- The script places buy stop and sell stop orders at matching distances from the current price.
- Inputs configure trade size, price deviation, entry distance, stop loss, and take profit.
- The script also allows repeated execution attempts with a configurable pause.
- The document gives no performance evidence or details about managing the untriggered order.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.