OPEN-SOURCE SCRIPT
EDUVEST QQE Grade System - S/A/B/C Signal Classification

EDUVEST QQE Grade System - S/A/B/C Signal Classification
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator introduces a unique grading system (S/A/B/C) for QQE signals, combining traditional QQE analysis with SMC (Smart Money Concepts) price zones and trading session filters. Unlike standard QQE indicators that show all signals equally, this version classifies signals by quality to help traders focus on the highest probability setups.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates BUY/SELL signals with S/A/B/C grade classification
- Automatically detects asset type and applies optimized QQE factors
- Integrates SMC price zones (support/resistance) for grade enhancement
- Filters signals by trading session time
- Displays real-time session and market status
Grade Hierarchy:
- S (Gold/Orange): Signal near SMC zone + active trading hours - Highest quality
- A (Green/Red): Score 70+ during trading hours - High quality
- B (Darker): Score 50-69 during trading hours - Medium quality
- C (Gray, small): Outside trading hours or weak signal - Low quality
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【QQE Core Calculation】
The QQE (Quantitative Qualitative Estimation) is calculated as:
1. RSI with configurable period (default: 14)
2. EMA smoothing of RSI (Smoothing Factor: 5)
3. Dynamic bands using Wilder's smoothing: RSI ± (ATR of RSI × QQE Factor)
QQE Factor is auto-adjusted per asset:
- USD/JPY: 4.238
- EUR/USD: 3.8
- Gold (XAU/USD): 8.0
- NASDAQ/US100: 9.0
【Signal Generation】
- BUY: QQE line crosses above its trailing stop (QQExlong == 1)
- SELL: QQE line crosses below its trailing stop (QQExshort == 1)
【Internal Scoring System】
Score components (0-100):
- Signal Base: +25 points when signal occurs
- QQE Strength: +10 to +20 based on RSI distance from 50
- Volatility: +15 (optimal ATR ratio 1.1-2.0), -10 (low volatility)
- Volume Confirmation: +10 (high volume), -5 (low volume)
- Session Bonus: +5 during London/NY sessions
- Base: +20 points
【Grade Assignment】
- Grade S: Signal near user-defined SMC price zone (within tolerance %) AND during trading hours
- Grade A: Internal score >= 70 AND during trading hours
- Grade B: Internal score >= 50 AND during trading hours
- Grade C: Outside trading hours OR score < 50
【SMC Price Zone Integration】
Users can set support/resistance levels for each asset. When price is within the tolerance percentage of these levels, signals are upgraded to S-grade, indicating confluence with institutional price levels.
【Trading Session Filter】
Configurable active trading hours (JST timezone):
- Default: 15:00 - 01:00 JST (London + NY overlap)
- Signals outside this window receive C-grade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 15M, 1H, 4H
- Best on: USD/JPY, EUR/USD, Gold, NASDAQ
- Focus on: S and A grade signals
【Trading Strategy】
- S-Grade (Gold/Orange): Highest conviction - consider larger position
- A-Grade (Green/Red): Strong signal - standard position
- B-Grade: Valid but use additional confirmation
- C-Grade: Avoid or use minimal size
【Setting Up SMC Zones】
1. Identify key support/resistance on higher timeframe
2. Input prices in SMC Price Settings
3. Adjust tolerance % (default: 0.15%)
4. S-grade appears when signal occurs near these levels
【Info Panel】
Top-right panel shows:
- Asset name and detection mode (Auto/Manual)
- Current session (Tokyo/London/NY)
- Trading hours status
- SMC zone proximity
【Alert Setup】
1. Enable alerts in settings
2. Create alert with "Any alert() function call"
3. Alerts include grade, price, and session info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS
Basic Settings:
- Enable Alerts: Turn on/off notifications
- Time Filter: Activate trading hour filter
- Start/End Hour: Define active trading window (JST)
QQE Settings:
- RSI Period: RSI calculation period
- RSI Smoothing: EMA smoothing factor
- Auto QQE Factor: Auto-detect optimal factor per asset
- Manual QQE Factor: Override when auto is disabled
SMC Price Settings:
- Support/Resistance levels for each asset
- Tolerance %: How close to SMC line for S-grade
Display Settings:
- Grade Only: Hide QQE lines, show only signals
- Show SMC Lines: Display support/resistance on chart
- Show Debug: Display asset detection info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
QQE concept originally developed by John Ehlers.
SMC (Smart Money Concepts) integration and grading system by EduVest.
License: Mozilla Public License 2.0
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ORIGINALITY
This indicator introduces a unique grading system (S/A/B/C) for QQE signals, combining traditional QQE analysis with SMC (Smart Money Concepts) price zones and trading session filters. Unlike standard QQE indicators that show all signals equally, this version classifies signals by quality to help traders focus on the highest probability setups.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WHAT IT DOES
- Generates BUY/SELL signals with S/A/B/C grade classification
- Automatically detects asset type and applies optimized QQE factors
- Integrates SMC price zones (support/resistance) for grade enhancement
- Filters signals by trading session time
- Displays real-time session and market status
Grade Hierarchy:
- S (Gold/Orange): Signal near SMC zone + active trading hours - Highest quality
- A (Green/Red): Score 70+ during trading hours - High quality
- B (Darker): Score 50-69 during trading hours - Medium quality
- C (Gray, small): Outside trading hours or weak signal - Low quality
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW IT WORKS
【QQE Core Calculation】
The QQE (Quantitative Qualitative Estimation) is calculated as:
1. RSI with configurable period (default: 14)
2. EMA smoothing of RSI (Smoothing Factor: 5)
3. Dynamic bands using Wilder's smoothing: RSI ± (ATR of RSI × QQE Factor)
QQE Factor is auto-adjusted per asset:
- USD/JPY: 4.238
- EUR/USD: 3.8
- Gold (XAU/USD): 8.0
- NASDAQ/US100: 9.0
【Signal Generation】
- BUY: QQE line crosses above its trailing stop (QQExlong == 1)
- SELL: QQE line crosses below its trailing stop (QQExshort == 1)
【Internal Scoring System】
Score components (0-100):
- Signal Base: +25 points when signal occurs
- QQE Strength: +10 to +20 based on RSI distance from 50
- Volatility: +15 (optimal ATR ratio 1.1-2.0), -10 (low volatility)
- Volume Confirmation: +10 (high volume), -5 (low volume)
- Session Bonus: +5 during London/NY sessions
- Base: +20 points
【Grade Assignment】
- Grade S: Signal near user-defined SMC price zone (within tolerance %) AND during trading hours
- Grade A: Internal score >= 70 AND during trading hours
- Grade B: Internal score >= 50 AND during trading hours
- Grade C: Outside trading hours OR score < 50
【SMC Price Zone Integration】
Users can set support/resistance levels for each asset. When price is within the tolerance percentage of these levels, signals are upgraded to S-grade, indicating confluence with institutional price levels.
【Trading Session Filter】
Configurable active trading hours (JST timezone):
- Default: 15:00 - 01:00 JST (London + NY overlap)
- Signals outside this window receive C-grade
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE
【Recommended Settings】
- Timeframe: 15M, 1H, 4H
- Best on: USD/JPY, EUR/USD, Gold, NASDAQ
- Focus on: S and A grade signals
【Trading Strategy】
- S-Grade (Gold/Orange): Highest conviction - consider larger position
- A-Grade (Green/Red): Strong signal - standard position
- B-Grade: Valid but use additional confirmation
- C-Grade: Avoid or use minimal size
【Setting Up SMC Zones】
1. Identify key support/resistance on higher timeframe
2. Input prices in SMC Price Settings
3. Adjust tolerance % (default: 0.15%)
4. S-grade appears when signal occurs near these levels
【Info Panel】
Top-right panel shows:
- Asset name and detection mode (Auto/Manual)
- Current session (Tokyo/London/NY)
- Trading hours status
- SMC zone proximity
【Alert Setup】
1. Enable alerts in settings
2. Create alert with "Any alert() function call"
3. Alerts include grade, price, and session info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS
Basic Settings:
- Enable Alerts: Turn on/off notifications
- Time Filter: Activate trading hour filter
- Start/End Hour: Define active trading window (JST)
QQE Settings:
- RSI Period: RSI calculation period
- RSI Smoothing: EMA smoothing factor
- Auto QQE Factor: Auto-detect optimal factor per asset
- Manual QQE Factor: Override when auto is disabled
SMC Price Settings:
- Support/Resistance levels for each asset
- Tolerance %: How close to SMC line for S-grade
Display Settings:
- Grade Only: Hide QQE lines, show only signals
- Show SMC Lines: Display support/resistance on chart
- Show Debug: Display asset detection info
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ CREDITS
QQE concept originally developed by John Ehlers.
SMC (Smart Money Concepts) integration and grading system by EduVest.
License: Mozilla Public License 2.0
Open-source script
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.
Custom Pine Script Development → fiverr.com/eduvest | 30 Years STEM Education × AI-Powered Trading Tools
Disclaimer
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.
Open-source script
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.
Custom Pine Script Development → fiverr.com/eduvest | 30 Years STEM Education × AI-Powered Trading Tools
Disclaimer
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.