Trend Break Fractal
Category: market_structure, trend
Identifies Bill Williams style fractals and generates buy/sell signals when price breaks the trendline formed by two consecutive fractals of the same type.
Formula
1. Fractal Up: High[i] > High[i +/- n]. 2. Fractal Down: Low[i] < Low[i +/- n]. 3. Trendbreak: Close[k] > High[Fractal2] (Buy) or Close[k] < Low[Fractal2] (Sell), where Fractal2 is the subsequent fractal after Fractal1 without price breaching Fractal1's extreme.
Inputs
- how_many (default: 2)
See signal primitives and every published strategy that uses Trend Break Fractal on WOBR StrategyVerse.