Fractal TrendlinesFractal Trendlines is a non-repainting market structure indicator that builds dynamic support and resistance trendlines directly from confirmed fractal pivots. The script identifies major swing highs and lows using customizable left/right fractal strength settings, then connects those pivots into active trendlines while filtering out structurally weak lines using an optional Verified Trendlines mode. Verified red trendlines require lower highs and verified green trendlines require higher lows, helping remove a large amount of noisy or directionless structure.
The indicator is designed to separate short-term fractal structure from larger directional trend structure. Fractal markers and short pivot lines help visualize local reaction zones and recent liquidity pivots, while the trendline engine focuses on broader structural continuation and breakout behavior. Fractal Historical Lookback controls only the visible fractal markers and pivot lines without affecting the internal pivot memory used by the trendline engine. This allows traders to maintain a clean chart visually while still preserving deeper structural trendline calculations internally.
Break signals trigger only on currently active displayed trendlines. Once a trendline has produced a valid break signal, it becomes inactive and cannot generate repeated break labels. Break labels are directly tied to their parent trendline, so when older trendlines are removed by the Max Trendlines setting, their associated break labels are automatically removed as well. This prevents stale signals from remaining on the chart and keeps the display focused on current actionable structure.
The indicator can be used across multiple timeframes and trading styles. Lower fractal settings produce faster and more reactive structure, while higher settings produce cleaner swing-based trendlines more suitable for swing trading and macro structure analysis. RSI confirmation is optional and can be enabled to filter fractals using momentum conditions. Default settings are optimized for clean chart structure with minimal visual clutter while still retaining enough context for breakout and trend continuation analysis.
Chỉ báo






















