Dual-Sided Breakout Entries and Their Trading Costs
Summary
This document describes a strategy that alternates between long and short entries on successive bars, using bar parity rather than a market breakout condition to choose direction. Its narrative frames the approach as holding both sides so a move in either direction can produce a trend-following gain, with the opposite side stopped out. The source also illustrates webhook alerts for opening a long and closing it, and sets a position size of 10%. Published backtest settings list BTC_USDT futures on 30-minute bars over a brief 2023 interval, but provide no performance evidence.
The stated risks include fees from frequent two-way trading, losses when markets range, and sensitivity to position sizing and stop placement. There is a significant gap between the explanation and the source: the code does not define a clear price breakout trigger or trailing stop, and alternates entries by bar number. The alert text mentions profit and loss prices, but these are not implemented as strategy exits in the shown code. Treat it as an illustrative alert and order example, not validated evidence of a breakout system.
Key ideas
- The shown source alternates long and short entries according to whether the bar index is even or odd.
- The accompanying description characterizes the approach as a two-sided breakout strategy, but the code does not define a breakout condition.
- Webhook alerts demonstrate messages for opening a long and closing it.
- The document identifies range-bound markets, transaction costs, and position sizing as risks.
- The published BTC_USDT futures test settings include no reported results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.