PROTECTED SOURCE SCRIPT
Confluence Framework Pro

Confluence Framework Pro is a discretionary market-context indicator that evaluates whether trend, structure, momentum, volume, and value are aligned in the same direction.
Instead of producing frequent entry signals, the script focuses on identifying periods of strong participation and avoiding low-quality or extended market conditions.
All calculations are performed on confirmed bar close and the indicator does not repaint.
How the indicator works
The framework evaluates eight independent components on every bar:
Trend & Direction
Each component contributes:
Confluence scoring & grading
Each condition contributes a fixed weight to a total score:
The final score is converted into a grade:
The dominant side (bullish or bearish) becomes the displayed market bias.
Risk & market quality filters
Before any signal is allowed, the script blocks setups when:
Trading modes & risk profiles
Trading modes adjust indicator sensitivity:
Risk profiles modify thresholds:
These settings affect ADX thresholds, minimum confluence count, volatility filters, and volume requirements.
Dashboard information
The on-chart dashboard displays:
This indicator is intended as a market quality and bias filter, not a mechanical trading system.
Common uses:
Best used alongside price action and risk management.
Important notes
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice. Past performance does not guarantee future results.
Instead of producing frequent entry signals, the script focuses on identifying periods of strong participation and avoiding low-quality or extended market conditions.
All calculations are performed on confirmed bar close and the indicator does not repaint.
How the indicator works
The framework evaluates eight independent components on every bar:
Trend & Direction
- Supertrend direction
- EMA position (price above/below long-term EMA)
- Distance of price from session VWAP using ATR-normalized thresholds
- RSI slope and level (above/below 40)
- Recent MACD crossover strength
- ADX trend strength with DI confirmation
- Current volume compared to its moving average
- Breakout of recent swing highs/lows using an ATR buffer
Each component contributes:
- A binary match (used for minimum confluence requirements)
- A weighted score (used for strength grading)
Confluence scoring & grading
Each condition contributes a fixed weight to a total score:
- Supertrend (20%)
- EMA alignment (18%)
- VWAP context (17%)
- ADX trend strength (16%)
- MACD momentum (12%)
- Market structure breakout (7%)
- RSI participation (5%)
- Volume confirmation (5%)
The final score is converted into a grade:
- A+ / A → strong multi-factor alignment
- B → partial alignment
- C → weak or early formation
The dominant side (bullish or bearish) becomes the displayed market bias.
Risk & market quality filters
Before any signal is allowed, the script blocks setups when:
- Price is excessively far from EMA or VWAP (chasing condition)
- Candle size is unusually large relative to ATR
- Volume is below threshold
- Market structure is weak
Trading modes & risk profiles
Trading modes adjust indicator sensitivity:
- Intraday: 5m–15m
- Swing: 1H–4H
- Positional: Daily+
Risk profiles modify thresholds:
- Aggressive – earlier signals, looser filters
- Balanced – default
- Conservative – stronger confirmation, fewer signals
These settings affect ADX thresholds, minimum confluence count, volatility filters, and volume requirements.
Dashboard information
The on-chart dashboard displays:
- Buy & sell scores
- Current market bias
- Market regime (Trending / Balanced / Chop)
- Structure strength (Strong / Forming / Weak)
- Setup context (Aligned / Wait)
- Confluence grade
This indicator is intended as a market quality and bias filter, not a mechanical trading system.
Common uses:
- Trade only in the direction of the displayed bias
- Avoid entries when setup context is “WAIT”
- Prefer A/A+ grades for continuation trades
- Use structure state and regime to filter choppy markets
Best used alongside price action and risk management.
Important notes
- This is not an automated strategy
- It does not provide take-profit or stop-loss levels
- Alerts are contextual only
- All trading decisions remain the user’s responsibility
Disclaimer
This indicator is provided for educational and informational purposes only and does not constitute financial advice. Past performance does not guarantee future results.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.