PROTECTED SOURCE SCRIPT

Candlestick Pattern Reader + Cheat Sheet (Label Mode, Stable)

16
Candlestick Pattern Reader is a practical tool for traders who want crystal-clear candlestick signals without memorizing mnemonics. It detects popular single-, double- and triple-bar patterns, prints full names directly on the chart, and (optionally) filters signals by trend using an EMA. It also provides a compact on-chart cheat-sheet reminder and alert conditions for every pattern.

What it Detects

Bullish patterns

Bullish Engulfing

Bullish Harami

Hammer (pin bar)

Morning Star (3-bar)

Piercing Line

Three White Soldiers

Bearish patterns

Bearish Engulfing

Bearish Harami

Shooting Star (inverted pin)

Evening Star (3-bar)

Dark Cloud Cover

Three Black Crows

Neutral / structure

Inside Bar

Outside Bar

Doji family: Doji, Dragonfly Doji, Gravestone Doji

Crypto note: Star patterns do not require gaps (they’re rare on 24/7 markets); logic uses body/positioning instead.

Key Features

Full-text labels: Clear, readable names (no abbreviations).

EMA Trend Filter (optional): Only show bullish patterns in uptrends and bearish in downtrends.

Bar-close confirmation (optional): Choose confirmed (stable) or intrabar (faster, can move during the live bar).

Sensitivity controls:

Min body % of range (filters tiny bodies)

Doji body % of range

Star (middle bar) small body %

Long-wick multiple for pins

Short wick % for Three Soldiers/Crows

Alerts: Individual alerts for every pattern plus an “Any Candlestick Pattern” aggregate alert.

Cheat-Sheet label: A small on-chart reference that explains each pattern’s usual meaning.

Inputs (most used)

Use EMA Trend Filter (on/off) and EMA Length

Only mark after bar close (on/off)

Sensitivity: minBodyPct, dojiPct, starSmallPct, wickBodyMult, shortWickPct

Display: toggle labels and the cheat-sheet

How to Use

Timeframe: Works on any TF. Many traders prefer 5–60m for active setups; 4H/D for swing confirmation.

Trend filter: Turn Use EMA Trend Filter = ON, EMA Length = 50 (or 100/200 for higher TFs).

Confirmation: For backtests and cleaner signals, set Only mark after bar close = ON.

Confluence: Pair with support/resistance, volume, or momentum (e.g., RSI/MACD) to avoid low-quality context.

Alerts: Add alerts on the specific patterns you trade most, or use Any Candlestick Pattern for discovery.

Alerts Provided

One alert per pattern (e.g., “Bullish Engulfing”, “Shooting Star”, etc.).

Any Candlestick Pattern — fires when any of the above triggers.

Notes & Limitations

No repaint when “Only mark after bar close” is on. Intrabar mode can shift until the bar closes.

Patterns represent price action context, not guaranteed outcomes. Always add risk management.

On very low timeframes, micro-noise increases false positives; use the trend filter and/or higher TF confluence.

Good Defaults

Use EMA Trend Filter: ON

EMA Length: 50

Only mark after bar close: ON

Wick multiple: 2.0

Doji body ≤: 10% of range

Tags

candlestick, price action, engulfing, harami, hammer, shooting star, doji, morning star, evening star, inside bar, outside bar, three white soldiers, three black crows, alerts, trend filter, EMA

Disclaimer

This script is provided for educational and informational purposes only and does not constitute financial advice, investment advice, trading advice, or any recommendation to buy or sell any security, cryptocurrency, or instrument. Trading involves risk. You are solely responsible for your own decisions and the outcomes of those decisions.

No guarantees: Past performance (including backtests) does not guarantee future results. Signals can fail, and losses can exceed initial capital, especially with leverage.

Model limits: Pattern detection is probabilistic and context-dependent. Market regimes, news events, gaps, and liquidity conditions can invalidate historical tendencies.

Repainting: With “Only mark after bar close” = ON, labels are final and do not repaint. In intrabar mode (OFF), labels may move or disappear until the bar closes.

Backtest caveats: Backtests may understate slippage, fees, funding, latency, and execution impact. Results can differ materially in live markets.

Do your own due diligence: Verify settings (timeframe, symbol, broker/venue filters) and test on paper before going live. Use appropriate position sizing, stops, and risk limits.

No liability: The author and publisher assume no responsibility for any direct or indirect loss arising from use of this script or any information contained herein.

By using this script, you acknowledge that you understand these risks and accept full responsibility for your trading decisions.

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.