OPEN-SOURCE SCRIPT

EDUVEST QQE Signal v3.0 - Multi-Timeframe Scoring System

190
EDUVEST QQE Signal v3.0 - Multi-Timeframe Scoring System

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

█ ORIGINALITY

This indicator combines QQE (Quantitative Qualitative Estimation) with HMA (Hull Moving Average) and introduces a unique AI-based scoring system that rates signal quality from 0-100. Unlike traditional QQE indicators that show simple buy/sell signals, this version categorizes signals into four strength levels: BIG CHANCE, SUPER, POWER, and STRONG.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

█ WHAT IT DOES

- Generates scored BUY/SELL signals with quality ratings (60-100 points)
- Categorizes signals into 4 strength levels for easy decision making
- Supports Multi-Timeframe (MTF) analysis
- Auto-detects asset type and applies optimized QQE factors
- Provides customizable alerts based on score thresholds

Signal Hierarchy:
- 💰 BIG CHANCE (90-100): Highest probability setups
- ⚡ SUPER (80-89): Very strong signals
- 🚀 POWER (70-79): Strong signals with HMA confluence
- 💪 STRONG (60-69): Standard quality signals

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

█ HOW IT WORKS

【QQE Calculation】
QQE is based on a smoothed RSI with dynamic bands:

1. Calculate RSI with specified period (default: 14)
2. Apply EMA smoothing to RSI (Smoothing Factor, default: 5)
3. Calculate ATR of the smoothed RSI
4. Create dynamic bands: RSI ± (ATR × QQE Factor)

The QQE Factor is automatically adjusted per asset:
- Forex (USDJPY, EURUSD): 3.8 - 4.238
- Gold (XAUUSD): 8.0
- Crypto (BTC): 12.0, (ETH): 10.0
- Indices (NASDAQ): 4.238

【HMA Calculation】
Hull Moving Average for trend confirmation:
HMA = WMA(2 × WMA(price, n/2) - WMA(price, n), √n)

【Signal Generation】
- BUY: QQE crosses above its band (QQExlong == 1)
- SELL: QQE crosses below its band (QQExshort == 1)

【AI Scoring System】
The score is calculated from multiple factors:

Signal Base (0-35 points):
- QQE + HMA confluence: +35
- QQE or HMA alone: +25

QQE Strength (10-25 points):
- RSI distance from 50 (momentum strength)
- >30 distance: +25, >20: +20, >10: +15, else: +10

Volatility Score (-10 to +15 points):
- ATR ratio 1.1-2.0: +15 (optimal volatility)
- ATR ratio <0.8: -10 (low volatility warning)

Volume Confirmation (-5 to +15 points):
- Volume > 120% of average: +15
- Volume < 80% of average: -5

Base Points: +15

Final Score = Clamped(0, 100, sum of all factors)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

█ HOW TO USE

【Recommended Settings】
- Timeframe: 5M, 15M, 1H, 4H
- Best on: Forex, Gold, NASDAQ, BTC/ETH
- Minimum Score: 60 (adjustable)

【Reading Signals】
- BIG CHANCE (Gold label, 90+): Highest conviction - consider larger position
- SUPER (Yellow label, 80-89): Very strong - standard position
- POWER (Cyan/Magenta label, 70-79): Strong with trend confirmation
- STRONG (Green/Red label, 60-69): Valid but use additional confirmation

【MTF Feature】
Enable MTF to analyze signals from a higher timeframe while viewing lower timeframe charts. The indicator auto-selects 5-minute as the analysis timeframe, or you can set it manually.

【Alert Setup】
1. Enable alerts in settings
2. Set minimum score threshold (default: 60)
3. Create alert with "Any alert() function call"

【Important Notes】
- Signals are confirmed at bar close (no repainting)
- Higher scores = higher probability, not guaranteed profits
- Always use proper risk management
- Consider market context and support/resistance levels

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

█ SETTINGS

⏱️ MTF Settings
- MTF Use: Enable multi-timeframe analysis
- Manual Timeframe: Override auto-detection
- Show Panel: Display info panel (default: OFF)

🎨 Design
- Neon Colors: Vibrant color scheme
- Show HMA Line: Display HMA on chart
- Minimum Score: Filter weak signals
- Label Transparency: Adjust label opacity
- Large Labels: Mobile-friendly sizing

🔧 QQE Settings
- RSI Period: RSI calculation period
- Smoothing: EMA smoothing factor
- AI Score: Enable scoring system

🔔 Alerts
- Enable Alerts: Turn on/off notifications
- Minimum Score: Alert threshold

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

█ CREDITS

QQE concept originally developed by John Ehlers.
HMA (Hull Moving Average) by Alan Hull.
Enhanced with scoring system and MTF support by EduVest.

License: Mozilla Public License 2.0

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

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