PROTECTED SOURCE SCRIPT

Dragon Smart Detector [Sentiment & Flow HUD]

40
Dragon Smart Detector is a professional-grade contextual analysis tool designed to answer the most critical questions in trading: "Is the market driven by Fear or Greed?", "Is Smart Money stepping in?", and "Is the current breakout genuine?".

Instead of lagging indicators or simple buy/sell arrows, this tool provides a Head-Up Display (HUD) that analyzes the internal dynamics of price and volume in real-time.

1. 🧠 How It Works (The Core Logic)

This indicator combines technicals and fundamentals into four distinct metrics:

A. Market Sentiment (The Mood)

Quantifies crowd psychology using a hybrid algorithm of RSI (14) and Bollinger Bands.

EXTREME FOMO 🔥 (Red): Price is overextended beyond the upper band with high RSI. Indicates the crowd is euphoric. Risk Level: High.

EXTREME FEAR 😱 (Cyan): Price is panicking below the lower band with low RSI. Often marks a potential reversal bottom (Capitulation).

GREED / ANXIETY: Intermediate states of the market.

B. Volume Winner & Flow (The Battle)

Since accurate "Order Flow" data is not universal across all feeds, this script uses Price Spread Analysis to estimate aggressive pressure.

BULLS: Close price is near the High of the candle $\rightarrow$ Accumulation/Buying Pressure.

BEARS: Close price is near the Low of the candle $\rightarrow$ Distribution/Selling Pressure.

Flow Display: Shows the estimated percentage of Buying vs. Selling volume for the current session.

C. Volume Strength (RVOL)

Relative Volume compares the current volume against the 20-period simple moving average.

1.0x: Average volume.

> 2.0x (Orange): Volume is double the average. Significant activity.

> 3.0x (Pink/Magenta): Institutional Activity. Massive volume spike indicating Smart Money participation.

D. Float Rotation (The "Dragon" Metric)

Calculates what percentage of the company's available shares have been traded today.

Smart Data Fetch: The script automatically attempts to load FLOAT_SHARES. If unavailable (common with ETFs or some Indices), it intelligently switches to TOTAL_SHARES as a backup.

Why it matters: High rotation (e.g., > 2%) accompanied by a price increase suggests a massive changing of hands, often validating a strong breakout.

2. 🎯 How to Trade (Strategy Guide)

Scenario 1: The "Dragon Breakout" (Momentum)

Condition: Price is breaking a key resistance level.

Check HUD:

WINNER: Must be BULLS.

VOL STRENGTH: Should be > 1.5x (Orange) or > 3.0x (Pink).

ROTATION: High rotation confirms the breakout is supported by fresh demand.

Action: Enter the trade with confidence.

Scenario 2: The "Capitulation Buy" (Reversal)

Condition: Price is dropping sharply.

Check HUD:

SENTIMENT: Must show EXTREME FEAR 😱 (Cyan).

WINNER: Wait for the "Winner" status to flip from BEARS to BULLS (indicating a wick/rejection of lows).

Action: Look for long entries or reversal patterns.

Scenario 3: The "FOMO Trap" (Risk Management)

Condition: Price is rallying, but you are late to the party.

Check HUD:

SENTIMENT: Shows EXTREME FOMO 🔥.

FLOW: Shows BEARS winning (selling into strength/wicks).

Action: Do NOT buy. Tighten stop-losses or take partial profits.

3. ⚙️ Settings & Features

Smart Backup Data: Automatically handles N/A data for NASDAQ/NYSE tickers (like TSLA, NVDA) by switching data sources.

Manual Float: Allows you to manually input share count (in Millions) for penny stocks or local markets where data is missing.

Minimalist Mode: Hides Fundamental rows (Float/Rotation) if you only want to see Sentiment and Flow.

Visuals: Modern Neon/Borderless interface designed for dark mode charts.

Disclaimer

This indicator is for educational and informational purposes only. "Volume Flow" and "Winner" are estimates based on Price Action logic, not Level 2 data. Fundamental data relies on TradingView's financial database. Past performance does not guarantee future results.

Tip: Add this to your favorites ⭐️ and boost 🚀 if you find it useful in your daily trading!

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน