Skip to content
All library documents

Multi-Timeframe Range Flips with Higher-Timeframe Structure Bias

Article Strategy library · Author: Mikey2timez

Summary

This Pine strategy framework combines range-flip entries with a configurable higher-timeframe market-structure bias. Its inputs allow the bias to use breaks of structure, a sequence of higher highs and higher lows, or both; a midline rule can be set to pullback or breakout. Optional controls include daily or weekly regime switching, elevated-volatility filtering, ATR- or volume-based size scaling, VWAP conditions, depth-based sizing or gating, and separate long and short trading windows.

Stops can reference a swing pivot, the flip candle’s range, or a previous range, with configurable buffers. The visible script excerpt is truncated before the actual entry and exit logic, so the exact range-flip definition, target rules, and how the filters interact cannot be confirmed. Although the strategy settings specify commissions, slippage, and intrabar detail, the document provides no backtest results. Treat the inputs as a framework description rather than evidence that the strategy is profitable.

Key ideas

  • The framework uses higher-timeframe market structure to filter range-flip trades.
  • Structure bias can be based on breaks of structure, a higher-high and higher-low sequence, or both.
  • Optional filters and sizing controls include volatility, VWAP, regime, and range depth.
  • Stop placement can refer to pivots, the flip candle, or a previous range.
  • The excerpt omits the main trade logic and reports no performance results.

Tags

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