NEWCard payments are live · from $18/month, USDT also acceptedSee plans
COINPRED / STRATEGY LIBRARY

ETH Wolfe wedge break: enter along the 2–4 line, target the 1–4 projection

An open-source (MPL 2.0) pattern-breakout strategy from Trendoscope. It looks for five-point Wolfe wedges in a zigzag, defaults to long only, and, when the estimated reward-to-risk clears the threshold, places a bracket order along the 2–4 line with a stop and a target. The author's chart is BINANCE:ETHUSDT on the 1-hour timeframe. The rules follow the source; this page has no invented backtest numbers.

Illustrated guidesPine Script®Included with monthly & annual plans
← All strategies
Trendoscope · 4.0 · 2026-11-25 · Breakouts
ETH Wolfe wedge break: enter along the 2–4 line, target the 1–4 projection

The idea

This is Trendoscope's open-source script titled Wolfe Strategy [Trendoscope], short title WS[Trendoscope], version 4.0 in pine-facade. The source header is © HeWhoMustNotBeNamed, the same author brand as Trendoscope. The idea is a Wolfe wedge: find a contracting five-point structure, draw the 1–5 and 2–4 sides, and extend the 1–4 line toward the apex for a target. The publication says the entry is a break of the triangle, with a static stop and target. It also notes that a Pine strategy cannot hold a long and a short at once, so the settings force a single side; the default is long only.

The author's publication chart is BINANCE:ETHUSDT on the 1-hour timeframe, so this entry is filed under ETH. The script is not hard-coded to one symbol; it will load on other charts, but the write-up and the image follow that publication chart. The source imports public HeWhoMustNotBeNamed libraries (rzigzag, _matrix, arrays, and strategy). Actual orders go through st.bracketOrderWithoutLeverage. Coinpred ships only the unmodified strategy source. One publication detail differs from the code: the text says pyramiding is limited to 1, but the source sets pyramiding=10. The rules below follow the source.

Author chart of the Wolfe strategy on BINANCE:ETHUSDT 1-hour, showing wedge sides, the target line, and entries
Author chart: BINANCE:ETHUSDT (Binance Ethereum / Tether), 1-hour timeframe, from the author's publication image. The wedge sides, projected target, and entry/exit marks are visible; this only shows the layout and is not a performance claim.

How the indicators are calculated

  • Zigzag: built with the imported zigzag.zigzag helper, length 8 and recursive depth 250 by default. minLevel defaults to 0, so scanning starts at the finest level. When a new pivot appears, the script scans five-point structures at the current level and the next level.
  • The five points must first pass a direction check and a basic geometry check. In the default long mode, lastDir must be < 0, point 2 must be the lowest of the five, point 5 the highest, and point 1 must sit below point 3 and above point 4. Short mode mirrors that. A candidate is skipped if it shares at least three pivots with a stored pattern, or if Suppress Overlap is on and its start falls inside an existing pattern's range.
  • Wedge sides: l1 joins points 1 and 5; l2 joins points 2 and 4. The source treats a contracting structure whose two sides have the same slope sign as a Wolfe wedge (the flag is named isNotTriangle). It then walks forward up to min(500, 2 × base width) bars to find where the sides meet, stores that bar as closingEndBar, and sets closingEndPrice to the midpoint of the two line prices there.
  • The entry price is the 2–4 line (l2) evaluated at the next bar. The target is the 1–4 projection at closingEndBar. The stop is closingEndPrice. Reward-to-risk is abs(entry − target) / abs(entry − stop). The bracket is only submitted if that ratio is ≥ Minimum RR (default 1.0).
  • The strategy uses 10% of equity, 0.05% commission, margin_long and margin_short of 100 (full margin, i.e. no leverage in the usual Pine sense), and pyramiding=10. About 10 live patterns can be tracked at once.

Entry rules

  • Trade Direction defaults to long only; there is no both-sides option. Long mode only accepts wedges with lastDir < 0; short mode only accepts lastDir > 0.
  • Once the pattern, the apex, and the reward-to-risk gate pass, the script calls st.bracketOrderWithoutLeverage with a rising numeric id and a flag for whether the current close is already beyond the entry. The imported library places the actual limit, stop, and target; this page describes the three prices the strategy source passes in.
  • While the order is still pending (internal status 0), evaluate() recomputes the entry from the latest 2–4 line price and, if the ratio still clears the gate, cancels and replaces the bracket. The author notes that the entry bar drifts toward the stop as the pattern develops, so a pattern that starts below the threshold can later become eligible.
  • The source does not wait for barstate.isconfirmed. Line prices and orders update as new bars form; whether a fill stands depends on your TradingView order settings and on how the imported library submits the bracket.

Exits and position size

  • The stop and target are attached when the bracket is placed: the stop is the wedge-close midpoint, and the target is the 1–4 projection at the close bar. The publication calls these static levels.
  • If price has already reached the target, or if status has moved to 1 and the close crosses the stop, or if the order is still pending and bar_index has passed the end of the 2–4 line, the script cancels that id and drops the pattern record.
  • Each entry is 10% of equity. The source allows up to 10 pyramid layers, so more than one pattern order can be live at the same time. What that notional is worth changes with the symbol and equity, so treat the size as your own risk setting.

Inputs (source defaults)

InputDefaultRole
Trade DirectionlongLong only or short only; there is no both-sides option.
Minimum RR1.0Minimum reward-to-risk required before a bracket is placed.
ThemeDarkLine colours are chosen for a dark or a light chart.
Suppress OverlapfalseWhen on, a new wedge whose start sits inside an existing one is not drawn.
Draw ZigzagtrueWhether to draw the zigzag legs inside the wedge.
Zigzag Length8Length of the zigzag turns.
Zigzag Depth250Depth of the recursive zigzag search.
Min Level0First recursive zigzag level used to look for Wolfe patterns.

Things to know before using it

  • The publication says pyramiding is limited to 1; the source sets pyramiding=10. More than one pattern order can be working at the same time.
  • The default is long only. The author presents that as a Pine limitation (no simultaneous long and short), not as a claim that the pattern itself is one-sided.
  • Order placement lives in the imported library HeWhoMustNotBeNamed/strategy/3. If that import cannot be resolved, or if the library behaves differently than you expect, the strategy will not run as published.
  • A low Minimum RR can let a few losers outweigh a larger number of winners; a high one filters out most patterns. The author leaves the default at 1.0 as a middle ground.
  • This pattern does not fire often. The author also notes that because of the one-sided book and pyramid limits, a valid pattern may still not become a fill.

Installing it on TradingView

  1. Download the .pine file from Coinpred (active membership required, see below), or check the original page for a newer version.
  2. Open the Pine Editor, create a blank script, paste the full source, and save. The imports in the source must resolve on TradingView.
  3. Click Add to chart. To match the author image, start with BINANCE:ETHUSDT on the 1-hour timeframe.
  4. Review the trade direction and Minimum RR, then check in the Strategy Tester that the limit, stop, and target are placed as you expect.
  5. Past tester results do not guarantee future returns.

About backtest figures

Source, license and version

  • Source: https://www.tradingview.com/script/EGvQ2nLb-Wolfe-Strategy-Trendoscope/
  • Author: Trendoscope (source header © HeWhoMustNotBeNamed). Source version 4.0 (Pine v5), scriptAccess=open_no_auth.
  • License: Mozilla Public License 2.0. Redistribution must keep the copyright and license notices; modified files must remain under MPL 2.0. Coinpred ships the unmodified full source.
  • Members can download the .pine file on this page to study the rules. Judge the risk yourself, and follow your venue's rules.

Source, license and version

Mozilla Public License 2.0 (MPL 2.0),源码头注明 © HeWhoMustNotBeNamed,由 Trendoscope 账号发布。再分发须保留原版权与许可声明;如修改源码文件,修改后的文件仍须按 MPL 2.0 提供。Coinpred 未修改源码。 / Licensed under MPL 2.0 per the source header, © HeWhoMustNotBeNamed, published under the Trendoscope account. Redistribution must keep the copyright and license notices; modified files must remain under MPL 2.0. Coinpred ships the unmodified source.

View original source ↗

Check the script license and your TradingView account features. Historical results do not guarantee future performance.

More strategies

All strategies →