Harmonic Pattern

Cypher Pattern

The Cypher Pattern is a 5-point XABCD harmonic structure where C extends 1.272–1.414 of XA beyond the X origin and D retraces to 0.786 of XC, signaling a high-probability reversal at the D.

4-hourdailyweekly
Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime

7-day money-back guarantee

How to Identify

01

Identify swing point X (the origin low for bullish, high for bearish)

02

A forms opposite X — a clear swing in the primary direction

03

B retraces 0.382–0.618 of the XA leg

04

C extends 1.272–1.414 of XA and must close beyond the X origin price level

05

D retraces exactly 0.786 of the entire XC range — this is the entry zone

Trading Rules

Entry Rules

  1. Place a limit order at the 0.786 retracement of XC (the D completion point)
  2. Confirm pattern validity: all four ratio conditions must be met simultaneously before entering
  3. Optional: wait for a bullish or bearish reversal candlestick at D before filling
  4. Use TradingView's harmonic pattern tool or manual Fibonacci overlays to verify levels

Exit Rules

  1. T1: 0.382 retracement of the CD leg — take partial profits (50%) here
  2. T2: Full CD retracement back to C level — close the remaining position
  3. Trail stop to breakeven after T1 is reached to protect against reversal
  4. Exit immediately if price closes beyond X on a daily bar — pattern is invalidated
Target Calculation

Measure the CD leg range (C minus D in price). T1 is D plus 0.382 of CD. T2 is the C level itself, representing a full 100% retracement of the CD move.

Stop Placement

Place the stop loss just beyond the X point — typically 0.25–0.50 below X for bullish setups. X is the geometric origin of the pattern; a close beyond X invalidates the ratio structure entirely and signals the setup has failed.

Success Rate

Reported 1:2–1:3 R:R when D completes within tolerance on 4H and daily charts with volume confirmation; no widely published academic win-rate exists for Cypher specifically

Success rates vary based on market conditions, timeframe, and trader experience. Always validate patterns with your own journal data.

Journaling Tips

01

Record all five XABCD price levels and the exact Fibonacci ratios achieved

02

Note which market and timeframe produced the setup (Cypher reliability varies by instrument)

03

Log whether price confirmed at D with a reversal candle before you entered

04

Track T1 and T2 outcomes separately to understand your partial-exit performance

05

Rate setup quality 1–5 based on how cleanly each ratio fell within its tolerance

The Cypher is a 5-point harmonic reversal pattern with stricter Fibonacci ratio requirements than most XABCD structures, making valid setups rarer and more precisely defined. Unlike the Gartley or Bat pattern, the Cypher requires its C leg to extend beyond the X origin — a geometric characteristic that creates a distinctive shape and a tighter D completion zone. The pattern is bullish when forming off a swing low and bearish at a swing high, and it appears with the most consistency on 4-hour and daily charts in forex pairs and index futures.

How to Identify the Cypher Pattern

  1. Locate the X origin — X is the starting swing point: a clear swing low for a bullish Cypher, a swing high for a bearish. This is the geometric anchor for all subsequent measurements.

  2. Confirm the XA leg — A forms the first directional move from X. Measure the XA price range in dollars; this number drives all ratio calculations that follow.

  3. Validate B at 0.382–0.618 of XA — B retraces between 38.2% and 61.8% of the XA leg. A B point outside this range disqualifies the pattern. For a $15 XA move, B must retrace $5.73 to $9.27 from A.

  4. Confirm C extends 1.272–1.414 of XA and closes beyond X — This is the Cypher’s defining rule. C must not only exceed A — it must push past X itself. A minimum 1.272 extension of XA places C above the X origin; a maximum 1.414 extension defines the upper tolerance. The Bat pattern’s C point, by contrast, never exceeds X. This extension-beyond-origin rule is what separates Cypher from every other common harmonic and filters out lower-quality setups.

  5. Identify D at 0.786 retracement of XC — D does not retrace from XA like the Gartley or from A like the Bat. It retraces from the full XC range. Calculate D by taking C minus (0.786 times the XC price range). This is the entry zone.

Volume note: On the XA and AB legs, volume confirms directional conviction. At the D completion, look for volume to decrease (a sign the move is exhausting) followed by a reversal candle such as a hammer or engulfing bar. High volume into D with no reversal signal is a warning — the pattern may fail.

Entry Rules

  1. Place a limit order at the 0.786 XC retracement (D) — Calculate D before price arrives. A pre-set limit order ensures you capture the precise completion level without chasing.

  2. Verify all four ratios simultaneously — B within 0.382–0.618 of XA, C within 1.272–1.414 of XA and exceeding X, and D at 0.786 of XC. All conditions must be met. A pattern that satisfies three of four is not a Cypher.

  3. Optional candlestick confirmation at D — Waiting for a bullish reversal candle at D (hammer, bullish engulfing, or morning star on the 4H chart) reduces false starts. This confirmation costs a small amount of entry price but improves pattern reliability.

  4. Use TradingView’s harmonic tool for scanning — The built-in harmonic pattern indicator flags Cypher candidates in real time. Cross-check the flagged levels manually before committing capital.

Exit Rules and Targets

  1. T1 at 0.382 retracement of CD — Take 50% of the position off at T1. This locks in a partial gain and funds the breakeven stop move for the remaining shares.

  2. T2 at the C level (full CD retracement) — The remaining 50% targets C, representing a complete reversal of the CD leg. This is the measured-move target for the Cypher and typically produces 1:2–1:3 R:R on well-formed setups.

  3. Move stop to breakeven after T1 — Once T1 is hit, move the stop to the entry price. The worst outcome on the trade becomes a scratch.

  4. Time-based exit — If price lingers in the D zone for more than 10 bars on the entry timeframe without advancing toward T1, reassess. Stagnation at D often precedes a failed pattern.

Target Calculation: Measure the CD leg from C down to D in dollars. T1 = D plus 38.2% of the CD range. T2 = C (the top of the CD leg). For example, if C is $529.08 and D is $514.07, the CD range is $15.01. T1 = $514.07 + ($15.01 × 0.382) = $519.80. T2 = $529.08.

Stop Loss Placement

Place the stop below the X origin with a 0.25–0.50 buffer. X is the geometric anchor of the entire pattern — a daily close below X means the Fibonacci structure has broken down and the setup is invalid. For a bullish Cypher with X at $510, a stop at $509.50 captures the invalidation level while avoiding wick noise. The distance from D to the stop is typically 30–40% of the XA leg. At a 1:3 R:R target (T2), this keeps the risk-to-reward ratio firmly in the trader’s favor. Do not tighten the stop to D or the midpoint of the CD leg — that places it inside normal retracement noise and produces premature exits.

Practical Example

On the SPY daily chart, a bullish Cypher sets up with X at $510 (swing low) and A at $525 — a $15 XA move. B forms at $517.25, retracing $7.75 of the XA leg (51.6% — within the 38.2–61.8% window). C extends to $529.08, which is 1.272 times the $15 XA leg added to X ($510 + $19.08 = $529.08), and confirms that C has closed above the X origin. The full XC range is $19.08. D completes at $514.07: $529.08 minus ($19.08 × 0.786) = $529.08 minus $15.01.

Entry: limit order at $514.07. Stop: $509.50 (below X). Risk per share: $4.57. T1: $519.80 (0.382 of CD from D). T2: $529.08 (C level). T2 reward per share: $15.01. R:R at T2: 3.3:1.

On a $25,000 account risking 1% ($250), position size = $250 divided by $4.57 = 54 shares. If the trade reaches T2, gross profit on 54 shares is $810 — a 3.24% account gain on a single setup.

Best Timeframes for the Cypher Pattern

The 4-hour and daily charts produce the cleanest Cypher setups in forex pairs (EUR/USD, GBP/USD) and equity index futures (ES, NQ). On these timeframes, Fibonacci levels align with institutional order flow zones, and the ratio tolerances are narrow enough to be meaningful. Weekly charts produce fewer signals but higher-conviction entries. On timeframes under 1-hour, random price noise overwhelms the precision required by the Cypher’s tight ratio rules — a B point that appears to be at 0.55 on a 15-minute chart may be anywhere from 0.40 to 0.70 on a 1-hour reading, rendering the pattern criteria unreliable. Index ETFs like SPY and QQQ and liquid large-cap equities also produce valid setups on the daily timeframe, though forex and futures markets show higher pattern frequency due to mean-reverting price behavior. The shark pattern and crab pattern share similar harmonic logic and often appear on the same instruments.

Common Mistakes

  1. Entering at C instead of D — Traders see C extend beyond X and assume that’s the reversal point. It is not. C is an extension leg; D is the completion. Entering at C means taking a position against the CD move before the pattern has formed.

  2. Accepting a C point below X — The C leg must close above X in a bullish Cypher. A C that stays between X and A is not a Cypher — it may be a Gartley or butterfly candidate. Never relax this condition.

  3. Measuring D from XA instead of XC — This is the most common ratio error. The Gartley and Bat use XA as the D reference. The Cypher uses XC. On the SPY example, measuring 0.786 of XA ($15) gives D at $513.21 — almost $1 different from the correct $514.07. Small ratio errors produce stop placements that are too tight.

  4. Skipping ratio validation when a scanner flags the pattern — TradingView’s harmonic tool is a starting point, not a final verdict. Always verify all four ratios manually before entering. Scanners sometimes flag near-miss setups as valid Cyphers.

  5. Holding through X on a daily close — Once price closes below X (bullish) or above X (bearish) on the entry timeframe, the pattern structure is broken. Exiting immediately caps the loss at the defined stop; hoping for recovery turns a controlled loss into an open-ended one.

How to Journal Cypher Pattern Trades

Tracking Cypher trades with structured fields over 50 or more repetitions reveals which markets and setup variations actually produce edge — and which are losing propositions in disguise.

Journal FieldWhat to RecordWhy It Matters
Pattern TypeCypher — bullish or bearishFilter Cypher trades from all harmonic trades for isolated review
All XABCD LevelsExact price for each pointReconstruct the pattern later and verify ratio quality
Fibonacci Ratios AchievedB%, C extension%, D%Distinguish tight setups (ratios near midpoint) from marginal ones
Candlestick Confirmation at DYes / No + candle typeTest whether confirmation improves win rate vs. blind limit fill
Setup Quality Rating1–5 scaleRate how cleanly each ratio fell within tolerance
T1 / T2 OutcomeHit / Missed / PartialTrack partial-exit strategy performance separately from full-target
Market and TimeframeSPY daily, EUR/USD 4H, etc.Identify which instruments produce the most reliable Cyphers

After logging 50+ trades, filter by Setup Quality rating 4–5 and compare win rate and average R:R against the full sample. Most traders find that marginally valid ratios (B at 0.61, C at 1.28) underperform tight setups (B at 0.50, C at 1.35). JournalPlus’s tagging and filter tools let you segment by pattern type, market, and timeframe in seconds — making this analysis a matter of minutes rather than a manual spreadsheet project. The data often reveals that a trader’s edge in Cypher setups is concentrated in one or two instruments and timeframes, which allows for deliberate narrowing of the setup criteria.

For a broader framework on swing trade journaling that applies to harmonic patterns, see the guide on swing trader use cases and the technical analyst workflow.

Common Mistakes

Entering before D fully forms — C extending beyond X is necessary but D must complete at 0.786 XC

Accepting a C point that only barely exceeds X — the extension must reach at least 1.272 of XA

Placing the stop at D instead of below X, which underestimates the true risk and invites premature exit

Treating the Cypher like a Gartley by measuring D from XA instead of XC — the ratios are fundamentally different

Trading Cypher setups on timeframes under 1-hour where Fibonacci noise overwhelms ratio precision

Frequently Asked Questions

What makes the Cypher pattern different from the Gartley or Bat?

The key difference is the C point. In the Gartley and Bat, C retraces partway between X and A and never exceeds X. In the Cypher, C must extend beyond X — reaching 1.272 to 1.414 of the XA leg. This creates a more extended intermediate swing and means D's completion level is measured from XC rather than XA, producing a geometrically distinct structure.

How do I calculate the D completion point for a Cypher?

Measure the full XC price range (C minus X for a bullish setup). Multiply that range by 0.786. Subtract the result from C to get D. For example, if X is $510 and C is $529.08, XC range is $19.08. D = $529.08 minus ($19.08 times 0.786) = $514.07.

Is the Cypher a reversal or continuation pattern?

The Cypher is a reversal pattern. The D completion point represents a potential turning point where the CD leg is expected to reverse back toward C. Bullish Cyphers signal a low-risk long entry; bearish Cyphers signal a short entry at an overbought completion zone.

What markets work best for Cypher patterns?

The Cypher appears most reliably on 4-hour and daily charts in forex pairs (EUR/USD, GBP/USD) and equity index futures (ES, NQ). Equities like SPY and highly liquid large-cap stocks also produce clean setups. Avoid applying it to illiquid instruments where Fibonacci levels are noise-dominated.

Can I automate Cypher pattern detection?

TradingView includes a built-in harmonic pattern drawing tool that identifies Cypher patterns automatically. You still need to verify that all four ratio conditions are satisfied simultaneously — the tool flags candidates but does not enforce strict tolerances. Manual verification at the D level before entry is recommended.

What R:R ratio should I expect from a Cypher trade?

When entering at D with a stop below X, the risk is typically tight relative to the CD leg length. Targeting T2 at the C level produces R:R ratios of 1:2 to 1:3 in most clean setups. The exact ratio depends on how close D lands to X and how far C extended beyond X.

What invalidates a Cypher pattern?

A daily close beyond the X point invalidates the bullish Cypher — it means price has moved outside the geometric structure that defines the setup. Any of the four ratio conditions failing also disqualifies the pattern. If B retraces more than 0.618 of XA, or C does not reach at least 1.272 of XA, the setup is not a valid Cypher.

Start Tracking Your Patterns

Journal every pattern trade to discover which setups actually work for you.

Buy Now - ₹6,599 for Lifetime Buy Now - $159 for Lifetime

7-day money-back guarantee

SSL Secure
One-Time Payment
7-Day Money-Back