Get 20% off all challenges

Dark Cloud Cover and Piercing Line: The Midpoint Rule in Practice

Dark cloud cover and the piercing line candlestick explained: the midpoint rule, the gap problem in crypto and forex, Bulkowski test data and 2 worked trades.

Gianluca Pizzituti••14 min read
Share article
Dark Cloud Cover and Piercing Line: The Midpoint Rule in Practice

One account, every market we offer

Explore all markets

Dark cloud cover is a 2-candle bearish reversal: a tall green candle in an uptrend, followed by a red candle that opens above it and closes below the midpoint of the green body. The piercing line candlestick is its bullish mirror: a tall red candle in a downtrend, followed by a green candle that opens below it and closes above the midpoint of the red body.

Both signals come down to 1 measurable test: how far did the second candle travel back into the first? This guide sets out the rules for each pattern, how to handle the opening gap in crypto and forex where gaps barely exist, how each compares with its engulfing cousin, what Thomas Bulkowski's tests show, and a worked trade for each: dark cloud cover on QQQ and a piercing line on GBP/JPY.

Quick answer: Dark cloud cover forms after a rally when a red candle opens above the prior green candle and closes below the midpoint of that candle's body, without closing below its open. A piercing line forms after a decline when a green candle opens below the prior red candle and closes above the midpoint of its body, without closing above its open. Traders wait for the next candle to follow through, then place the stop beyond the pattern's extreme.

Highlights of this article

  • Both patterns need a prior trend, 2 tall candles of opposite colour, an open beyond the first candle and a close past the midpoint of its body
  • The midpoint is (open + close) ÷ 2 of the first candle's body; wicks are not part of the calculation
  • In Bulkowski's tests dark cloud cover reversed 60% of the time and the piercing pattern 64% of the time
  • Both rank far higher than the engulfing patterns for the move that follows: 22nd and 13th of 103, against 91st and 84th
  • In 24-hour markets the gap is replaced by a new intraday extreme, and the midpoint close stays as the rule that cannot be relaxed

Why the midpoint is the line that matters

Picture a tall green daily candle that opens at 100 and closes at 110. Everyone who bought that session paid between 100 and 110. The middle of the body, 105, is a rough stand-in for the average price paid.

The next session opens higher at 111, then sells off to close at 104. More than half of yesterday's buying is now at a loss, and so is everyone who bought the higher open. Those holders become potential sellers. That is the dark cloud: a bright session followed by one that shades more than half of it.

The piercing line is the same arithmetic turned over: a tall red candle from 110 to 100, a lower open at 99, and a close at 106. Most of yesterday's sellers are now losing, and their exits feed the bounce.

A close short of the midpoint leaves most of the prior session's traders in profit, with no reason to exit. That is why the midpoint is a hard rule.

Identification rules side by side

The sources agree on the midpoint and differ slightly on the open. Bulkowski requires the second candle to open above the prior high for dark cloud cover and below the prior low for the piercing pattern. The StockCharts ChartSchool articles on reversal patterns require an open beyond the previous close.

Element Dark cloud cover Piercing line
Prior trend Up Down
Candle 1 Tall green body Tall red body
Candle 2 open Above candle 1's high (strict) or above its close (looser) Below candle 1's low (strict) or below its close (looser)
Candle 2 close Below the midpoint of candle 1's body Above the midpoint of candle 1's body
Limit on the close Stays above candle 1's open Stays below candle 1's open

If candle 2 closes beyond candle 1's open, the pattern becomes an engulfing, covered below.

StockCharts adds that both candles should have fairly large bodies with small or no shadows. A first candle with no wicks at all is a marubozu candle, and it makes the cleanest version because the body and the range are the same.

Want to trade 2-candle reversals in a prop firm evaluation? Compare the plans first.

The gap rule in crypto and forex

The textbook open is a gap. On a daily chart of a stock or an index ETF, overnight orders pile up, and the market can open clearly above yesterday's high.

Crypto trades 24 hours a day, 7 days a week. Spot forex trades around the clock from Monday to Friday. A candle opens almost exactly where the last one closed, so the strict version almost never appears.

Most traders adapt the rule like this:

  1. Candle 2 opens at or near candle 1's close.
  2. During the session it trades to a new high beyond candle 1's high (dark cloud) or a new low beyond candle 1's low (piercing).
  3. It closes past the midpoint of candle 1's body. This part does not change.

The new intraday extreme does the job of the gap. It shows the trend side pushing further and failing.

One consequence: in a market without gaps, candle 2 opens at candle 1's close. If it then closes beyond candle 1's open, the result is a full engulfing body. On a crypto or forex chart, dark cloud cover and the bearish engulfing are the same shape at different depths.

A dark chart screen showing tall green candles rising to a peak, then red candles falling back through moving average lines, with volume bars below
A push to a peak, then selling that takes back most of it. The midpoint of the last green body is the line to measure against.

How deep is the close? A spectrum, not 2 patterns

Think of the second candle's close as a position on a scale that runs through the first candle's body.

Where candle 2 closes After a rally After a decline
Inside the first body, short of the midpoint A pause. Not counted as bearish A weak bounce. Not counted as bullish
Past the midpoint, short of the open Dark cloud cover Piercing line
Beyond the first candle's open Bearish engulfing Bullish engulfing

Dark cloud cover vs bearish engulfing

In the bearish engulfing candle, the red body covers the entire green body. In dark cloud cover it covers more than half but not all. Engulfing is the more forceful candle. The test data below shows whether it is the better trade.

Piercing line vs bullish engulfing

A piercing line recovers more than half of the red body. A bullish engulfing recovers all of it and more. The morning star candlestick uses the same midpoint test for its third candle, with a small candle in between. At tops, the 3-candle relative is the evening star candlestick.

StockCharts offers another view. Combine the 2 candles into 1 using the first open, the last close and the overall high and low. Dark cloud cover blends into a shooting star shape. A piercing line blends into a candle with a long lower shadow.

What Bulkowski's tests show

Thomas Bulkowski tested 103 candle types on daily US stock data for his Encyclopedia of Candlestick Charts. These figures are from ThePatternSite.

Pattern Tested behaviour Overall performance rank (of 103)
Dark cloud cover Bearish reversal 60% of the time 22
Bearish engulfing Bearish reversal 79% of the time 91
Piercing pattern Bullish reversal 64% of the time 13
Bullish engulfing Bullish reversal 63% of the time 84

The reversal rates are moderate. Bulkowski calls 60% for dark cloud cover poor reversal performance. He rates the piercing pattern's 64% as quite good.

The performance ranks are high. Overall rank measures how price behaves after the breakout. Dark cloud cover ranks 22nd and the piercing pattern 13th, against 91st and 84th for the engulfing patterns. A bearish engulfing reverses more often, but the move that followed was weak in his data.

The best setups go with the bigger trend. For dark cloud cover, Bulkowski's preferred setup is a market already trending lower, then an upward retrace that the pattern ends. For the piercing pattern, his examples sit in brief pullbacks inside a primary uptrend, and he advises against trading it when the primary trend is down.

Bulkowski counts a breakout when price closes below the lowest low of a dark cloud cover, or above the top of a piercing pattern. These results come from daily stock charts with real gaps, so check the relaxed 24-hour version yourself with backtesting.

Trading plan: confirmation, entry, stop, target

  • Location first. A dark cloud cover at a prior high or a piercing line at a prior low has a level behind it. Mark the zones using the guide to support and resistance.
  • Confirmation. Wait for the next candle to close beyond the pattern's far edge: below the lowest low for dark cloud cover, above the highest high for a piercing line.
  • Entry. On the confirming close, or on the close of candle 2 if the location is strong.
  • Stop. Above the high of the dark cloud cover, or below the low of the piercing line, plus a buffer. See the stop loss guide.
  • Target. The next opposing level. Work out the risk to reward ratio for each entry before choosing one.

Worked example: dark cloud cover on QQQ

Prices are illustrative. QQQ rallies for 8 daily sessions towards resistance near 540. Index ETFs close overnight, so this is the strict version with a real gap.

  • Candle 1: open 532.40, high 538.90, low 531.80, close 538.20. A green body of 5.80 dollars.
  • Candle 2: open 540.10, high 541.30, low 533.90, close 534.40.

The open at 540.10 is above candle 1's high of 538.90. The midpoint of candle 1's body is (532.40 + 538.20) ÷ 2, which is 535.30. The close at 534.40 is below it and above candle 1's open of 532.40, so it is not an engulfing. Candle 2 took back 3.80 of the 5.80 dollar body, about 66%.

The next session closes at 530.60, below the pattern's low of 531.80. That is the breakout.

Value
Entry Short at 530.60
Stop 542.30, which is 1.00 above the pattern high
Risk per share $11.70
Target 513.00, the last support shelf
Reward per share $17.60
Reward to risk 1.5R
Size at $250 risk 21 shares, about $11,140 notional

Worked example: a piercing line on GBP/JPY

Prices are illustrative. GBP/JPY is in an uptrend on the 4-hour chart and pulls back from 199.80 to a support zone near 196.00. Forex does not gap between 4-hour candles, so this is the relaxed version.

  • Candle 1: open 197.40, high 197.55, low 196.20, close 196.30. A red body of 110 pips.
  • Candle 2: open 196.28, low 195.82, high 197.15, close 197.05.

Candle 2 opened at the prior close and traded to 195.82, a new low beneath candle 1's low of 196.20. That stands in for the gap. The midpoint of candle 1's body is (197.40 + 196.30) ÷ 2, which is 196.85. The close at 197.05 is above it and below the 197.40 open. Candle 2 recovered 75 of 110 pips, about 68%.

The 2 entries give very different trades:

Confirmed entry Entry on candle 2's close
Entry Buy at 197.70, after a close above 197.55 Buy at 197.05
Stop 195.62, which is 20 pips under the low 195.62
Risk 208 pips 143 pips
Target 199.80, the prior swing high 199.80
Reward 210 pips 275 pips
Reward to risk 1.01R 1.92R

The confirmed entry risks 208 pips to make 210. At 1R, a pattern that reversed 64% of the time in daily stocks leaves little after costs. The earlier entry is acceptable only because the pullback is inside an uptrend and sits on support, the setup the test data favours. If neither entry offers a workable ratio, the decision is no trade.

For size, assume USD/JPY at 150.00, which makes 1 pip on a standard lot of GBP/JPY worth about $6.67. A 143-pip stop costs about $954 per lot, so $250 of risk is 0.26 lots.

A dark trading screen with red candles falling steeply to a low, followed by tall green candles bouncing off it, above red and green volume bars
A sharp low and a strong green response. The close relative to the midpoint of the last red body decides if it is a piercing line.

Using these patterns in a prop firm challenge

Both patterns put the stop beyond a 2-candle range, so the account's loss limits decide the size. Velotrade runs simulated, educational evaluations across crypto, forex, stocks, index ETFs and commodities on DXtrade. The maximum drawdown is static: a fixed dollar floor set from the starting balance.

On a $25,000 CLASSIC 2-Step account, the 10% maximum drawdown puts the floor at $22,500, and the 5% daily loss limit is $1,250 from a $25,000 balance. Both examples above risked $250. At that size, 5 full losses in a day would reach the daily limit and 10 in a row would reach the floor. With reversal rates of 60% and 64% in the test data, losing streaks are normal, and that buffer absorbs them.

This article is educational and is not investment advice. Both patterns fail regularly, and the loss on each trade is the part you control.

For another 2-candle signal built on a level instead of a body, see the guide to the tweezer top and tweezer bottom. For every candle signal in one table, read the full guide to candlestick patterns.

Sources

Frequently Asked Questions

About the author

Gianluca Pizzituti

Gianluca Pizzituti

Chief Executive Officer

Formerly on the derivatives desk at Dresdner Kleinwort in London, then founded and ran a proprietary HFT firm in FX and equity indices out of Singapore.

Velotrade was founded in Hong Kong in 2016 by a team from JP Morgan, Dresdner Kleinwort and Bank of America, has facilitated over $2.5 billion in trade-finance payments, and has been featured in Bloomberg, the Financial Times, the Wall Street Journal and on Nasdaq. Its prop trading evaluations are simulated and educational.

View author page

Ready to trade with
$200,000 capital?

Up to 90% profit split

Keep most of what you earn

No consistency rule

News trading allowed

Payouts within 24 hours

Once approved