Dark Cloud Piercing Line - Reversal chart Pattern
Mar 7, 2024

The Dark Cloud Piercing Line - Reversal chart Pattern tool identifies and visualizes two prominent Japanese candlestick reversal patterns to help traders anticipate potential trend shifts.
Usage
The indicator identifies four specific signal types based on the Dark Cloud and Piercing Line formations. These are visualized using shapes above or below the bars:
- Strong Piercing Line (Green Circle): A bullish reversal signal occurring after a downtrend where the second candle opens below the previous low and closes above the halfway point of the first candle's body.
- Weak Piercing Line (Blue Triangle): A bullish reversal signal where the pattern criteria are met, but the second candle's penetration into the first candle's body is less significant.
- Strong Dark Cloud (Red Circle): A bearish reversal signal occurring after an uptrend where the second candle opens above the previous high and closes below the halfway point of the first candle's body.
- Weak Dark Cloud (Red Triangle): A bearish reversal signal where the bearish penetration is less aggressive or the opening gap is smaller.
Traders can use these patterns as alerts for potential trend exhaustion. Strengthening factors include longer candle bodies, the absence of shadows in the direction of the reversal, and the proximity of the pattern to known support or resistance levels.
Details
The script evaluates two-candle sequences to determine pattern validity.
Dark Cloud Criteria:
- The first candle is bullish, followed by a bearish second candle.
- The second candle should open above the close (or high for strong signals) of the first candle.
- The second candle must close below the halfway point of the first candle's body but not completely engulf it.
Piercing Line Criteria:
- The first candle is bearish, followed by a bullish second candle.
- The second candle should open below the close (or low for strong signals) of the first candle.
- The second candle must close above the halfway point of the first candle's body but not completely engulf it.
The script also applies a body-to-range filter, ensuring that detected patterns consist of candles with meaningful "full bodies" (greater than 60% of the total candle range) to avoid noise from small or indecisive price action.
Settings
- Show Dark Cloud: Toggles the detection and visibility of bearish Dark Cloud patterns.
- Show Piercing Line: Toggles the detection and visibility of bullish Piercing Line patterns.
FAQ
How do I interpret the difference between a circle and a triangle?
A circle indicates a "Strong" version of the pattern, typically involving an opening gap that exceeds the previous candle's high/low. A triangle indicates a "Weak" version where the opening gap or the depth of the penetration is less significant.
Can these patterns be used in any timeframe?
Yes, the logic is based on price action and candlestick relationships, making it applicable to various timeframes from intraday to daily charts.
How do I get access to Dark Cloud Piercing Line - Reversal chart Pattern?
You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

