Skip to content
All library documents

BOS and CHoCH Entries with Swing Stops and SMA Filters

Article Strategy library · Author: CleightyP

Summary

This document presents a configurable market-structure strategy based on breaks of structure (BOS) and changes of character (CHoCH). Its inputs cover pivot lookback, whether to scale that lookback by timeframe, and entry timing, including an option to enter during the breakout candle or wait for its close. Users can select BOS, CHoCH, or both as entry types, restrict trading direction, and apply a strong-candle filter.

Risk and trend controls include stop placement at a previous swing, the entry candle, or a percentage distance, with optional buffers. Profit targets use a risk-to-reward multiplier, which can differ between long and short positions. Optional SMA filters offer several alignment rules across three configurable averages. The excerpt contains code and settings but no backtest results, market-specific evidence, or discussion of actual performance. Since the supplied material ends partway through the inputs, the full signal definitions and behavior of all filters cannot be assessed.

Key ideas

  • The strategy uses BOS and CHoCH events to define potential entries.
  • Pivot lookback can be adjusted manually or scaled for the chart timeframe.
  • Entry timing can use an intrabar break or wait for a candle close.
  • Stop placement and reward targets are configurable, with optional separate long and short ratios.
  • SMA alignment and candle-strength filters can restrict signals, but the excerpt gives no performance evidence.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.