PROTECTED SOURCE SCRIPT
Multi Market Structure Confirmation Indicator

🔧 Overview
The Multi Confluence Indicator (MCI) is a sophisticated all-in-one Pine Script tool designed for intraday and swing traders. It combines multiple leading and lagging indicators into a single chart overlay. MCI aims to identify key confluence zones for decision-making by integrating CPR levels, trend indicators, volume profiles, divergence signals, market structure, and more.
📋 Indicator Components
CPR (Central Pivot Range)
How to interpret: CPR is used to define price bias (bullish above, bearish below) and high-probability bounce zones.
Trend Indicators
Supertrend
Parabolic SAR
XTrend (Super Xtrend)
How to interpret: Use for trend confirmation and early entries/exits.
RSI + Bar Coloring
How to interpret: Visualizes internal strength or weakness of candles.
MACD Trend Ribbon
Single MACD signal plotted as a ribbon at the bottom.
Ribbon color reflects MACD trend state (rising/falling).
Order Blocks (SonarLab-inspired)
How to interpret: Institutional footprints; look for entries in OB zones after mitigation.
Market Structure + MSB
How to interpret: Detect structural trend changes, use for breakout confirmation.
RSI Divergence
How to interpret: Reversal warning zones, especially in confluence with other tools.
Volume Profile (Price-by-Volume)
How to interpret: Identify price acceptance/rejection zones and fair value.
Volume Histogram
Settlement Levels
How to interpret: Use as dynamic intraday range bounds for mean-reversion or breakout strategies.
EMA Offset
⚠️ Alerts
The script includes TradingView alert conditions for:
You can create alerts using these by selecting the script under the “Create Alert” panel and choosing from the dropdown conditions.
The Multi Confluence Indicator (MCI) is a sophisticated all-in-one Pine Script tool designed for intraday and swing traders. It combines multiple leading and lagging indicators into a single chart overlay. MCI aims to identify key confluence zones for decision-making by integrating CPR levels, trend indicators, volume profiles, divergence signals, market structure, and more.
📋 Indicator Components
CPR (Central Pivot Range)
- Daily CPR, Tomorrow’s CPR, Weekly CPR, and Historical CPR.
- Includes support/resistance (S1–S3, R1–R3).
- Color-coded with clear labeling.
- Accounts for weekends and holidays (manually defined).
- Option to show: Previous Day’s High/Low/Close and Weekly R3/S3
How to interpret: CPR is used to define price bias (bullish above, bearish below) and high-probability bounce zones.
Trend Indicators
Supertrend
- ATR-based trend-following system.
- Buy/Sell signals with labels.
- Customizable multiplier and length.
Parabolic SAR
- Trend-following reversal system.
- Labels and shapes are optionally displayed.)
XTrend (Super Xtrend)
- Custom smart-trend logic with ATR channels.
- Buy/sell arrows and alerts on trend changes.
How to interpret: Use for trend confirmation and early entries/exits.
RSI + Bar Coloring
- RSI calculated and bars colored based on overbought, oversold, very overbought, and very oversold thresholds.
- Colors: green (buy), red (sell), white/yellow (extremes).
How to interpret: Visualizes internal strength or weakness of candles.
MACD Trend Ribbon
Single MACD signal plotted as a ribbon at the bottom.
Ribbon color reflects MACD trend state (rising/falling).
Order Blocks (SonarLab-inspired)
- Bullish and Bearish OBs.
- Sensitivity control.
- Cleaned up upon mitigation.
- Alerts when price enters OB zones.
How to interpret: Institutional footprints; look for entries in OB zones after mitigation.
Market Structure + MSB
- Market structure shifts using zigzag logic.
- Identifies bullish/bearish break of structure (MSB).
- Automatically labels Bu-OB, Be-OB (Order Blocks) / Bu-BB, Be-BB (Breakout Blocks)
How to interpret: Detect structural trend changes, use for breakout confirmation.
RSI Divergence
- Detects and plots Bullish/Bearish divergence with up/down arrows and from level 1 to 5 divergence strength.
- Smart line cleanup to avoid clutter.
How to interpret: Reversal warning zones, especially in confluence with other tools.
Volume Profile (Price-by-Volume)
- Horizontal volume histogram over defined lookback.
- Up/down volume
- Bull/bear strength
- Point of Control (PoC)
- Price levels
How to interpret: Identify price acceptance/rejection zones and fair value.
Volume Histogram
- Plots vertical histogram (top/bottom).
- Includes volume moving average overlay.
- Volume-weighted bar coloring (optional).
Settlement Levels
- Daily volatility-based standard deviation bands.
- Based on historical volatility (HV).
- Support for up to ±2.5 SD.
- Custom source and lookback period.
How to interpret: Use as dynamic intraday range bounds for mean-reversion or breakout strategies.
EMA Offset
- Plots a forward/backward-shifted EMA.
- Useful for visualizing lag or future projections.
⚠️ Alerts
The script includes TradingView alert conditions for:
- Supertrend direction change
- PSAR direction change
- XTrend buy/sell
- OB entry (Bullish/Bearish)
- Market Structure Break (MSB)
You can create alerts using these by selecting the script under the “Create Alert” panel and choosing from the dropdown conditions.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip dilindungi
Skrip ini diterbitkan sebagai sumber tertutup. Akan tetapi, anda boleh menggunakannya dengan percuma dan tanpa had – ketahui lebih lanjut di sini.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.