Piercing Line and Dark Cloud Cover: The Midpoint Test

The piercing line and dark cloud cover are mirror-image two-bar patterns, and both hinge on one measurement. The second bar has to close beyond the midpoint of the first bar’s body.

That midpoint is the whole test. Miss it and you have an ordinary pullback; clear it and you have a bar that took back half of the previous session’s work.

Piercing Line and Dark Cloud Cover: The Exact Geometry

Table of Contents

Start with the bullish version. A long bearish bar prints first, then a bullish bar opens below the first bar’s low and closes back above the midpoint of that bearish body.

Dark cloud cover reverses every element. A long bullish bar comes first, then a bearish bar opens above the first bar’s high and closes below the midpoint of that bullish body.

Notice what the definition measures. Nothing depends on the wicks, and everything depends on where the second close lands inside the first body.

Finding the Midpoint

Add the first bar’s open to its close, then halve the result. That figure gives you the midpoint of the body, which traders also call the fifty percent level of the bar.

Ignore the wicks in that sum. Traditional definitions work from the body, because the body records where the session actually settled.

Mark the level on your chart before the second bar closes. Watching the close approach a line you drew beats judging it by eye afterwards.

Traders who already use retracement levels will recognise the idea. Our guide to Fibonacci retracement covers the same fifty percent measurement applied across a swing rather than a single bar.

Why the Second Bar Should Gap

Classic descriptions ask the second bar to open beyond the first bar’s extreme. That gap shows the prevailing side pressing its advantage before losing control entirely.

Spot forex trades continuously, so genuine gaps appear mainly at the weekend open. On a continuous chart the second bar usually opens at or near the previous close instead.

Most forex traders relax the rule for that reason. State which version you use, because the strict definition fires far less often on a currency chart.

How to Test the Midpoint Rule, Step by Step

A short routine keeps the reading consistent. Follow these five steps on every candidate before you name the pattern.

  1. Check the first bar. It needs a long body relative to recent bars, in the direction of the existing move.
  2. Mark the midpoint. Draw a line halfway between that bar’s open and close, ignoring both wicks.
  3. Watch the second open. Note whether it opens beyond the first bar’s extreme, at the previous close, or somewhere inside the body.
  4. Wait for the second close. Only the close counts, so ignore where price travels during the bar.
  5. Measure the penetration. A close just past the midpoint reads weaker than one that closes near the first bar’s open.

Step five separates a marginal example from a convincing one. Deeper penetration means the second session undid more of the first.

Penetration Depth Changes the Reading

Think of the midpoint as a threshold rather than a target. Fifty percent is the minimum that earns the name, not the ideal outcome.

A close at seventy percent of the prior body says considerably more. Buyers or sellers took back most of the ground instead of half of it.

So grade your examples rather than sorting them into pass and fail. A shallow one deserves smaller size or a wait for confirmation.

A Worked Number for the Midpoint

Suppose the first bearish bar spans eighty pips from open to close. Its midpoint then sits forty pips above that close.

The second bar opens near the previous close and rallies. A finish forty-one pips higher clears the threshold by one pip, which barely counts as a piercing line.

A finish sixty pips higher tells a different story. Buyers took back three quarters of the prior session instead of scraping past halfway.

Run that arithmetic on every candidate for a week. The habit trains your eye faster than reading another description of the shape.

What the Wicks Add Anyway

The definition ignores wicks, yet they still colour the reading. A second bar closing near its own high leaves little doubt about who finished in control.

A long upper wick on that same bar says something weaker. Buyers cleared the midpoint, then handed part of the gain back before the bell.

So use the wicks as a tiebreaker rather than a rule. They rarely change a clear example, and they often settle a marginal one.

Where It Sits Against Engulfing

Push the penetration past one hundred percent and the shape becomes an engulfing pattern. The second body then covers the first body completely.

That makes engulfing the stronger statement of the same idea. Piercing line and dark cloud cover describe a partial takeover, and engulfing describes a complete one.

Our comparison of pin bars against engulfing bars covers the takeover version in detail. Reading the family together beats memorising each shape alone.

What the Two Bars Actually Describe

Keep the language plain. The pattern reports that one side dominated a session and then lost more than half of that ground in the next one.

It does not predict anything by itself. Studies of candlestick patterns have generally found little consistent edge once trading costs enter the sum, and outcomes shift with the market and the exact definition applied.

The Story Inside the Bars

Sellers finished a session in control, then the market opened lower still. Buyers who had waited stepped in and drove the price back through half the prior range.

That reversal took real participation. Whether the participation continues depends on what sits above, not on the shape itself.

Our even-handed look at whether candlestick patterns work covers the research honestly. Read it before you attach any expectation to a two-bar shape.

Location Still Decides the Value

A piercing line at a tested support zone reads very differently from the identical bars mid-range. The zone supplies a reason for the buying; open space supplies none.

Our guide to candlestick patterns at support and resistance works through that contrast. Mark the levels first and let the pattern time the entry.

The Prior Move Has to Exist

Both patterns need something to reverse. A piercing line inside a flat range describes two bars arguing about nothing in particular.

Look for a clear run into the shape. Several sessions travelling one way give the second bar something meaningful to take back.

Length of that run matters as well. A very extended move sets up the shape neatly, though it also warns that most of the easy ground has gone.

Which Timeframe You Read It On

Daily bars cover whole sessions, so a midpoint recovery there involves a great many participants. The same shape on a five-minute chart covers ten minutes of activity.

Lower timeframes therefore produce more examples and much more noise. Intraday traders usually take the level from a higher chart and use the pattern only for timing.

Pick one pairing and stay with it. Switching charts mid-analysis turns a clear rule into an opinion.

A Worked Example of Dark Cloud Cover

Picture a major cross running up for several four-hour bars. A wide bullish bar closes near its high, and the advance looks settled.

The next bar opens a shade above that close, then sellers take over. The close lands well below the midpoint of the previous bullish body.

Read the layers in order. Sellers reversed a full bar of buying, and the close lands roughly two-thirds of the way down the body it covered.

What to Check Before Acting

Measure the first bar against recent range. A short body makes the midpoint easy to clear and the reading almost meaningless.

Then check how deep the second close ran. A close near the first bar’s open makes the takeover far clearer than a close a pip past halfway.

Finally look at the room below. If the nearest support sits close by, the trade has little space to work regardless of how clean the pattern looks.

Entry, Stop and Target

Many traders enter on the close of the second bar. Others wait for a third bar to close beyond the second, accepting a worse price for a firmer reading.

A stop belongs above the highest point of the two bars, plus a buffer for spread. Tucking it between the two closes puts it inside the pattern itself.

Work the position size from that distance with our free risk reward calculator. The check takes seconds and removes trades that never had room to pay.

Download the complete indicator database

Put these concepts on your charts. One email unlocks the full library of 1,380+ indicators with compiled MT4 and MT5 files, plus my TradingView scripts. No paywall, no spam, unsubscribe any time.

Download the complete indicator database

Enter your email and get instant access to the full MT4 and MT5 indicator library.

  • 1,380+ indicators
  • MT4 and MT5 files
  • No spam, unsubscribe any time

A Second Example: The Piercing Line at Support

Now flip the mirror. Picture a major pair sliding for four sessions into a daily support zone that held twice earlier in the quarter.

A wide bearish bar closes near its low inside the band. Sellers finished that day firmly in control.

The following session opens lower still, and then buyers arrive. The close lands two thirds of the way up the previous body, comfortably above the midpoint.

What Made This One Readable

Three things lined up at once. The zone carried history, the first body ran long, and the second close cleared halfway by a wide margin.

None of that promises an outcome. It simply means the evidence leans one way rather than sitting on the fence.

Where the Risk Sat

The stop belonged below the lower of the two lows, plus a buffer for spread. That placement sits under the whole shape and under the zone edge.

First target sat at the nearest resistance above, measured before entry. Anything closer than the stop distance would have ended the idea on arithmetic alone.

Reading the Bullish and Bearish Versions Side by Side

Everything mirrors exactly, which makes the pair easy to learn together. One table covers both.

ElementPiercing lineDark cloud cover
Prior moveA decline into supportAn advance into resistance
First barLong bearish bodyLong bullish body
Second openBelow the first bar's lowAbove the first bar's high
Second closeAbove the midpoint of the first bodyBelow the midpoint of the first body
Stop sideBelow the lower of the two lowsAbove the higher of the two highs

Learn one version properly and the other costs you nothing. Only the direction changes, and every measurement stays the same.

Which One You Meet More Often

Declines tend to move faster than advances, so bearish bars often run longer. That asymmetry makes a deep piercing line slightly harder to produce than a deep dark cloud.

Treat that as a working observation rather than a rule. Behaviour varies by pair, by session and by period, so check it on your own charts.

Where the Names Came From

Japanese candlestick charting reached Western traders through Steve Nison in the early 1990s, and the imagery travelled with it. A dark cloud rolling over a bright session captures the bearish version neatly.

Older sources describe both shapes without attaching promises to them. That restraint is worth copying, because the modern retail versions usually skip it.

Common Mistakes and How to Fix Them

Six errors cause most of the disappointment with these two shapes. Each carries a simple fix.

Measuring the Midpoint From the Wicks

The traditional midpoint uses the body, not the full range. Measuring from high to low sets the bar too high and rejects valid examples.

Accepting a Shallow Close

A close a fraction past halfway barely qualifies. Grade the penetration and size accordingly, rather than treating every example as equal.

Ignoring the First Bar's Size

A tiny first body makes the midpoint trivial to clear. Compare that body with the last ten bars before you name the pattern at all.

Demanding a Gap in Spot Forex

True gaps rarely appear on a continuous currency chart. Decide in advance whether your version needs one, then stop hunting for a shape that almost never forms.

Trading It in Open Space

Two bars without a level behind them describe a scuffle nobody had a reason to join. Mark your zones first and take the pattern only where it lands on one.

Acting Before the Second Bar Closes

Price can cross the midpoint and slide straight back before the bell. Only the close counts, so wait for it.

Reading the First Bar as a Signal

One long bar carries no information about a reversal. The pair means something; the opening half of it means nothing at all.

Quick Reference Checklist

Run this list before acting on either version. Seven answers cover the whole decision.

  • Does the first bar carry a long body relative to recent bars?
  • Have I marked the midpoint from the body rather than the wicks?
  • Where did the second bar open: beyond the extreme, or at the close?
  • Did the second bar close beyond the midpoint, and by how much?
  • Did a clear move run into the pattern beforehand?
  • Does the shape sit on a zone I marked earlier?
  • Does the stop sit beyond both bars with a buffer?

Blanks on that list point to a shape you noticed rather than a trade you planned. Skip it and wait for a cleaner one.

When These Patterns Fail

Failures happen regularly, and they follow a few recognisable routes. The most common one looks almost identical to a success at first.

Price clears the midpoint with room to spare, and then the sellers simply come back. Five sessions later the low of that bar is gone. So the pattern reported real activity, yet the follow-through never came.

The Trend Was Too Strong

Inside a powerful move, one countertrend session rarely changes anything. Sellers return the following day and the piercing line becomes a pause rather than a turn.

The Close Only Just Cleared Halfway

Marginal penetration produces marginal outcomes. Grading the depth in advance removes many of these before they cost you anything.

The First Bar Was Small

A short body sets a low bar for the second close. Applying a size filter to the first candle takes most of these examples off your list.

The Level Behind It Was Weak

A zone drawn from one shallow pivot has no orders behind it. Two clear prior reactions remain the minimum before a location counts.

News Drove the Second Bar

A scheduled release can produce a textbook midpoint recovery that reverses an hour later. Check the calendar before you treat any shape as structural.

The Room Ran Out Immediately

A clean pattern with a level twenty pips away has nowhere useful to go. Measure the distance to the next zone before entry rather than afterwards.

The Stop Sat in the Obvious Place

A stop just beyond the second bar sits exactly where the next probe runs. Push it past both bars and reduce size to hold the money at risk steady.

Building the Pair Into a Routine

Two shapes with one measurement make a tidy addition to a process. The key lies in giving them a narrow job.

Use Them for Timing, Not Selection

Let your levels and your trend read pick the candidates. The midpoint test then decides when to act on a location you already chose.

That split keeps your rules clean. A pattern asked to find trades as well as time them starts appearing on every chart you open.

Pair It With One Other Filter

One filter beside the pattern usually helps, while four turn every chart into a hall of mirrors. A higher timeframe trend read, or a marked zone, covers most of the need.

Choose that filter first and keep it fixed for a month. Changing filters and patterns at the same time makes your journal impossible to read.

Log the Penetration Depth

Record the percentage each example achieved alongside the outcome. After thirty entries the journal shows whether your threshold sits in the right place.

Sort those entries by location too. Examples that formed on marked zones usually read as a different group from the ones that formed mid-range.

Related Concepts to Study Next

These two shapes belong to a larger family of reversal candles. A couple of neighbouring guides round out the picture.

Read our comparison of the morning star against the evening star for the three-bar version of the same mirror logic. Both pairs describe a handover of control, measured slightly differently.

For tooling, browse our candlestick indicators to flag these shapes as each bar closes. Our reversal indicators cover the wider set of tools that watch for a change of control.

FAQ

What is a piercing line?

A two-bar bullish pattern. A long bearish bar comes first, then a bullish bar opens lower and closes back above the midpoint of that bearish body. The close above the midpoint is the defining test, and traders watch for it after a decline.

What is dark cloud cover?

The bearish mirror. A long bullish bar comes first, then a bearish bar opens higher and closes below the midpoint of that bullish body. Every element reverses, and the midpoint measurement stays exactly the same.

How do I calculate the midpoint?

Add the first bar's open to its close and halve the answer. Traditional definitions use the body rather than the full range, so leave the wicks out of the sum. Mark that price on the chart before the second bar closes.

How does this differ from an engulfing pattern?

Only by depth. A piercing line closes somewhere past halfway into the previous body, while a bullish engulfing bar covers that body entirely. Engulfing therefore states the same idea more forcefully, and many traders grade the two on one scale.

Does the second bar need to gap?

Classic definitions ask for it, and spot forex rarely provides it outside the weekend open. Most currency traders relax the rule and accept an open at or near the previous close. Decide which version you use and apply it consistently.

Can I trade these patterns on their own?

They serve far better as timing than as a reason to trade. The midpoint test gives a clean, objective threshold, which is genuinely useful once a marked level or a trend read has already chosen the direction for you. Results are not guaranteed; past performance is not indicative of future results.

External references

Dominic Walsh - Forex trader and MT4/MT5 developer

About the author

Written by Dominic Walsh, a Forex trader and MT4/MT5 indicator, Expert Advisor and script developer. Every tool on forexmt4systems.com is tested on live charts before release and ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

Leave a Comment