OPEN-SOURCE SCRIPT
Telah dikemas kini

Rapid Candle PATTERNS V2.0

265
Indicator Title: Rapid Candle Patterns - High-Probability Signals

Description
Tired of noisy charts filled with weak and ambiguous candlestick patterns? The Rapid Candle Patterns indicator is engineered to solve this problem by moving beyond simple textbook definitions. It identifies only high-probability reversal and continuation signals by focusing on the underlying market dynamics: momentum, liquidity, and confirmation.

This is not just another pattern indicator; it's a professional-grade tool designed to help you spot truly significant price action events.

How The Logic Works & Why It's More Accurate
Each pattern in this script has been enhanced with stricter, more intelligent rules to filter out noise and reduce false signals. Here’s what makes our logic superior:

1. The Liquidity Grab Hammer & Inverted Hammer
Standard Logic: A simple hammer shows a long lower wick, suggesting buyers pushed the price back up.

Our Enhanced Logic: We don't just look for a hammer shape. Our signal is only valid if the hammer’s low takes out the low of the previous candle (a "liquidity grab" or "stop hunt").

Why It's More Accurate: This sequence is incredibly powerful. It shows that sellers attempted to push the market lower, triggered stop-loss orders below the prior low, and then were decisively overpowered by buyers who reversed the price. This isn't just a reversal; it's a failed breakdown, often trapping sellers and fueling a stronger move in the opposite direction.

2. The "True" Bullish & Bearish Harami
Standard Logic: A small candle forms within the high-low range of the previous candle. This can often be misleading if the prior candle has long wicks and a tiny body.

Our Enhanced Logic: We enforce a "dual containment" rule. For a Harami to be valid, its body must be contained within the body of the previous candle. We also ensure the Harami candle itself is not a Doji, meaning it must show some conviction.

Why It's More Accurate: This ensures you are seeing a genuine and significant contraction in momentum. It filters out scenarios where a large-bodied candle forms inside the wicks of a doji-like candle, which is not a true Harami. Our logic captures the "pregnant" pattern as it was intended—a moment of quiet consolidation before a potential new move.

3. The "Power" Bullish & Bearish Engulfing
Standard Logic: A candle's body engulfs the body of the previous candle. This is a common signal, but it often lacks follow-through.

Our Enhanced Logic: Our "Power Engulfing" requires two conditions: (1) The body must engulf the prior candle's body, AND (2) the candle must close beyond the entire high/low range of the prior candle.

Why It's More Accurate: This is the ultimate sign of confirmation. It doesn't just show that one side has won the battle for the session; it proves they had enough force to break the entire structure of the previous candle. This signifies immense momentum and dramatically increases the probability that the trend will continue in the direction of the engulfing candle.

4. The Quantified Doji
Our Logic: Instead of being a subjective pattern, a Doji is defined quantitatively. It's a candle whose body is less than or equal to a user-defined percentage (default 9%) of its total range.

Why It's More Accurate: It provides a consistent and objective measure of market indecision. Furthermore, any candle identified as a Doji is automatically disqualified from being a Hammer, ensuring clear and distinct signals.

User Customization
Toggle Patterns On/Off: Declutter your chart by only showing the patterns you want to see.

Fine-Tune Logic: Use the "Pattern Logic" settings to adjust the sensitivity of the Doji and Harami detectors to perfectly match your trading style, asset, and timeframe.

Disclaimer: This indicator is a powerful tool for identifying high-probability price action. However, no single indicator is a complete trading system. Always use these signals as part of a comprehensive strategy, combined with analysis of market structure, support/resistance levels, and other forms of confluence.
Nota Keluaran
## Rapid Candle Patterns V4.0: From Detector to High-Probability Signal Generator

Hello, fellow traders!

I'm excited to release Version 4.0 of the Rapid Candle Patterns indicator. This is not just a minor update; it's a complete evolution in philosophy. The original script was designed to detect common candlestick patterns. This new version is engineered to identify high-probability, actionable trade signals by adding layers of context and confirmation.

The core idea is to move beyond simply identifying a shape and instead ask, "Does this pattern have a higher chance of succeeding based on the market structure around it?" If you're a trader who uses candlestick patterns for confluence with other strategies like Order Blocks (OD) or Fair Value Gaps (iFVG), this tool is now tailored for you.

## What's New? A Detailed Comparison
Let's break down the significant upgrades for each pattern.

### 1. The Hammer: From Simple Shape to "Swing Rejection"
Old Logic: The previous version identified any candle that looked like a hammer—a small body with a long wick.

New V4.0 Logic: We now ask, "Did this hammer form at a meaningful price level?" A hammer is most powerful when it signifies a rejection at a potential bottom.

Swing Point Confirmation: The script now only flags a Hammer if its low is the lowest low of the last 'X' bars (you can set the lookback period). This ensures the pattern occurs at a critical swing low, not in the middle of random chop.

Optional Liquidity Grab: The powerful "stop hunt" filter (low < low[1]) is now a toggle. You can choose to enforce this for the highest quality signals or turn it off for more opportunities.

Reversal Confirmation: We added a new rule that the Hammer must close back inside the range of the previous candle. This proves that sellers failed to hold prices down and buyers have regained control, confirming the rejection.

### 2. The Harami: From Inside Bar to "Momentum Shift"
Old Logic: The script identified a small candle inside a larger one.

New V4.0 Logic: A Harami is significant when it shows a powerful trend is losing steam. We now filter for this specific scenario.

Trend Context: The script now checks if the first (large) candle of the pattern has a body that is bigger than the recent average body size. This ensures the Harami is interrupting a genuine, high-momentum trend, not just forming in a sideways market.

Positional Filtering: For a bullish Harami, the small candle must now form in the lower 50% of the prior bearish candle. This indicates a deeper loss of downward momentum and a more significant stall.

Body Quality Control: We've kept the filter that ensures the Harami itself has a meaningful body, not just wicks, filtering out indecisive doji-like candles.

### 3. The Engulfing: From Basic Pattern to "Confirmed Breakout"
Old Logic: The script looked for one candle's body engulfing the previous one. Our "Power Engulfing" was a step up, but it could be better.

New V4.0 Logic: A true engulfing reversal is a power move. It should be decisive, confirmed by volume, and not a random spike.

Volume Confirmation (Optional): You can now require the engulfing candle to have higher volume than the previous candle. This is a classic confirmation technique, now built right in. It's also a toggle, so you can turn it off if your broker's volume data is unreliable.

News Spike Filter: We now filter out absurdly large candles. If an engulfing candle is, for example, 3x larger than the average candle, it's likely a news event and not a reliable technical pattern. This filter keeps you out of unpredictable volatility.

Body Conviction Filter: A truly powerful engulfing candle should close strong. We've added a filter to ensure the candle's body makes up a significant percentage of its own range. This avoids signals on engulfing candles that have long, opposing wicks, which show indecision.

## How to Use the New Version
This script is now a professional-grade tool designed for tuning. In the settings, you have full control over every new rule. I recommend starting with the balanced default settings and adjusting them to fit your preferred market and timeframe. Find the "sweet spot" that gives you the quality of signals you need for your trading system.

Thank you for your support, and I hope this major upgrade helps you find more A+ trading opportunities!

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.