PROTECTED SOURCE SCRIPT
Cập nhật

Dragon Smart Ratings (IBD/CANSLIM methodology)

55
🐉 Dragon Smart Ratings – Institutional Grade Analysis

Dragon Smart Ratings is a comprehensive technical and fundamental analysis tool designed to identify market leaders instantly. Inspired by the legendary IBD/CANSLIM methodology, this script calculates five key ratings to help traders separate the "True Leaders" from the rest of the market.

📊 KEY RATINGS EXPLAINED
1. 🟢 Composite Rating (Overall Score)

The master score (1-99) that combines all other ratings.

Smart Protection Logic: Includes a "Contrarian Shield." If a stock has exceptional fundamentals (EPS/SMR) but temporary price weakness, the Composite Rating is protected to ensure you don't miss potential turnaround plays (e.g., META scenarios).

Leader Boost: If a stock exhibits both high RS and high EPS, the score is mathematically forced to 95-99.

2. 📈 RS Rating (Relative Strength)

Measures price performance against the general market (SPY) over the last 12 months.

Leader Logic: heavily weights the most recent 3 months.

Near-High Bonus: Awards extra points if the price is trading near its 52-week high.

3. 💰 EPS Rating (Earnings Per Share)

Analyzes earnings growth on both a Quarterly and Annual basis.

🚀 Smart Fill Technology: TradingView sometimes returns N/A or delayed data for ADRs (like TSM) or international stocks (like AGI). This script detects if a stock has high Price Strength (RS > 90) and automatically extrapolates a fair EPS score, ensuring Leaders are never rated "40" due to missing data.

King Mode: If a stock shows massive growth (>50%) in either the last quarter or the 3-year average, it gets a perfect score.

4. 💎 SMR Rating (Sales + Profit Margins + ROE)

Grades stocks from A (Best) to E (Worst).

Hero Mode: Unlike traditional strict algorithms, Dragon Ratings recognizes that one "Super Metric" (e.g., a massive 40% Margin) can outweigh a lower ROE. If a stock excels in just one category, it qualifies for an A or B.

5. 📦 Acc/Dis Rating (Accumulation/Distribution)

Analyzes Volume and Price action to detect Institutional Buying or Selling.

Strict Mode: Uses a refined Chaikin Money Flow (CMF) logic combined with a "Trend Penalty." It is very difficult to get an A rating unless there is significant heavy-volume buying while the price is above key moving averages.

📱 MOBILE OPTIMIZED (SOLO MODE)
Most fundamental scripts crash on mobile due to memory limits. Dragon Smart Ratings V33 uses advanced Tuple Requests and reduced historical calls to ensure zero crashes on the TradingView Mobile App, while still delivering deep fundamental analysis.

🔔 ALERTS & TELEGRAM INTEGRATION
Built-in support for JSON Alerts.

You can set up a single alert to send a formatted message to your Telegram Bot containing all rating details whenever a stock crosses your defined threshold (default: Composite > 80).

This tool is developed to support the trading community with high-precision data analysis.

Disclaimer: This tool is for informational purposes only and does not constitute financial advice. Always do your own due diligence.
Phát hành các Ghi chú
🚀 WHAT'S NEW IN V41?
1. 📱 Mobile "Solo Mode" (Zero-Crash)

Problem: Previous versions could hit "Memory Limit Exceeded" errors on the TradingView Mobile App due to heavy background scanning.

Solution: We have switched to a highly optimized "Solo Mode" architecture. The script now focuses 100% of its processing power on the current chart symbol.

Result: It runs smoothly on any device (iOS/Android) without lagging or crashing.

2. 📡 Hybrid Alert System (Telegram & Firebase) We have introduced a flexible "Alert Output Mode" in the settings:

Telegram Mode: Sends a beautifully formatted text message (with emojis) directly to your Telegram Bot. Perfect for traders who want instant notifications.

Firebase Data Mode: Sends a raw JSON object containing all rating data (Composite, RS, EPS, SMR, Acc/Dis). Perfect for developers building their own Web Dashboards or collecting data via Webhooks.

3. 🧠 "Smart Fill" Technology (Data Logic Upgrade)

TradingView sometimes returns N/A for financial data on international stocks or ADRs.

New Logic: If a stock exhibits elite Price Strength (RS Rating > 90), the algorithm automatically infers strong fundamentals and "fills in" the missing EPS/SMR ratings. This ensures you never miss a Leader just because of a data delay.

4. ⚓ Multi-Timeframe Stability

All ratings are now mathematically locked to the Daily (D) timeframe.

You can switch to 15m, 1H, 4H, or Weekly charts, and the Dragon Ratings will remain consistent and accurate (no more repainting or jumping numbers).

5. 🎨 Customizable Interface

Positioning: You can now move the ratings table to the Left or Right side of the screen.

Compact Mode: Added a checkbox to show only the Composite Rating, saving valuable screen space on mobile devices.

6. 🛡️ Spam Control

Added an "Alert Frequency" option in settings. You can choose "Only Once" to get a single notification when a setup triggers, preventing repetitive alerts during the same session.

📋 HOW TO UPDATE
Remove the old script from your chart.

Refresh your browser or app.

Add "Dragon Smart Ratings" again to access the new V41 features.

Enjoy the upgrade and trade safe! 🐉

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.