Skip to content
All library documents

Dual Thrust Breakouts with Trend-Adjusted Trigger Ranges

Article Strategy library · Author: a624587332

Summary

This Dual Thrust variant creates breakout thresholds around the current period’s open using a range derived from prior highs, lows, and closes. One algorithm uses a single lookback window; another calculates separate buy and sell ranges from two windows. Multipliers scale the ranges into triggers, and a selectable trend rule adjusts those multipliers to make breakouts more or less sensitive in each direction. The system changes directional state when price crosses a trigger, treating the opposite signal as a reversal.

The script also plots Bollinger or standard-error bands, but these do not determine the breakout entries shown. Inputs include lookback windows, coefficients, trend rules, and a repaint option. With repainting enabled, the source requests current-bar data using lookahead, which can make historical signals differ from information available at the time; the non-repainting setting instead shifts the requested data. The document offers no performance results or transaction-cost analysis, so the trigger logic and repaint behavior require careful testing before use.

Key ideas

  • Breakout thresholds are calculated from prior price ranges and anchored to the current period’s open.
  • Two algorithms offer either a shared range window or distinct windows for buy and sell triggers.
  • Trend rules adjust trigger multipliers to alter directional breakout sensitivity.
  • An opposite trigger changes the system’s direction and acts as an exit signal.
  • The repaint setting can affect historical signals, and no performance evidence is provided.

Tags

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