Wolfe Wave Indicator**Wolfe Wave Indicator Description**
This indicator is a strict Wolfe Wave scanner and trade tracker built for cleaner pattern identification, trade-level plotting, and simple performance tracking.
It detects bullish and bearish Wolfe Wave structures from confirmed pivot highs and lows. A bullish setup requires a five-point sequence where point 3 is lower than point 1, point 5 is lower than point 3, point 4 remains inside the point 1 to point 2 price range, and point 5 forms near the projected point 1 to point 3 line. A bearish setup uses the inverse structure, requiring point 3 above point 1, point 5 above point 3, point 4 inside the point 1 to point 2 range, and point 5 near the projected point 1 to point 3 line.
The pattern begins as a pending Wolfe Wave once the five-point structure is detected. A trade confirms only after price closes back inside the point 1 to point 3 line. The script supports two entry styles: confirmation close or point 4 break. The stop loss is placed beyond point 5, with an optional tick buffer.
Targets are based on the Wolfe Wave EPA line. The EPA line is drawn from point 1 to point 4. TP1, TP2, and TP3 are calculated as user-defined portions or extensions of the distance from entry to the EPA line value at confirmation. By default, TP1 is halfway to the EPA line, TP2 is the EPA line target, and TP3 is an extension beyond the EPA line.
Trades remain open until either the stop loss is hit or TP3 is reached. TP1 and TP2 are tracked as partial target achievements, but they do not close the trade. Stats update only when a trade is fully closed. If the stop and TP3 are both touched on the same candle, the stop has priority.
By default, the indicator allows only one open Wolfe trade at a time. While one trade is open, no new Wolfe pattern will form or confirm. This is intentional and keeps the stats cleaner by avoiding overlapping trade signals. A user toggle is included to allow multiple open trades for those who want to use it more like a pattern scanner.
Visual behavior is simple. Pending patterns are yellow. Confirmed active trades are orange and display entry, stop loss, TP1, TP2, and TP3 levels. Closed historical patterns are purple. A display option allows the EPA line and point 1 to point 3 projection line to appear only on pending or active patterns, keeping historical patterns cleaner and reducing chart clutter.
This indicator is designed as a structured Wolfe Wave trade model, not a loose discretionary drawing tool. It uses strict validation rules, confirmed pivots, defined entry logic, defined stop logic, EPA-based targets, and closed-trade statistics.
Indicator

