Chart Patterns
Look at a chart from far away and the candles start to make shapes: a head with two shoulders, two equal tops, a triangle getting narrower, a small flag after a sharp rise. Traders have named these shapes. The CP chip finds 23 of them in your chart and shades each one over the candles that made it.
What this page is
The CP chip draws the big shapes that form over many candles. It is different from the CN chip, which names the shape of one to three candles. Both read the same chart at a different scale.
The detector looks for the swings in the price first, at many swing sizes, and then tests each group of swings against the rule for each shape. A shape is drawn when price confirms it by closing through its line. A shape that later fails is still drawn, with BUST on it.
Only the candles loaded on the chart are searched. Scroll left to load older history if you are looking for an older shape.
Every point of a shape sits on the real highest or lowest candle of its swing: no candle between two points goes past them. A shape is not drawn when price had already closed through its neckline (or out of its flag) before the shape was finished, or when one candle covers two points (you cannot know which came first inside it). BRK is on the first candle that closed through the line. We check every shape on every NEPSE stock against these rules each time the detector changes.
For Head & Shoulders and Double Tops and Bottoms, the breakout is looked for only after the shape is complete. A candle that closed through the line before the last point of the shape was made does not count as its breakout.
The target is the shape's full measured move: its height carried from the break level (for a flag or pennant, the height of the pole). For Head & Shoulders, Double and Multiple Tops and Bottoms, and the triangles, it is no longer made shorter by a past hit rate. The stop is the shape's own level. Both are the same numbers as Filter → Chart Pattern.
With Show projection on, a shape that needs one more turn (a double top, a head and shoulders, a triangle, a wedge, a channel, a flag or a pennant) is drawn faded with "Could form": the zone where that turn may come and the close that would end the idea.
VCP (volatility contraction) is not in this panel. It has its own VCP chip and panel on the right rail.
Why it helps you
- Flags and pennants matter most for short trades. They form inside a strong move and, if the move goes on, it often goes on fast.
- Triangles tell you a decision is coming, not which way. Plan for both: what a break up would mean for you, and where you would exit on a break down.
- Keep two or three shapes on at most. Twenty-three shapes on one chart is a drawing, not an analysis.
- On a weekly chart these shapes take months to form. A finished double bottom or inverse head and shoulders on a weekly chart is worth a look before buying.
- Flags and pennants last days. They do not mean much for a long holder.
- A shape tells you what already happened. A double bottom says buyers defended a price twice; it does not mean they defend it a third time.
When to use it, and where to find it
- On the daily or weekly chart, when you want to see the last few months of a stock at a glance.
- When price has gone sideways for a while and you think it is coiling. Switch on the three triangles.
- After a big move, to see if the pause after it is a flag or the start of a turn.
Try it — a short walkthrough
- 1Set the chart to 1 day firstThese shapes take weeks to form. On a 5-minute chart you mostly find noise.
- 2Open CP and switch on one shapeClick the CP chip and click Double Bottom. Any double bottoms are shaded on the chart, with P on the peak between the two bottoms and BRK at the break. If nothing appears, there is none in the loaded candles.
- 3Add the trianglesClick Ascending, Descending and Symmetric Triangle. One stretch of candles never gets two of these names, so they do not draw on top of each other.
- 4Check the label at the endFind BRK on a shape. If BUST appears after it, the break failed.
- 5Look at the projection"Show projection" at the bottom of the panel is on at first. The newest open pattern of the rows you switched on is carried to the right of the last candle: dashed rails, an arrow to the Target line and a red Stop line. A small box at the bottom right of the chart lists the price now, the entry after the break (only after a daily close past it), the target, the stop and the reward / risk.

- 6Read its past recordUnder the projected shape the panel shows "In past cases": how often the same shape on all NEPSE stocks reached its target, how often it went on, came back inside or failed, the usual move 20 sessions after the break, the best (MFE) and worst (MAE) move on the way, how many sessions the target took, the price range for this chart, and the five most similar past cases. With fewer than 30 days of cases no rate is shown, and a rate that is not clearly better than any other day is marked Weak. The card shows only on the 1-day chart and is hidden during bar replay; press Reset in the replay menu to bring it back.
- 7Read the Pattern Reliability lineNear the end of the "In past cases" card, one line starts with "Pattern Reliability". It names this stock's market condition and sector today. Then it picks the best measured group — This stock, This sector, This market condition, This timeframe, or All stocks, all timeframes — and says how often this pattern reached its target in past cases there (for a falling pattern: fell to its target, a fall you could have stepped aside from), with a coloured chip. Click the chip to open its Evidence Receipt, the record behind the number. Under 30 days of cases it says Not measured yet and shows no rate. The line shows only if your plan includes the Pattern Reliability page.

- 8Switch shapes off before changing stockClick each row again. Shapes you leave on carry over to the next stock.
The panel and the chart, part by part
Chart Pattern Detector (CP) open on a daily chart, with a few shapes switched on. Each part with a close-up of the real screen; the numbers match the dots on the picture.
Chart Pattern Detector
Opens from the CP chip in the right-hand mark column. Three groups, 23 rows, no number boxes.
How — Click CP to open it; click it again, the ✕, or press Escape to close. Shapes you switched on stay on the chart.
- There is no Depth or Tolerance box here on purpose. The search is set to its widest (depth 2) and two tops count as equal when they are within about 2 %.
- Each shape is drawn at most 40 times, newest first.
Reversals
Seven shapes where a move stopped and turned.
How — Use these at the end of a long rise or fall. A shape only counts once price closes through its neckline.
- Head & Shoulders: three peaks, the middle one highest. Confirmed when price closes down through the neckline under them. A top.
- Inverse H&S: the same upside down. Confirmed when price closes up through the neckline. A bottom.
- Double Top / Double Bottom: two tops (or bottoms) at about the same price, with a real pullback between them.
- Triple Top / Triple Bottom: exactly three touches of the same price.
- Multiple Top / Bottom: four or more touches. Rare — on most stocks it draws nothing.
One row
Each row is one shape, in its own colour. The colour box and the gear set how it is drawn.
How — Click the name to switch it on or off. Click the colour box to change colour, shade, line and labels. The gear (⚙) opens that shape's own inputs and its style in one box. Hover the name to read the rule.
- On: the button fills with its colour. Off: grey with a thin coloured line at its left edge.
- In a pair, the light shade is the side whose NAME says up (Double Bottom, Wedge Up, Bull Flag) and the dark shade the side whose name says down. It is about the name, not the forecast — a rising wedge often breaks down.
Ranges, triangles & channels
Twelve shapes from one test: two lines are fitted to the highs and the lows, and their slopes decide the name.
How — Switch on several at once if you like — one stretch of candles is only ever given one of these twelve names.
- Ascending Triangle: flat top, rising lows. Descending Triangle: flat bottom, falling highs. Symmetric Triangle: both lines closing in.
- Wedge Up / Wedge Down: both lines rising (or falling) and closing in. A rising wedge often breaks down; a falling wedge often breaks up.
- Channel Up / Channel Down: both lines rising (or falling) and parallel. Rectangle: both lines flat.
- Broadening Top / Bottom: lines spreading apart, like a megaphone, after a rise (top) or a fall (bottom). Broadening Asc. / Desc.: one line flat, the other spreading away.
Continuation
A short pause inside a strong move: a pole, then a rest.
How — Use these to join a move that has already started, not to guess a turn.
- Bull Flag: a sharp rise (the pole), then a small drift down between two parallel lines for 5 to 15 candles.
- Bear Flag: a sharp fall, then a small drift up. In NEPSE a bear flag is a reason to stay out, not to sell short.
- Bull / Bear Pennant: the same, but the two lines close in instead of running parallel.
What is drawn on the chart
A light shaded body over the candles of the shape, its lines, and small triangles with short labels at the key points — all in the row's colour.
How — Zoom in on a shape and check it with your own eyes. If it does not look like its name, trust your eyes.
- Shaded body: a soft wash of the row's colour over the whole shape.
- Thick lines: the neckline (labelled "Neckline") or the two rails of a triangle, wedge or channel.
- LS, H, RS: left shoulder, head, right shoulder. A1, A2: the two low points between them that the neckline joins.
- V or P: the valley between two tops, or the peak between two bottoms.
- Rail labels: AT, DT, ST (triangles), RW, FW (rising / falling wedge), CH (channel), RC (rectangle), BT, BB, BA, BD (broadening); ZZ(n) is the swing size it was found at.
- P and BF / BrF / BP / BrP: the start of the pole, and the bull flag, bear flag, bull pennant or bear pennant.
- BRK: the candle that closed through the line — the shape is confirmed there.
- BUST: after the break, price came back through the other side before moving 10 %. The shape failed.
- No target or stop lines are drawn on the shape itself. Show projection, at the bottom of the panel and on at first, draws the newest open pattern's target and stop to the right of the last candle.
Reading the numbers
- Neckline: the line a reversal shape must close through to be confirmed.
- Rail: one of the two lines fitted to the highs (upper rail) and the lows (lower rail).
- Pole: the sharp move before a flag or pennant.
- Break (BRK): the candle that closed through the line. Bust (BUST): the break failed.
- Swing size, ZZ(n): how big a swing had to be for this shape. Bigger n means a bigger, slower shape.
- Show projection: a switch at the bottom of the panel, saved in your browser only. It is on at first; switch it off to hide the projection. It follows your plan: if your plan does not include it, the switch shows a lock and does nothing, while the shapes you switched on still draw. While it is on, the chart keeps at least 14 empty sessions right of the last candle. The room has no dates, because each slot is one trading session.
- It draws ONE pattern: the newest one still open (forming, or broken out and not yet at its target) among the rows you switched on. Its lines are carried dashed into the room, an arrow runs from the last close past the break level to the target, and dashed Target and Stop lines are drawn in the room. A dashed "Shape complete" line marks the day the shape was complete.
- The tags on the price edge are the target, the stop and the break level. A sloped break line gets no break-level tag, because it reaches the edge at a different price.
- The card (price now, entry after the break, target, stop, reward against risk) shows inside the empty room when it fits, or in the panel under the switch. On a 1-day chart, when the stock has a Hot Pot buy zone, reward against risk is that zone's own plan, measured from the bottom of the buy zone ("from zone" and its price). Otherwise — no buy zone, another timeframe, or bar replay — it is the pattern's own, measured from current price, the last close on the card ("from current price"). For a falling pattern the words are "Breaks below", "Fall to" and "Wrong above", and there is no reward against risk — NEPSE has no short selling.
- The numbers come from the chart engine, the same code as Filter → Chart Pattern. The chart shows what the pattern reads today; Filter → Chart Pattern keeps its record. The two can differ after the pattern's story has moved on, when you panned further back, or when you changed the row's gear settings (the card then says so).
- Support and resistance levels and the curved shapes (cups, rounding) get no projection here; cups have their own on the Cup and Handle panel. Nothing is projected on Heikin Ashi, Renko, Line Break, Kagi or Point & Figure charts — the panel then says "The projection needs a candle, bar or line chart."
- Other words under the switch: "No open or forming pattern on this chart." means none of the rows you switched on has an open shape now. "Switch on a row above to see its projection." means no row is on.
- The "In past cases" card: Direction (Bullish, or Bearish — exit or stay out), Record (Measured, Weak or Not measured yet, with how many cases on how many days), Reached its target (against any day on the same stocks), Went on / came back inside / failed / no clear move, the move 20 sessions after the break (average, middle and the usual range), the best and worst move on the way (MFE, MAE), the target distance, the sessions it took to reach it and how far against the trade the shape ended, then this stock's price range 20 sessions after past breaks and the most similar past cases with how each one ended. The last line says how many sessions after each break the cases were graded on.
What it does not do
- The detector finds shapes that fit a rule. It does not score them, so a strong shape and a weak one look the same. The past record under Show projection is for the shape in general, across all stocks — on 2026-11-29 most shapes were Weak: their record was close to an entry on any day.
- The past record is hidden during bar replay and on timeframes other than 1 day: it is built from today's daily history.
- There are no Depth or Tolerance boxes, so you cannot loosen or tighten the search. This is deliberate: looser settings drew shapes on almost every wiggle.
- A price target is drawn only by Show projection, and only for the newest open pattern. A shape is a reading, not a forecast, and not advice.
- The Pattern Reliability line needs the Pattern Reliability page in your plan. Without it, the line is not shown.
- A shape near the newest candle can change while the market is open.
Questions people ask
Scale. CP finds shapes that take weeks — a triangle, a head and shoulders. CN names the shape of one, two or three candles.
Usually not. Both lines rise but they close in, so the rise is running out of room. It often breaks down. In NEPSE that is a reason to exit or stay out.
They moved. Flat price levels and higher-high / lower-low labels are on the SnR chip; sloping trendlines are on the Trend chip.
The target is now the full measured move of the shape. Before, it was made shorter by how often such shapes reached their target in the past. The past record is still there, in the "In past cases" card, kept apart from the target.
That is Show projection, which is on at first. Switch it off at the bottom of the CP panel. The shapes you switched on stay on the chart.
The chart shows what the pattern reads today; the Filter page keeps the record from the day it first showed. They can differ after the shape has moved on, when you panned further back, or when you changed the row's gear settings. The card then says "Your settings for this row differ from Filter → Chart Pattern, so its numbers can differ too."
That is normal. Four touches of the same price within about 2 % is rare. Triple Top and Triple Bottom have their own rows.
