The rule behind the figures

What it means to say a pattern worked

4 min read · 3 November 2026
850.00900.00950.009 Dec 2030 Dec 2018 Jan 218 Feb 21Target levelCancel levelBearish engulfingTarget reached
  • Up session (close above open), hollow
  • Down session (close below open), filled
  • Target level
  • Cancel level
  • Candles of the model
  • Close that completes the model
Bearish engulfing · Reliance Industries · daily · 9 Dec 2020 – 8 Feb 2021 · found by rule EN-2 · drawn from daily history kept by this site, source Yahoo Finance, history read on 6 Nov 2026. In 10 years of daily bars across the 11 instruments this site keeps, the rule found 20 separate occurrences of the bearish engulfing; this is the cleanest by the rule's own measure. This occurrence is a hit: completed on 22 Jan 2021 at 945.89, target 2 ATR and cancel 1 ATR from that close, window 20 sessions; the deciding close is on 25 Jan 2021, +2.07 ATR from the completing close.
The rule that found it

Rule EN-2: an up candle with a body of at least 0.3 ATR, then a down candle with a body of at least 1 ATR whose body covers the whole body of the first (it opens at or above the first close and closes at or below the first open, and at least one of the two is strict); it comes after a rise (the close of the session before the pair stands at least 2 ATR above the lowest close of the 5 sessions ending there). It counts as formed when the second candle closes.

Rule HIT-IN: a figure found by its written rule is counted at the close that completes it (for a candle model, the close of its last candle). From that close C, and the ATR of that session, the textbook direction follows from the figure: down for head and shoulders, double top, descending triangle and bearish engulfing; up for double bottom, ascending triangle and bullish engulfing. It is a hit if one of the next 20 sessions closes at least 2 ATR from C in that direction before any session has closed 1 ATR or more from C the other way. It is a miss if a close 1 ATR against comes first. If neither happens within 20 sessions it is undecided and counts as not a hit: it stays in the denominator. Only closes decide, never highs or lows. A figure with fewer than 20 sessions of history after it is left out and counted separately. The result of an occurrence is the distance from C to the close that decided it (or to the 20th close), in ATR, positive in the textbook direction.

1,800.001,900.002,000.002,100.0015 Jan 195 Feb 1928 Feb 1925 Mar 19Target levelCancel levelBearish engulfingCancel level reached
  • Up session (close above open), hollow
  • Down session (close below open), filled
  • Target level
  • Cancel level
  • Candles of the model
  • Close that completes the model
Bearish engulfing · Tata Consultancy Services · daily · 15 Jan – 25 Mar 2019 · found by rule EN-2 · drawn from daily history kept by this site, source Yahoo Finance, history read on 6 Nov 2026. In 10 years of daily bars across the 11 instruments this site keeps, the rule found 20 separate occurrences of the bearish engulfing; this is the cleanest by the rule's own measure. This occurrence is a miss: completed on 28 Feb 2019 at 1,983.45, target 2 ATR and cancel 1 ATR from that close, window 20 sessions; the deciding close is on 15 Mar 2019, -1.01 ATR from the completing close.
The rule that found it

Rule EN-2: an up candle with a body of at least 0.3 ATR, then a down candle with a body of at least 1 ATR whose body covers the whole body of the first (it opens at or above the first close and closes at or below the first open, and at least one of the two is strict); it comes after a rise (the close of the session before the pair stands at least 2 ATR above the lowest close of the 5 sessions ending there). It counts as formed when the second candle closes.

Rule HIT-IN: a figure found by its written rule is counted at the close that completes it (for a candle model, the close of its last candle). From that close C, and the ATR of that session, the textbook direction follows from the figure: down for head and shoulders, double top, descending triangle and bearish engulfing; up for double bottom, ascending triangle and bullish engulfing. It is a hit if one of the next 20 sessions closes at least 2 ATR from C in that direction before any session has closed 1 ATR or more from C the other way. It is a miss if a close 1 ATR against comes first. If neither happens within 20 sessions it is undecided and counts as not a hit: it stays in the denominator. Only closes decide, never highs or lows. A figure with fewer than 20 sessions of history after it is left out and counted separately. The result of an occurrence is the distance from C to the close that decided it (or to the 20th close), in ATR, positive in the textbook direction.

Saying that a pattern worked needs a definition, and this site fixes one before it counts anything: from the close that completes a figure, a hit is a close 2 ATR away in the textbook direction within 20 sessions, before any close 1 ATR the other way. The same definition is applied to every figure, on every one of 11 instruments, and it was written before any count was run.

The definition, in numbers

A hit is judged by one fixed definition, the same on every page. A figure is counted at the close that completes it (for a candle model, the close of its last candle). From that close C, and the ATR of that session (the average true range of the last 14 sessions), the textbook direction follows from the figure: down for head and shoulders, double top, descending triangle and bearish engulfing; up for double bottom, ascending triangle and bullish engulfing.

It is a hit if one of the next 20 sessions closes at least 2 ATR from C in that direction before any session has closed 1 ATR or more from C the other way. It is a miss if a close 1 ATR against comes first. If neither happens within the 20 sessions, the occurrence is undecided: it counts as not a hit and stays in the denominator, so waiting does not improve the share. Only closes decide, never highs or lows.

Why 2, 1 and 20

The three numbers were chosen once, from a textbook ratio of two to one between the move that counts and the move that cancels it, and written into the measuring tool before any figure was counted. They were not adjusted after the first results. That is the point of fixing them in advance: a definition tuned until a pattern looks good would measure the tuning, not the pattern.

The numbers are still a choice. Another site could call a hit 3 ATR within 30 sessions, and its shares would differ from these. Neither is wrong; they answer different questions. A reader comparing this site's shares with another site's should first compare the definitions.

Two real occurrences, one hit and one miss

The chart under the heading shows a bearish engulfing pair on Reliance Industries, completed on 22 January 2021 at a close of 945.89 with an ATR of 24.17. The target is 2 ATR, 48.34, below that close; the cancel level is 1 ATR, 24.17, above it. On 25 January a close came 2.07 ATR below C, past the target and without any close 1 ATR above first: a hit. The second chart is a bearish engulfing pair on Tata Consultancy Services completed on 28 February 2019 at 1,983.45, with an ATR of 55.94. On 15 March, after two weeks, a close stood 1.01 ATR above C: a miss.

Both were found by the same written rule, both are drawn on their real candles, and both are counted in the tables on the other pages. The two were chosen as a plain example of each outcome, not as proof that bearish engulfing pairs hit one time in three.

The yardstick: the same test from any session

A share means little alone, so every figure on this site is shown next to a yardstick. The same test, with the same 2 ATR, 1 ATR and 20 sessions, was run from every session of the same histories, once for each direction, with no figure needed. Over 26,729 sessions across the 11 instruments, a close 2 ATR up came before a close 1 ATR down in 38.0 percent of starts, and the mirror test down was passed in 27.8 percent.

Those two numbers say what an entry made on a coin-flip would have scored under the identical rule. A figure whose share is near its yardstick has shown no edge over starting on any day; one far above or below it has shown something, but only if the sample is large enough to trust, which on this site it usually is not.

Small samples and what is left out

Rare figures produce small counts: six head and shoulders, three double tops, two descending triangles in ten years across 11 instruments. With six occurrences, one result more or less moves the share by almost 17 points. Each table prints the count beside the share for exactly this reason, and the pages say so where it matters.

Two occurrences are left out of the shares because fewer than 20 sessions of history follow them, so the window could not be completed: one double bottom and one bearish engulfing pair. They are listed in the table as left out and are not counted as hits or misses. Instruments with no occurrence of a model are shown with zero; none is hidden.

At a glance

Target2 ATR
Cancel level1 ATR
Window20 sessions
PredictionNone
What the count leaves out

Questions about the count

What counts as a hit on this site?

A close 2 ATR or more from the completing close, in the textbook direction, within 20 sessions, before any close 1 ATR or more the other way. Only closes decide.

What if neither level is reached in 20 sessions?

The occurrence is undecided. It counts as not a hit and stays in the denominator, so it lowers the share.

Why are the numbers 2, 1 and 20?

They were fixed once, before any count, from a textbook two-to-one ratio, and they have not been changed since. Other numbers would give other shares.

What is the yardstick next to each share?

The share of hits the same test would have given from every session of the same histories, in the same direction. It shows what an entry on any day would have scored.

Does a high share mean the pattern will work next time?

No. The share describes ten years of stored history on 11 instruments. It is not a probability for the next occurrence.

The trading account

Open a practice account with FxPro

A chart pattern is not an order. An order is placed on a platform, carries its own stop and take profit, and has costs. A practice account lets you see the order ticket and the platforms before any money is at stake.