ATR-Spaced Trap Orders Around a Rolling Baseline
Summary
The document presents a strategy that places a ladder of limit orders above and below a calculated baseline, with spacing determined by the average true range and a user multiplier. The source derives the baseline from recent price movement extremes, with a mode that selects the smallest or largest absolute movement over a lookback period. In buy mode, orders accumulate at the baseline and lower levels, with exits staged at the baseline and higher levels; sell mode mirrors this arrangement. The code also plots multiple ATR-spaced levels and allows the user to choose a trading direction and mode.
The prose describes a moving-average crossover trend strategy, but the included source does not implement that method: it shows ATR-based layered entries and exits instead. Published settings identify a BTC/USDT futures backtest configuration and default inputs, but no performance results are provided. The source excerpt is incomplete, so some long-side order logic cannot be inspected. Layered limits may accumulate exposure, and the document gives no demonstrated risk controls or evidence that the approach performs reliably across markets.
Key ideas
- The source builds a baseline from recent price movement extremes rather than from a pair of moving averages.
- ATR multiplied by a configurable factor sets the spacing of price levels above and below the baseline.
- The strategy stages multiple limit entries and exits, creating a layered trading approach.
- The explanatory prose and the supplied implementation describe materially different strategies.
- Published backtest settings provide configuration details but no performance evidence.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.