Skip to content
All library documents

BOS and CHoCH Entries with SMA Filters and Risk Controls

Article Strategy library · Author: CleightyP

Summary

This strategy script is organized around breaks of market structure and changes of character, with configurable pivot lookback and optional adjustment by chart timeframe. Its inputs allow entries on BOS, CHoCH, or either, and optionally require a strong candle. A multi-average trend filter can assess SMA slopes in several modes, while separate options can require ordered SMA stacking or diverging slopes. The risk controls offer stop placement based on a prior swing, the entry candle, or a percentage, with adjustable buffers and risk-to-reward targets. Entry timing can be intrabar or delayed until candle close.

The supplied document cuts off during the input declarations, before the signal calculations and order logic. It therefore does not establish how structure breaks are detected in practice, how filters interact, or what exits the script executes. No instrument, backtest results, or performance evidence is provided, so the configurable design should not be read as evidence of profitability.

Key ideas

  • The script is designed to trade breaks of structure and changes of character using configurable pivot settings.
  • Users can select BOS or CHoCH entry modes and enable a strong-candle filter.
  • SMA slope, stacking, and divergence options provide alternative trend filters.
  • Stops can reference a swing, entry candle, or percentage, with configurable buffers and targets.
  • The excerpt ends before signal and execution logic, and gives no backtest evidence.

Tags

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