Click to play video
Tutorial with Source Code
Please Register for FREE account or Login to purchase this source code.
By downloading, you agree with our Terms & Conditions
The William Fractal is a sophisticated swing structure indicator developed for NinjaTrader 8 and 8.1. It specialises in identifying confirmed swing highs and swing lows using the classic fractal concept developed by Bill Williams, automatically plotting triangle markers at validated pivot points that meet strict left-right bar comparison requirements, providing objective market structure visualisation for both discretionary analysis and programmatic integration into automated strategies. When you purchase the William Fractal from Rize Capital, you receive the complete NinjaScript source code, providing total freedom to modify the indicator. For a detailed overview, check out our video tutorial above. Important Note: This indicator follows the classic fractal concept developed by Bill Williams. Any purchase amount paid is for the programming effort and implementation, not for the underlying idea itself.
See how the William Fractal - NinjaTrader 8 Indicator looks in action with these screenshots

Learn how to use the William Fractal - NinjaTrader 8 Indicator

The William Fractal Indicator for NinjaTrader 8 specialises in confirmed swing structure identification by marking swing highs and swing lows only after validation through left-right bar comparison, automatically plotting visual markers at pivot points that represent confirmed changes in price direction rather than speculative predictions. The core functionality revolves around objective pivot detection combined with programmatic accessibility that makes swing structure data available for both visual analysis and automated strategy integration.
As shown in Image 1 (pointed by yellow arrows), green upward-pointing triangles appear at confirmed swing highs—pivot points where the middle bar's high exceeds both the left-side bars and right-side bars by the configured strength parameter. These high pivot markers represent validated resistance points where price temporarily topped before reversing lower. Orange-red downward-pointing triangles (pointed by white arrows) mark confirmed swing lows—pivot points where the middle bar's low falls below both surrounding bar lows, representing validated support levels where price temporarily bottomed before reversing higher.
The visual framework maintains chart clarity by plotting only confirmed pivots that meet strict validation criteria. Markers appear with slight offset from price action (configurable via triangle offset parameter) to ensure visibility on volatile instruments without obscuring candlestick patterns. This clean presentation allows traders to quickly identify market structure, recognise trend direction through pivot sequences, and spot potential reversal zones where price tests previous pivot levels.


William Fractal offers straightforward yet powerful customisation through its settings panel. The Parameters section, highlighted by a red rectangle in Image 2, controls the core confirmation logic. The Strength parameter determines how strict pivot validation becomes—this value specifies how many bars on both the left and right side of the potential pivot must be compared. A strength value of 2 (common default) means the middle bar's high (for swing highs) or low (for swing lows) must exceed or fall below two bars on each side to qualify as a confirmed pivot.
Increasing strength produces fewer, stronger pivots that represent more significant swing points—useful for higher timeframe analysis, swing trading approaches, or filtering minor retracements within trends. A strength of 4 or 5 creates very selective pivot identification, marking only major structural turning points. Lowering strength generates more frequent pivots that capture smaller swings—appropriate for scalping timeframes, intraday mean reversion strategies, or detailed structure analysis. A strength of 1 creates the most sensitive detection, though it may include noise in choppy conditions.
The Triangle Offset Ticks parameter controls visual presentation without affecting pivot detection logic. This setting shifts triangle markers away from price bars by the specified tick distance, ensuring markers remain clearly visible even on instruments with large candlestick ranges or during high-volatility periods. Traders using busy chart layouts or multiple overlapping indicators benefit from increased offset values that prevent visual clutter.
Image 3 displays the Plots configuration options, highlighted by a yellow rectangle. The High Pivot plot represents confirmed swing highs, defaulting to green upward-pointing triangles that immediately communicate bullish pivot identification. Traders can customise the colour, marker style, and line thickness to match personal chart themes or to differentiate from other indicators. The visual clarity of distinct upward triangles makes high pivots instantly recognisable during rapid market analysis.
The Low Pivot plot marks confirmed swing lows, defaulting to orange-red downward-pointing triangles that visually communicate bearish pivot points. Similar customisation options allow colour scheme adjustments, marker style changes, and thickness modifications. The downward triangle orientation provides intuitive visual communication—traders naturally associate downward markers with support levels and potential reversal zones where price found buyers.
These plot outputs serve dual purposes: visual chart analysis for discretionary traders and programmatic data sources for automated strategies. Because William Fractal delivers full NinjaScript source code, developers can reference the High Pivot and Low Pivot plot values directly within custom strategies, using confirmed swing structure as entry filters, stop loss references, breakout triggers, or trailing stop logic based on most recent pivot levels.
With full NinjaScript source code included, advanced users can modify the indicator. If you have questions about the indicator, refer to the comprehensive video tutorial above.
Secure payment via PayPal
By downloading, you agree with our Terms & Conditions