INVITE-ONLY SCRIPT

FVG DUAL HTF ALERTS - DG -

48
FVG Dual HTF ALERTS DG - Confluence & Strength
Professional Fair Value Gap (FVG) Trading Indicator with Advanced HTF Analysis
This powerful indicator identifies and tracks Fair Value Gaps across two customizable higher timeframes (HTF), providing traders with precise entry zones, strength ratings, and real-time alerts for high-probability trading setups.

🎯 KEY FEATURES
Dual HTF Analysis

Two independent HTF settings - Analyze FVGs from any timeframe (1min to Daily)
Works on ALL timeframes - View 15min and 60min FVGs on your 1min chart
HTF confluence detection - Automatically highlights when both HTFs align
Customizable colors - Distinct colors for HTF1 and HTF2 zones

Intelligent Strength Scoring (0-10)
Each FVG receives a comprehensive strength rating based on:

Gap size relative to ATR
Volume analysis vs 20-period average
Current timeframe FVG confluence (★ indicator)
Trading session timing (London/NY sessions)
Large gap bonus
HTF confluence bonus

Rating System:

8-10 = 🔥 PREMIUM (Green) - Highest probability setups
5-7 = ✅ GOOD (Yellow) - Quality opportunities
0-4 = ⚠️ WEAK (Gray) - Lower confidence zones

Sweet Spot Inner Boxes

Precision entry zones - 10% inner box (customizable 1-50%)
BUY/SELL labels - Clear directional indicators
Customizable styling - Colors, borders, and text size
Entry optimization - Target the highest probability area within each FVG

Advanced Trading Tools

Automatic Entry/Stop/Target Lines - Up to 3 closest FVGs displayed simultaneously
Risk/Reward calculator - Shows R multiples and dollar values
Customizable position sizing - Micro, mini, or standard lots
Entry offset adjustment - Fine-tune entries ±50 pips from sweet spot center

Smart Fill Detection

HTF candle-based fills - Only checks for fills on HTF candle closes (not every lower TF bar)
Multiple fill methods:

Any Touch - Most sensitive
Midpoint Reached - Balanced
Wick Sweep - Conservative (default)
Body Beyond - Most strict


Touched tracking - Visual feedback when zones are tested

Comprehensive Alert System
8 Individual Alerts:

HTF1: Bullish/Bearish Zone Entry
HTF1: BUY/SELL Sweet Spot Entry
HTF2: Bullish/Bearish Zone Entry
HTF2: BUY/SELL Sweet Spot Entry

4 Combined Alerts:

ANY HTF: Bullish/Bearish Zone Entry
ANY HTF: BUY/SELL Sweet Spot Entry

Plus: Optional alerts for high-strength FVGs (8+)
Information Dashboard
Real-time market context display:

Gold Daily & 1H - Bullish/bearish bias with range in pips
Distance to nearest FVGs - Bull and bear zones
IN ZONE indicator - Shows when price enters sweet spots with strength rating
Optional BTC tracking - Monitor Bitcoin FVGs and bias simultaneously


⚙️ CUSTOMIZATION OPTIONS
Display Settings

Max FVGs to show per type (1-100)
Show only untouched FVGs option
Center line styling (solid/dashed/dotted)
Label visibility and colors
Strength color coding

Trading Parameters

Stop loss (1-100 pips)
Take profit (1-200 pips)
Entry offset adjustment
Lot size (0.01-100)
Dollar value display toggle

Advanced Options

Min strength filter (0-10)
Current TF confluence check
Lookback period (20-200 bars)
Max bars back (1-5000)
Require body close through gap
Test mode: Disable fill removal


💡 IDEAL FOR

Scalpers - 1min/3min charts viewing 5min/15min FVGs
Day Traders - 5min/15min charts viewing 15min/60min FVGs
Swing Traders - 1H/4H charts viewing 4H/Daily FVGs
Gold (XAU/USD) traders - Built-in gold bias indicators
Multi-timeframe analysis - See the bigger picture while trading lower TFs


🎓 HOW TO USE

Add to chart - Works best on 1-5min charts for intraday trading
Set your HTFs - Recommended: 15min + 60min for scalping
Watch for confluence - Green/orange borders indicate HTF alignment
Filter by strength - Focus on 8+ rated zones for best probability
Enter at sweet spots - Wait for price to reach inner boxes
Set alerts - Get notified when price enters high-quality zones
Manage risk - Use provided entry/stop/target lines


📊 BEST PRACTICES
✅ DO:

Focus on 8+ strength FVGs during London/NY sessions
Look for HTF confluence (lime/orange borders)
Wait for sweet spot entries (inner boxes)
Trade in the direction of HTF bias
Use multiple timeframe confirmation

❌ DON'T:

Trade low-strength FVGs (below 5) unless confirmed
Ignore the HTF bias indicators
Chase price - let it come to the zones
Trade without stops
Overtrade - quality over quantity


🔧 TECHNICAL NOTES

Max 500 boxes/lines/labels - Optimized for performance
Lookahead enabled - Accurate HTF data on lower timeframes
No repainting - All signals confirmed on bar close
Compatible with all brokers - Works on any instrument with FVGs
Mobile friendly - Clean display on all devices


📈 PERFORMANCE TIPS
For best results on lower timeframes (1min/3min):

Set "Max Bars Back" to 2000-3000
Set "Max FVGs Per Type" to 20-50
Use "Body Beyond" fill method for longer zone visibility
Enable "Check Current TF FVGs" for additional confluence


🎨 COLOR RECOMMENDATIONS
HTF1 (15min):

Bull: Blue (#2962FF80)
Bear: Red (#f2364580)

HTF2 (60min):

Bull: Purple (#9C27B080)
Bear: Light Red (#FF6B6B80)

Confluence:

Bull: Green (#00FF0060)
Bear: Orange (#FF6B0060)


💬 SUPPORT
Created by DJG9911
For questions, feature requests, or bug reports, please use the TradingView comments section.

Version: 6.0
License: Mozilla Public License 2.0
Last Updated: December 2024

Disclaimer: This indicator is for educational and informational purposes only. Always practice proper risk management and never risk more than you can afford to lose. Past performance does not guarantee future results.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。