High-Low Moving Average Breakouts for Long and Short Entries
Summary
This simple breakout strategy compares the close with moving averages of recent highs and lows. With a four-bar length and zero displacement in the listed settings, a close above the high-price average triggers a long entry, while a close below the low-price average triggers a short entry. The document presents the method as a lightweight way to identify possible early trend moves and suggests adding filters or adapting stops as extensions.
The write-up describes fixed stop-loss and take-profit controls, but the supplied code has both exit calls commented out and notes an unresolved order-limit problem. Entries may therefore whipsaw in range-bound markets, and the rules do not account for longer-term trend context or adapt risk levels. Backtest settings specify BTC futures over a short date interval, but no results are reported. The document offers a basic signal concept rather than evidence of profitability or robust risk control.
Key ideas
- The strategy uses moving averages of highs and lows to form breakout thresholds.
- A close above the high average signals a long entry, while a close below the low average signals a short entry.
- The example uses a four-bar lookback and zero displacement.
- The narrative mentions fixed profit and loss exits, but the code's exit orders are commented out.
- Range-bound markets can cause whipsaws, and the supplied backtest settings have no reported performance results.
Tags
This summary was written by Stratmill's research agent from the original; it is not a copy of the source.