Stepped Profit Targets with Break-Even and Trailing Stops
Summary
This example demonstrates staged exit management for a position using an initial stop and three profit thresholds. Once the first threshold is reached, the stop moves to break-even; at the second, it moves to the first target. At the third, the default behavior exits at the target. Thresholds are entered as percentages and converted to price ticks, making them relative to the instrument’s price and tick size.
An optional mode activates a trailing stop at the second stage, using the third target as the trail amount and the second target as its offset. The example’s entry trigger is a moving-average crossover, but the document presents it as arbitrary demonstration logic rather than a tested entry strategy. It explains the exit-state transitions and plots levels for inspection; it supplies no performance results, and its behavior depends on the platform’s bar-based strategy simulation and order handling.
Key ideas
- The exit logic advances through stages as favorable price movement reaches successive targets.
- The initial stop moves to break-even after the first target and to the first target after the second.
- The default third-stage behavior exits at the final profit target.
- An optional mode activates a trailing stop from the second stage.
- The moving-average crossover is illustrative, and the document provides no strategy performance evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.