OPEN-SOURCE SCRIPT
已更新 CandleSensei – EMA200, Wick & Pattern Alerts)

CandleSensei is an advanced Pine Script designed for traders who need real-time alerts on key price action signals and candlestick patterns. It combines EMA200 analysis, volatility (ATR), wick/body detection, and classical candlestick pattern recognition (Engulfing, Pin Bar, Doji, Marubozu) – all in a single tool.
Key Features:
EMA200 HUD – Displays price deviation from EMA200 with directional arrows (▲ / ▼) and percentage values.
Wick Alerts – Alerts for significant wicks:
WICK ALERT: ↓🐂 3.5% (long lower wick – bullish signal).
WICK ALERT: ↑🐻 4.2% (long upper wick – bearish signal).
Big Body Alerts – Detects strong candle bodies exceeding a customizable threshold.
BIG BODY ALERT: ↑ 5.8%
BIG BODY ALERT: ↓ 4.7%
Candlestick Patterns – Automatic alerts for:
Engulfing (🟢🐂 or 🔴🐻).
Pin Bar (🟢🔨 Hammer, 🔴☄️ Shooting Star).
Doji (⚪ Doji 🟢↑ / 🔴↓).
Marubozu (📏 Marubozu 🟢↑ / 🔴↓).
On-Chart HUD – Shows ATR, price vs EMA200, wick size, and full body % in a compact table.
Why use CandleSensei?
Perfect for swing traders (Daily/Weekly analysis) and intraday traders (1H).
Combines trend direction, volatility, and price action patterns in a single dashboard.
Fully customizable thresholds for wick and body alerts.
Key Features:
EMA200 HUD – Displays price deviation from EMA200 with directional arrows (▲ / ▼) and percentage values.
Wick Alerts – Alerts for significant wicks:
WICK ALERT: ↓🐂 3.5% (long lower wick – bullish signal).
WICK ALERT: ↑🐻 4.2% (long upper wick – bearish signal).
Big Body Alerts – Detects strong candle bodies exceeding a customizable threshold.
BIG BODY ALERT: ↑ 5.8%
BIG BODY ALERT: ↓ 4.7%
Candlestick Patterns – Automatic alerts for:
Engulfing (🟢🐂 or 🔴🐻).
Pin Bar (🟢🔨 Hammer, 🔴☄️ Shooting Star).
Doji (⚪ Doji 🟢↑ / 🔴↓).
Marubozu (📏 Marubozu 🟢↑ / 🔴↓).
On-Chart HUD – Shows ATR, price vs EMA200, wick size, and full body % in a compact table.
Why use CandleSensei?
Perfect for swing traders (Daily/Weekly analysis) and intraday traders (1H).
Combines trend direction, volatility, and price action patterns in a single dashboard.
Fully customizable thresholds for wick and body alerts.
發行說明
What does this script do?CandleSensei is a powerful indicator that combines trend analysis (EMA200), volatility (ATR), wick and body size measurement, and automatic detection of the most important price action patterns.
It is designed to provide real-time alerts and a clean HUD (dashboard) on your chart, making it useful both for 1H scalping and swing trading on Daily, Weekly, or Monthly timeframes.
What does it analyze?
EMA200 – Checks whether the price is above or below EMA200, showing the difference in USD and %.
ATR & Volatility – Displays the ATR value and its relative percentage to indicate market volatility.
Wicks – Measures the percentage of both upper and lower wicks.
Full Body Size – Calculates the % change between open and close.
Classic Candle Patterns – Automatically detects:
Engulfing (Bullish / Bearish).
Pin Bar (Hammer, Shooting Star).
Doji (including Dragonfly and Gravestone Doji).
Marubozu (strong candles with little or no wicks).
How does it look?
HUD in the bottom-right corner:
Δ vs EMA200 (USD and %).
ATR and ATR Multiple.
Full Body % and “Live Wick” signal with arrows and 🐂/🐻 emojis.
Clear and concise alerts:
WICK ALERT: ↓🐂 3.5% (large lower wick).
WICK ALERT: ↑🐻 4.2% (large upper wick).
BIG BODY ALERT: ↑ 5.8% (strong bullish candle).
BIG BODY ALERT: ↓ 4.7% (strong bearish candle).
🟢🐂 Engulfing (D)
🔴☄️ Shooting Star (W)
⚪ Doji 🟢↑ (M)
📏 Marubozu 🔴↓ (D)
Why CandleSensei?
CandleSensei is built to simplify price action analysis and help traders quickly spot high-probability setups.
Whether you are a beginner or an experienced trader, this script delivers visual clarity, customizable alerts, and reliable signals to keep you ahead of the market moves.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。