OPEN-SOURCE SCRIPT
Smart Money Prints [Cartel Console]

The Smart Money Prints [Cartel Console] is a volume-based oscillator designed to analyze market sentiment by comparing "informed" and "uninformed" volume flows. By utilizing modified versions of the Positive Volume Index (PVI) and Negative Volume Index (NVI), this tool helps traders identify where volume interest lies relative to price action.
How it Works:
1. Volume Segmentation: The script calculates PVI (tracking price action on high-volume bars) and NVI (tracking price action on low-volume bars). Theoretically, NVI often represents "informed" positioning during quiet periods, while PVI can represent "uninformed" or retail activity during high-volatility spikes.
2. Normalization: These indices are processed through an RSI-based calculation and normalized to a scale of -100 to 100, allowing for consistent overbought and oversold analysis across different assets.
3. Market Structure Shifts (MSS): The indicator includes a built-in structure detection logic. It identifies swing highs and lows and plots "MSS" labels when a structural break occurs, provided the volume sentiment (Net Index) aligns with the direction of the break.
### Visual Modes:
- Net Mode: Displays a central histogram showing the net difference between buy and sell volume interest.
- Compare Mode: Overlays two separate lines to visualize the independent trajectories of buying vs. selling pressure.
Key Settings:
- Index Period: Adjusts the summation lookback for volume interest.
- MSS Swing Length: Controls the sensitivity of the market structure detection.
- Normalization Period: Sets the lookback for the peak value calculation to keep the oscillator scaled.
How it Works:
1. Volume Segmentation: The script calculates PVI (tracking price action on high-volume bars) and NVI (tracking price action on low-volume bars). Theoretically, NVI often represents "informed" positioning during quiet periods, while PVI can represent "uninformed" or retail activity during high-volatility spikes.
2. Normalization: These indices are processed through an RSI-based calculation and normalized to a scale of -100 to 100, allowing for consistent overbought and oversold analysis across different assets.
3. Market Structure Shifts (MSS): The indicator includes a built-in structure detection logic. It identifies swing highs and lows and plots "MSS" labels when a structural break occurs, provided the volume sentiment (Net Index) aligns with the direction of the break.
### Visual Modes:
- Net Mode: Displays a central histogram showing the net difference between buy and sell volume interest.
- Compare Mode: Overlays two separate lines to visualize the independent trajectories of buying vs. selling pressure.
Key Settings:
- Index Period: Adjusts the summation lookback for volume interest.
- MSS Swing Length: Controls the sensitivity of the market structure detection.
- Normalization Period: Sets the lookback for the peak value calculation to keep the oscillator scaled.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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ã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
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.