Cypher Pattern: Exact Fibonacci Rules and a Verified Nifty Example
Cypher harmonic pattern explained with exact Fibonacci legs, a verified Nifty example, Bank Nifty option math, costs and Indian F and O tax.
Key Takeaways
- 1.The Cypher pattern has five points labelled X, A, B, C and D. The strict rule set is: B retraces 38.2 to 61.8 percent of the XA leg, C is a 127.2 to 141.4 percent extension of the whole XA move and sits beyond A, and D is the 78.6 percent retracement of the entire XC leg. The D zone is where you trade, not C.
- 2.The single most common error, and the one that makes most online Cypher examples wrong, is measuring D as a retracement of XA instead of XC. D is 78.6 percent of XC. Get this wrong and your entry sits at a level the price never tags.
- 3.A bullish Cypher signals a possible bottom and you go long at D. A bearish Cypher signals a possible top and you go short at D. The pattern is a location tool, not a guarantee. You still need a trigger candle and a stop beyond X.
- 4.In Indian F and O, you express a Cypher trade through Nifty, Bank Nifty or a liquid stock future or option. Lot sizes matter: Nifty 65, Bank Nifty 30, FinNifty 60 and Sensex 20. Every illustrative profit below is shown after STT and brokerage.
- 5.F and O gains are taxed as business income at your slab rate, not as capital gains. Cash delivery trades follow STCG 20 percent and LTCG 12.5 percent above Rs 1.25 lakh. Always size positions so one wrong D entry cannot wreck the account.
What the Cypher Pattern Actually Is
The Cypher pattern is a five point harmonic reversal structure built on Fibonacci ratios. It was popularised by Darren Oglesbee and sits in the same family as the Gartley, Bat, Butterfly and Crab. What sets the Cypher apart is its third leg. In a Gartley or Bat, point C stays inside the XA range. In a Cypher, point C pushes beyond point A, making an extension of the original XA move. That single difference changes how you measure every other ratio, and it is why traders who copy Gartley habits onto a Cypher consistently misplace their entries.
The pattern is a location tool. It tells you where price has a statistically interesting chance of reversing, the D point, and it gives you a clean place to put a stop, just beyond X. It does not tell you the reversal will happen. Harmonic traders treat the D zone as a setup, then wait for a confirmation candle, a momentum divergence on RSI, or a volume signature before committing capital. On NSE indices like Nifty and Bank Nifty, where intraday swings are large and liquid, the Cypher shows up often on 15 minute and hourly charts.
Because the Indian derivatives market is where most active traders express directional views, this guide frames the Cypher around Nifty and Bank Nifty rather than pure cash equity. The geometry is identical on any chart, but the money math, lot sizes, STT and tax treatment are specific to Indian F and O, and those are the parts that turn a textbook pattern into a real trade.
The Exact Fibonacci Rules, Leg by Leg
Here are the strict ratios. Treat these as the validation checklist. If a swing fails any of them, it is not a Cypher and you should not size a trade off it. The forgiving ranges below are the ones most harmonic scanners use, but the tighter the fit, the cleaner the signal.
- XA: the impulse leg. There is no ratio on XA itself, it is the reference move that every other leg is measured against.
- AB: retraces 38.2 to 61.8 percent of XA. B must stay inside the XA range. If B goes past 61.8 percent, the structure is more likely a Bat or a failed move.
- BC: extends past A to land at 127.2 to 141.4 percent of the XA leg. This is the defining Cypher leg. C sits beyond A, not inside it.
- CD: retraces 78.6 percent of the XC leg. Note carefully, this is 78.6 percent of XC, the distance from X to C, not of XA. This is the entry zone, point D.
Most wrong Cypher examples on the internet, including the earlier version of this page, compute D as a retracement of XA. That is the Gartley reflex and it is incorrect for a Cypher. D is the 78.6 percent retracement of the full XC swing. Measure X to C first, take 78.6 percent of that distance, and project it back from C. That single discipline fixes the majority of mislabelled Cyphers.
A Real Dated Nifty Example with Verified Legs
Round numbers like 16,000 to 16,500 hide whether the ratios actually hold, so this walkthrough uses realistic, internally consistent Nifty 50 levels on a 15 minute chart over a single illustrative session, for example a trading day in early June 2026. The numbers are illustrative and chosen so every Fibonacci check is verifiable by hand. This is a bullish Cypher, so X is a swing low and we are hunting a long at D.
- X (swing low): 24,000.0 at the open drift down.
- A (swing high): 24,300.0. The XA impulse leg is therefore 300.0 points up.
- B (pullback low): 24,150.0. AB has retraced 150.0 of the 300.0 XA leg, which is exactly 50.0 percent. That sits cleanly inside the 38.2 to 61.8 percent window, so B is valid.
- C (new high beyond A): 24,396.0. BC has carried price to 396.0 points above X, which is 132.0 percent of the 300.0 XA leg. That is inside the 127.2 to 141.4 percent Cypher extension band, so C is valid.
- D (entry zone): the XC leg runs from 24,000.0 to 24,396.0, a span of 396.0 points. 78.6 percent of 396.0 is 311.256 points. Projected down from C at 24,396.0, that gives D at 24,084.7, rounded to roughly 24,085.
So the bullish Cypher completes at about 24,085. That is your long trigger zone. Notice that 24,085 is well above X at 24,000, which is exactly what a healthy Cypher looks like, D should hold above X. Your protective stop goes just below X, say at 23,975, giving roughly 110 points of risk per unit from a 24,085 entry. A reasonable first target is the 38.2 percent retracement of the CD leg back up, and a second target near point A at 24,300. None of this is a promise, it is a structured plan with a defined invalidation level.
Turning the Pattern Into a Rupee Trade on Nifty Futures
Now the money. Suppose you act on the bullish Cypher above by buying one lot of Nifty futures at the D zone. The Nifty lot size is 65. Entry at 24,085, stop at 23,975, first target at the BC extension area near 24,300. These figures are illustrative and not a prediction.
| Item | Value |
|---|---|
| Instrument | Nifty 50 futures, 1 lot, lot size 65 |
| Entry at D | 24,085 |
| Stop loss (below X) | 23,975, risk 110 points |
| Target (near A) | 24,300, reward 215 points |
| Risk in rupees | 110 x 65 = Rs 7,150 before costs |
| Reward in rupees | 215 x 65 = Rs 13,975 before costs |
| Reward to risk | roughly 1.95 to 1 |
| STT on futures (sell side, 0.05 percent) | 0.0005 x 24,300 x 65 = about Rs 790 |
| Brokerage (flat, 2 legs) | about Rs 40 total at a discount broker |
| Net profit if target hit | about 13,975 minus 790 minus 40 = about Rs 13,145 |
A few things to absorb from this table. First, the reward to risk is close to 2 to 1 before costs, which is the sort of asymmetry the D point is supposed to give you, you risk 110 points to make 215. Second, costs on a single Nifty futures lot are small relative to the move, dominated by the sell side STT of roughly Rs 364 and a token brokerage. Third, the net figure of about Rs 15,720 assumes the target is hit, which it often will not be, that is why the stop exists. If the trade fails and you are stopped at 23,975, you lose about Rs 8,250 plus costs, a loss you defined before you entered.
Expressing the Same View with a Bank Nifty Option
Futures tie up margin and carry overnight gap risk. Many Indian traders prefer to play a Cypher D entry with a long option for defined risk. Imagine a bullish Cypher completing on Bank Nifty with D near 52,000 ahead of monthly expiry. You buy one lot of the 52,000 call. Bank Nifty lot size is 30. Say the call costs a premium of 320 points. These numbers are illustrative.
- Cost to buy: 320 x 15 = Rs 4,800. This premium is your entire maximum loss, which is the appeal of a long option at a harmonic D point.
- If the reversal plays out and the call rises to 520 points, your gain is (520 minus 320) x 15 = 200 x 15 = Rs 3,000 before costs.
- STT on options is charged on the sell side of the premium at 0.15 percent: 0.0015 x 520 x 15 = about Rs 12. Plus brokerage of roughly Rs 40 for two legs. Net gain is about Rs 2,948.
- If the Cypher fails and the option expires worthless, your maximum loss is the Rs 4,800 premium plus the small entry brokerage. You can never lose more than the premium on a bought option.
A harmonic D entry is a bet that reversal happens reasonably soon. On a monthly Bank Nifty option, time decay (theta) eats your premium every day the move stalls. If the Cypher needs three sessions to confirm, an out of the money weekly call can bleed value even when price drifts your way. For slow setups, prefer a slightly in the money strike or a futures position so you are not fighting decay.
Bullish Versus Bearish Cypher
The geometry is mirror imaged. In a bullish Cypher, X is a swing low, A a high, B a higher low, C a higher high beyond A, and D a pullback into the 78.6 percent of XC zone where you go long. In a bearish Cypher, X is a swing high, A a low, B a lower high, C a lower low beyond A, and D a bounce into the 78.6 percent of XC zone where you go short. Everything else, the ratios and the stop beyond X, is identical.
| Point | Bullish Cypher | Bearish Cypher |
|---|---|---|
| X | Swing low | Swing high |
| A | Swing high | Swing low |
| B | Higher low, 38.2 to 61.8 percent of XA | Lower high, 38.2 to 61.8 percent of XA |
| C | Higher high, 127.2 to 141.4 percent of XA | Lower low, 127.2 to 141.4 percent of XA |
| D | Long entry at 78.6 percent of XC | Short entry at 78.6 percent of XC |
| Stop | Below X | Above X |
On Indian indices, bearish Cyphers near round resistance levels on Nifty and Bank Nifty are popular intraday setups, because option premiums on the put side can expand quickly if the reversal is sharp. But the same theta and gap warnings apply in reverse, a bearish view via a long put still loses value if the top forms slowly.
How the Cypher Compares to Other Harmonic Patterns
The Cypher is often confused with the Gartley and the Bat because all three are reversal structures with a B inside the XA range. The decisive difference is point C and the leg D is measured against. Use this table as a quick discriminator when a scanner flags a candidate.
| Pattern | B retracement of XA | C location | D entry rule |
|---|---|---|---|
| Cypher | 38.2 to 61.8 percent | Beyond A, 127.2 to 141.4 percent of XA | 78.6 percent of XC |
| Gartley | 61.8 percent | Inside XA, 38.2 to 88.6 percent | 78.6 percent of XA |
| Bat | 38.2 to 50.0 percent | Inside XA, 38.2 to 88.6 percent | 88.6 percent of XA |
| Butterfly | 78.6 percent | Inside XA, 38.2 to 88.6 percent | 127 to 161.8 percent of XA |
Read the right hand column carefully. The Cypher is the only one of these whose D is measured off XC. The Gartley, Bat and Butterfly all measure D off XA. If you remember nothing else, remember that the Cypher breaks the family habit, and that is precisely where most mistakes are made.
Common Mistakes That Wreck Cypher Trades
The errors below are the difference between a Cypher that pays and one that traps you. Most are measurement discipline, not strategy. A scanner can flag a candidate, but you should always verify the ratios by hand on the first few trades until the eye is trained.
- Measuring D off XA instead of XC. The number one error. D is 78.6 percent of the X to C distance. Always.
- Letting C stay inside the XA range. If C does not push beyond A, it is not a Cypher, it is a Gartley or Bat, and the D rule changes.
- Forcing a pattern onto noisy 1 minute Nifty data. Cyphers are cleaner on 15 minute and hourly charts where swing points are obvious.
- Entering at D with no confirmation. The D zone is a setup, not a signal. Wait for a reversal candle, an RSI divergence or a volume spike.
- Ignoring the stop beyond X. Without a hard stop, a failed Cypher in trending Nifty can run hundreds of points against you.
- Oversizing because the reward to risk looks good. A 2 to 1 setup that loses still loses real rupees. Risk a small fixed percentage per trade.
Tax and Cost Treatment in India
How your Cypher profit is taxed depends on what you traded. F and O on Nifty, Bank Nifty and stocks is non speculative business income, taxed at your applicable slab rate, and it can be set off against business expenses and carried forward as business loss for up to eight years if you file on time. There is no separate capital gains rate on F and O, so a trader in the 30 percent slab pays roughly 30 percent plus cess on net F and O profit after expenses.
If instead you trade the Cypher in the cash segment by buying and selling shares, the holding period matters. Sell within 12 months and gains are short term capital gains taxed at 20 percent. Hold beyond 12 months and gains are long term capital gains taxed at 12.5 percent on the amount above Rs 1.25 lakh in a financial year. Intraday cash trades are treated as speculative business income at slab rates. STT also differs by segment, equity delivery is charged on both buy and sell, intraday equity on the sell side, futures on the sell side at 0.02 percent and options on the sell side of the premium at 0.1 percent.
- Index and stock F and O: business income at slab rate, losses carry forward 8 years if return filed on time.
- Equity delivery held under 12 months: STCG at 20 percent.
- Equity delivery held over 12 months: LTCG at 12.5 percent above Rs 1.25 lakh per year.
- Intraday cash equity: speculative business income at slab rate.
- Always add the relevant STT, exchange charges, GST on brokerage and stamp duty before judging a setup as profitable.
Building a Repeatable Cypher Workflow
A pattern is only useful if you trade it the same way every time. Pick a timeframe, the 15 minute Nifty or Bank Nifty chart is a sensible default, and a fixed risk per trade, for example 0.5 to 1 percent of capital. Mark X, A, B, C by hand, verify B sits 38.2 to 61.8 percent of XA, verify C is 127.2 to 141.4 percent of XA beyond A, then project D at 78.6 percent of XC. Only then look for a trigger.
Log every trade in a journal, the dated levels, the four ratios you measured, the trigger, the stop, the outcome in rupees, and your emotional state at entry. After 20 to 30 logged Cyphers you will have a real, personal win rate and average reward to risk, which is worth far more than any generic claim about harmonic accuracy. Combine the D zone with one confirming tool, RSI divergence and a reversal candle are the two most common, and avoid trading Cyphers straight into major events like RBI policy or expiry day whipsaws.
Treat the D zone as an alert, not an order. Set a price alert at your computed D, and when it tags, only then decide based on the candle, momentum and the broader trend. Reacting to an alert beats staring at a screen and forcing entries, and it keeps you from front running a D that price never actually reaches.
Sources and Further Reading
For authoritative data and further reading on this topic, refer to Zerodha Varsity, Investopedia and NSE India. Always confirm current rules, rates and contract specifications on the official source before you trade.
Related Topics
Related Articles
Understanding the Diamond Top Pattern in Indian Markets
Spot the diamond top reversal on Bank Nifty with a dated Oct 2024 example, options P&L in rupees, targets, stops and Indian F&O tax rules.
Understanding Trading Psychology in Indian Markets
Learn trading psychology for Indian markets with a worked Nifty options example showing how fear and greed turned a Rs 3,600 loss into Rs 16,500.
Understanding the Flag Pattern in Indian Markets
How to trade bullish and bearish flag patterns on Nifty, Bank Nifty and NSE stocks, with a worked example, costs, taxes and honest reliability data.
Understanding Limit Orders in Indian Markets
How limit orders work on the NSE, with a real bid-ask order book, tick sizes, and worked Reliance, HDFC Bank and Nifty examples with charges.
Covered Call in Indian Markets: A Comprehensive Guide
Covered call meaning for Indian traders: how it works on NSE, a worked Reliance example, STT, physical settlement, plus correct 20% STCG, 12.5% LTCG tax.
Understanding the Harami Pattern in Indian Markets
What a harami pattern is, bullish vs bearish, a real dated Nifty 2024 reversal example, F&O rupee maths, confirmation rules and India tax basics.
The trading journal built for Indian F&O traders. Track your trades, spot patterns, build discipline.
- Log one trade a day by hand, on purpose
- AI mentor finds your repeat mistakes
- Behavioural analytics catch tilt early
- Trading calendar with P&L heatmap
- Pre-trade checklist flags risks
Yearly ₹2,499 · No broker credentials