OPEN-SOURCE SCRIPT
Candlestick toolkit (Candle Over Candle)

Candlestick pattern toolkit focused on reading price action via candle anatomy, body dynamics, and a specific 2-bar continuation/reversal pattern.
This indicator highlights:
Long upper and lower wicks (“topping” and “bottoming” tails) that can signal exhaustion or potential reversal.
Large bullish bodies relative to Average True Range (ATR), showing strong momentum.
Sequences of large green candles.
Runs of green candles with strictly increasing or strictly decreasing body size, to visualize acceleration vs. momentum fade.
A two-candle pattern:
“Candle over Candle” (CoC) for long bias: two bullish bars where the first has a small upper wick and the second has a modest lower wick (a brief dip then push higher).
Optional mirrored “Candle under Candle” (CuC) for short bias.
The script labels:
Topping/Bottoming tails (TT/BT).
Large-green sequences and increasing/decreasing bodies (N×LG, ↑B, ↓B).
CoC/CuC pattern bars as “PRE” and the actual breakout bars as “GO”.
While a pattern is “live,” a reference line marks the trigger level (pattern high for longs, pattern low for shorts).
Inputs let you:
Tune wick and body percentage thresholds for tail detection.
Adjust ATR length and the multiplier that defines a “large” body.
Change how many candles are required for large-green sequences and body size trends.
Configure the two-candle pattern (maximum wick sizes, whether a small dip is required, confirmation within N bars).
Choose confirmation mode: close-through the trigger or intrabar wick break.
Enable or disable the short (CuC) side.
Control visual features (tail markers, sequence markers, pattern labels, and background shading on pattern bars).
Typical use:
Apply on intraday or swing timeframes.
Use tails and body behavior to read strength/weakness and potential exhaustion.
Treat CoC/CuC PRE labels as pattern formation, and GO labels as potential trade triggers above/below the pattern.
Combine with your own filters (trend, volume, higher-timeframe levels) rather than using it as a standalone signal generator.
This indicator highlights:
Long upper and lower wicks (“topping” and “bottoming” tails) that can signal exhaustion or potential reversal.
Large bullish bodies relative to Average True Range (ATR), showing strong momentum.
Sequences of large green candles.
Runs of green candles with strictly increasing or strictly decreasing body size, to visualize acceleration vs. momentum fade.
A two-candle pattern:
“Candle over Candle” (CoC) for long bias: two bullish bars where the first has a small upper wick and the second has a modest lower wick (a brief dip then push higher).
Optional mirrored “Candle under Candle” (CuC) for short bias.
The script labels:
Topping/Bottoming tails (TT/BT).
Large-green sequences and increasing/decreasing bodies (N×LG, ↑B, ↓B).
CoC/CuC pattern bars as “PRE” and the actual breakout bars as “GO”.
While a pattern is “live,” a reference line marks the trigger level (pattern high for longs, pattern low for shorts).
Inputs let you:
Tune wick and body percentage thresholds for tail detection.
Adjust ATR length and the multiplier that defines a “large” body.
Change how many candles are required for large-green sequences and body size trends.
Configure the two-candle pattern (maximum wick sizes, whether a small dip is required, confirmation within N bars).
Choose confirmation mode: close-through the trigger or intrabar wick break.
Enable or disable the short (CuC) side.
Control visual features (tail markers, sequence markers, pattern labels, and background shading on pattern bars).
Typical use:
Apply on intraday or swing timeframes.
Use tails and body behavior to read strength/weakness and potential exhaustion.
Treat CoC/CuC PRE labels as pattern formation, and GO labels as potential trade triggers above/below the pattern.
Combine with your own filters (trend, volume, higher-timeframe levels) rather than using it as a standalone signal generator.
Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Dr. Trader MD PhD
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Skrip open-source
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Dr. Trader MD PhD
Pernyataan Penyangkalan
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.