Appearance
Personalize your experience
Cypher Pattern
Harmonic patternA five-point harmonic pattern (X\u2013A\u2013B\u2013C\u2013D) characterised by an extended X\u2013A leg (1.13\u20131.414) and a precise 0.786 retracement of XA at D. Discovered by Scott Carney, the Cypher is unique among harmonic patterns because it begins with a false breakout rather than a simple impulse leg.
Origins & theory
The Cypher pattern was identified by Scott Carney and detailed in " Trading Volume 2" (2004). Unlike earlier harmonic patterns that start with an impulsive XA leg followed by a , the Cypher begins with an XA leg: price breaks beyond the prior swing high or low (a false breakout) before reversing. Carney discovered that when this false-breakout leg extends specifically to 1.13\u20131.414 of the prior swing, and is followed by specific / ratios, the completion at D (0.786 retracement of XA) produces a high- .
The theoretical for the Cypher lies in trap trading and stop-runningmechanics. The XA leg runs stops placed beyond the prior swing extreme, trapping latecomers who bought the breakout (in a bullish false breakout) or sold the breakdown (in a bearish case). When price reverses at A and pulls back to C, then drops back to the 0.786 level at D, the trapped traders are forced to cover, adding fuel to the reversal. Carney considered the Cypher the most "pure" harmonic pattern because the false-breakout leg provides a measurable trap zone that enhances the reversal potential.
The 0.786 level at D is critical: it is the of (sqrt(0.618) = 0.786) and represents a deep retracement that tests the patience of remaining trend traders. When D forms at exactly 0.786 of XA, it aligns with a Fibonacci equilibrium level that tends to produce sharp reversals. The Cypher is the only harmonic pattern where XA is an rather than an \u2014 all other patterns (, Bat, Crab) start with XA as a simple swing leg that does not exceed the prior structure. This unique characteristic makes the Cypher both harder to identify and more powerful when it appears.
The Cypher is most effective in ranging and choppy markets where false breakouts are common. In strongly trending markets, the false breakout may simply absorb into the trend and the Cypher will fail. Carney recommended using the Cypher primarily in markets that are oscillating within a defined range, where each false breakout is likely to be quickly reversed. The pattern is less effective in strong, trends where breakouts tend to be genuine rather than false.
Pattern structure
Fibonacci ratios
The Cypher pattern has the most rigid Fibonacci requirements of any harmonic pattern. Each leg has a specific ratio range, and the D completion is at exactly 0.786 of XA. There is no variant selection \u2014 only one valid Cypher structure.
How to draw (4 clicks)
- 1Set X at the prior swingA significant high or low before the false breakout. X should be a clean pivot with preceding trend. The prior swing must be a recognisable pivot point.
- 2Set A at the false breakoutWhere price breaks beyond the prior swing extreme by 1.13–1.414. the extreme of the breakout bar. This is the key identifying feature of the Cypher.
- 3Set B at the retracementThe from A to 0.382–0.618 of XA. B should be a swing low/high. If B retraces more than 0.618, the pattern may be invalid.
- 4Set C at the extensionThe 1.272– extension of AB. C must exceed A. The tool projects D at 0.786 of XA automatically. Enter on reversal confirmation at D.
How to identify valid patterns
The Cypher pattern is less common than other harmonic patterns because of its strict XA requirement. When it does appear, it produces high-quality reversals. Use these to identify valid Cypher patterns.
- XA is an , not a simple : X\u2013A must exceed the prior swing extreme by at least 1.13. If X\u2013A does not break beyond the prior structure, it is not a Cypher \u2014 it may be a or Bat.
- XA between 1.13 and 1.414: The must be within the valid range. Below 1.13 = not enough extension (not a false breakout). Above 1.414 = different pattern ( or ).
- C exceeds A: C must extend beyond A by at least 1.272 AB. If C fails to exceed A, the false-breakout continuation failed and the pattern is invalid.
- D at exactly 0.786 XA: The completion level is at 0.786 \u00B10.02 of XA. Price must reach this level to complete the pattern. This is a single Fib line, not a cluster.
- prior structure: The prior swing (before X) should be a recognisable pivot. If the prior move is chaotic or unclear, the measurement is unreliable and the pattern should be skipped.
- Prior swing : For a bearish Cypher, the prior swing before X should be a low (price breaks above it). For a bullish Cypher, the prior swing should be a high (price breaks below it).
Trading strategy
The Cypher is traded as a reversal at the 0.786 XA completion level. Because this is a single Fib level rather than a cluster, false breaks are more common than with other harmonics. Strict confirmation is essential for profitable Cypher trading.
Invalidation conditions
The Cypher pattern has strict invalidation conditions due to its unique XA requirement. these conditions is essential for avoiding false signals.
- XA below 1.13: If X\u2013A does not reach 1.13 of the prior swing, the false breakout never occurred. No Cypher pattern exists. Do not force a Cypher label on a sub-1.13 .
- XA above 1.414: If X\u2013A exceeds 1.414, the pattern may be a different ( or ). Re-classify or discard. The Cypher\u2019s 0.786 D level is not valid for XA > 1.414.
- D breaks beyond 0.786: If D is exceeded by more than 1 without reversing, the pattern has failed. The 0.786 level was not respected. Exit any pending entry immediately.
- B retraces past X: If B goes beyond the X extreme, the structure has broken and the pattern is invalid. The false breakout has been fully retraced.
- C fails to exceed A: If C is lower than A (bearish Cypher) or higher than A (bullish Cypher), the BC did not materialise. The trap has failed.
- No prior swing: If the prior swing before X is not a recognisable pivot, the measurement is unreliable. Skip the pattern and wait for a clearer setup on another timeframe.
Cypher vs other harmonics
The Cypher is frequently confused with the and Crab patterns. The definitive differences are: the Gartley has XA as a simple leg with B at and D at 0.786 \u2014 no at XA. The Crab has XA as an impulse with D at 1.618 \u2014 extension at D. The Cypher is the only pattern where XA itself is the leg (1.13\u20131.414). If you see a -like structure where the XA leg breaks beyond the prior swing, re-classify as a Cypher. Conversely, if the XA leg does not break the prior swing, it cannot be a Cypher \u2014 it is likely a Gartley or Bat.
Pattern psychology
The Cypher pattern captures one of the most reliable market phenomena: the false breakout trap. The X\u2013A leg represents a breakout above a prior swing high (or below a swing low) that attracts breakout traders \u2014 the "momentum crowd." These traders place their stops just beyond the prior extreme, which the breakout has now exceeded. The A\u2013B is the first of trouble: instead of continuing, price reverses immediately from the breakout level. The B\u2013C traps more latecomers who "buy the dip" in the breakout direction. The C\u2013D completion at the 0.786 XA level is where the true reversal occurs \u2014 all the breakout traders are now trapped, and their stops (placed beyond X) are safely below the market, ensuring resistance to the reversal.
Carney considered the Cypher the "purest" harmonic pattern because the false-breakout mechanism provides a measurable trap. The X\u2013A of 1.13\u20131.414 represents the optimal distance for running stops: far enough to all stops, but not so far that the breakout develops genuine momentum. A breakout that exceeds 1.414 is no longer a false breakout \u2014 it has become a genuine trend move (a different harmonic pattern such as or ). The 0.786 at D is the "confirmation of failure": price has returned to test the prior range, confirming that the breakout was false and the original range will hold.
Multi-timeframe analysis
The Cypher pattern is most effective on intraday timeframes (1-hour to 4-hour) where false breakouts are common and the 1.13\u20131.414 occurs frequently. On daily and weekly charts, false breakouts are less common because institutional traders avoid them \u2014 they prefer genuine breakouts with follow-through. However, when a Cypher does appear on a daily chart, it is extremely significant and produces powerful reversals. Always check the higher timeframe before trading a Cypher: if the daily trend is up and you see a bearish Cypher on the 4-hour chart, the likelihood of a genuine reversal is lower. Trade Cyphers in the direction of consolidation breakouts, not against strong trends.
Common mistakes
Performance considerations
The Cypher pattern has a reported of approximately 62\u201368% based on Carney\u2019s own research and independent backtests. The 0.786 D completion level is the most reliable single Fib level among all harmonic patterns because it combines a deep with the false-breakout trap mechanism. The average risk/reward ratio for Cypher patterns is approximately 1:3, with the A\u2013C zone being the most reliable target ( of 70%+). The XA range of 1.13\u20131.414 is critical: patterns with XA extensions between 1.13 and 1.27 have a different character (shorter false breakout, higher win rate but smaller reward) than patterns with XA between 1.27 and 1.414 (longer false breakout, lower win rate but larger reward).
The Cypher performs best in range-bound markets where false breakouts are common. In strongly trending markets, the drops significantly because the false breakout is quickly absorbed by the larger trend. Market selection matters: the Cypher works well in forex (especially EUR/USD, GBP/USD) and gold (XAU/USD) where false breakouts are a common feature of price action. In equity indices, the pattern is less common but more reliable when it does appear. For optimal , combine the Cypher with a volatility (trade only when is within the 30\u201370th percentile) and a market phase filter (trade only in ranging or consolidating markets, not in strong trends).
Algorithmic considerations
Algorithmic Cypher detection requires measuring the prior swing accurately. The algorithm should first identify the most recent swing extreme before X, then the XA extension as a ratio of that swing. The XA extension must fall within 1.13\u20131.414 for the pattern to be considered. The B must be within 0.382\u20130.618 of XA, and the C extension must be within 1.272\u20131.618 of AB. The D completion is calculated as exactly 0.786 of XA. The algorithm should generate an only when D is reached and a reversal candle pattern (pin bar, ) is detected at the 0.786 level. A tolerance of \u00B10.02 for D and \u00B10.05 for B and C is recommended as the default. Patterns where the XA extension is close to 1.414 should be flagged as potential or patterns for manual review.
Settings reference
References & further reading
- 1.Harmonic Trading Volume 2 — Scott Carney
- 2.Cypher Pattern — Investopedia
- 3.Harmonic Patterns guide — TradingView Help
- 4.The Cypher Harmonic Pattern — Fibonacci Trader
- 5.Profits in the Stock Market — H.M. Gartley (1935)
- 6.Harmonic Trading Volume 1 — Scott Carney
Related articles
Related to Cypher Pattern
- Three Drives Pattern
Charts / Drawing Tools / Patterns
A seven-point reversal pattern with three successive push legs connected by two pullback legs. Each drive extends by a specific Fibonacci ratio (1.272,…
- ABCD Pattern
Charts / Drawing Tools / Patterns
A four-point harmonic structure (A\u2013B\u2013C\u2013D) defined by the AB=CD leg equality rule. The simplest and most foundational harmonic pattern \u2014…
- XABCD Pattern
Charts / Drawing Tools / Patterns
A five-point harmonic structure (X\u2013A\u2013B\u2013C\u2013D) where the D completion point is projected from the XA leg via specific Fibonacci ratios. The…
- Head & Shoulders
Charts / Drawing Tools / Patterns
A three-peak reversal pattern with two lower shoulders flanking a higher head. The neckline connects the troughs \u2014 a decisive break below it confirms…
- Elliott Correction Wave (ABC)
Charts / Drawing Tools / Patterns
A three-wave corrective structure labelled A\u2013B\u2013C that moves counter to the larger trend. The most common types are zigzag (5-3-5 internal…
- Elliott Impulse Wave (12345)
Charts / Drawing Tools / Patterns
A five-wave motive structure (1\u20132\u20133\u20134\u20135) that moves in the direction of the larger trend. Three of the waves are impulsive (1, 3, 5) and…
- Elliott Triangle Wave (ABCDE)
Charts / Drawing Tools / Patterns
A five-wave corrective pattern labelled A\u2013B\u2013C\u2013D\u2013E where price moves sideways between two converging or diverging boundary lines. All…
- Elliott Triple Combo (WXYXZ)
Charts / Drawing Tools / Patterns
A complex corrective pattern comprising three corrective structures (W\u2013Y\u2013Z) connected by two intervening X waves. Denoted…
- Fib Time Zone
Charts / Drawing Tools / Fibonacci
A time-based Fibonacci study that draws vertical lines at intervals from the Fibonacci sequence (1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144…), marking potential…