Using Fixed Trade Patterns to Compare Trailing Stops and Exit Rules
Summary
The article presents a repeatable way to compare trailing-stop and market-exit algorithms in a trading platform. A trader marks historical buy and sell patterns on a chart, placing entries near reversals and exits after the subsequent move has had room to develop. The marked lines are saved to a file, then read by an expert advisor that follows those entry commands while the tested exit logic manages the trades. This keeps entry timing consistent across comparisons, including when an early stop-out would otherwise trigger a new order.
The article distinguishes idealized reversal-to-reversal paths from more realistic paths that enter after confirmation and exit near break-even. It describes how different stop distances can capture varying amounts of a move, and how an overly tight stop can close prematurely. The proposed scripts draw, save, and restore the chart patterns; the author also suggests running multiple algorithm variants on the same pattern. No comparative performance results are supplied, and the method depends on manually selected historical patterns, so it does not establish live profitability or remove selection bias.
Key ideas
- Fixed historical entry patterns let researchers compare exit algorithms under consistent opening conditions.
- Entries are marked near reversals, while exits are placed later to let tested stop rules run their course.
- A close trailing stop may exit early and obscure how alternative exit logic would have performed.
- Chart scripts can save and restore buy and sell pattern lines for an expert advisor to execute.
- The article proposes testing several trailing variants on the same chart but reports no results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.