Consecutive Bar Breakouts for Short-Term Trading
Summary
This short-term strategy uses recent candle direction to generate long or short entries. A bullish candle is considered alongside a comparison of its open with the close from a chosen number of bars earlier; a bearish candle uses the reverse comparison. Entry orders are placed just beyond the current bar’s high or low, respectively, and the write-up recommends stops to limit losses. The bar counts and backtest window can be adjusted.
The document provides a BTC/USDT futures backtest configuration, but reports no performance figures or evidence that the approach is profitable. Its stated risks include whipsaws from the lack of a broader trend filter, premature exits from tight stops, and reversals. The source’s time condition is always true, so the described date inputs do not appear to restrict entries in the supplied implementation. The written explanation also refers to multiple consecutive bars, while the code compares only the current bar with a lookback value; that distinction should be checked before evaluating the method.
Key ideas
- The strategy enters long after an up candle meets a lookback comparison and places a stop entry above its high.
- It enters short after a down candle meets the reverse comparison and places a stop entry near its low.
- The bar lookback values can be adjusted, but the code does not require multiple consecutive directional candles.
- The supplied backtest settings identify a BTC/USDT futures test period but provide no performance results.
- Whipsaws, tight-stop exits, and reversals are key risks.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.