Skip to content
All library documents

Range Reversal Trading with Flat Bands, Price Extremes, and Candlestick Signals

Article Strategy library · Author: richardgong1988

Summary

The visible script describes a range-reversal strategy that looks for relatively flat Bollinger Band midlines, then tracks touches of the lower or upper band. Such a touch opens a configurable window in which reversal signals may qualify, provided the flat condition still holds. The setup includes optional pinbar, engulfing, and fractal signal components, along with ATR-based flatness tolerance and parameters for risk per trade, stop offsets, breakeven offsets, and minimum reward potential. It also computes recent price extremes around the signal bars.

The supplied text cuts off before the entry, sizing, and exit logic is shown, so the complete rules and how the listed signal types are combined cannot be confirmed. The visible assignments specifically derive buy and sell reversal flags from the pinbar component, while engulfing and fractal results are parsed separately. No market, timeframe, backtest results, or evidence of profitability is included. The parameter names indicate intended risk controls, but do not show how risk is ultimately enforced.

Key ideas

  • The visible setup seeks reversal trades after band touches during a flat Bollinger midline regime.
  • A qualifying touch starts a configurable signal window, and flatness must persist for the signal to remain valid.
  • The script includes optional pinbar, engulfing, and fractal inputs, though the visible buy and sell flags use pinbar results.
  • ATR-based flatness tolerance and per-trade risk parameters are included in the setup.
  • The excerpt ends before complete trade execution and exit rules, and supplies no backtest evidence.

Tags

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