OPEN-SOURCE SCRIPT
Cập nhật Precision Confluence Monitor

Precision Confluence Monitor (PCM)
PCM tracks your Precision SPX levels and confirms each one against live NDX confluence before flagging an entry. You paste two comma-separated strings — your SPX levels and the matching NDX levels — and the script pairs them by position, then watches price action against both indices in real time.
How it works
The core logic is a two-candle confirmation rule. Candle 1 (C1) fires when price closes on the same side of a level on both SPX and NDX simultaneously — calls if both close above, puts if both close below. Candle 2 then confirms the move and triggers the actual ENTRY signal. This dual-index requirement filters out single-market fakeouts where SPX breaks a level but NDX doesn't follow.
Level categories (by index position in your string):
0–5: Daily levels
6–7: Range levels
8–9: Weekly levels
10–11: Monthly levels
Each type is color-coded on the chart with lines, zones, and labels showing the level price, its NDX pair, and live distance in points.
Built-in protections
Fail counter: every time a level is tested and rejected, it's tracked. After 2+ failures the level is flagged AVOID — the script will not give an entry there, keeping you out of chop.
SMA confirmation filter (optional): requires both SPX price and NDX to be on the correct side of the Fast/Slow SMAs before allowing a signal.
Volume filter (optional): requires ≥1.5× average volume to confirm a genuine break.
Display
A live status table summarizes every active level: SPX price, NDX pair, type, distance, whether NDX confirms, current signal state (Watch / C1 / Entry / Avoid), and fail count. On-chart labels and alerts (C1, Entry, and Avoid) keep you updated without watching the table.
Inputs reset daily so each session starts clean.
This script is a decision-support tool, not financial advice. Always manage your own risk.
PCM tracks your Precision SPX levels and confirms each one against live NDX confluence before flagging an entry. You paste two comma-separated strings — your SPX levels and the matching NDX levels — and the script pairs them by position, then watches price action against both indices in real time.
How it works
The core logic is a two-candle confirmation rule. Candle 1 (C1) fires when price closes on the same side of a level on both SPX and NDX simultaneously — calls if both close above, puts if both close below. Candle 2 then confirms the move and triggers the actual ENTRY signal. This dual-index requirement filters out single-market fakeouts where SPX breaks a level but NDX doesn't follow.
Level categories (by index position in your string):
0–5: Daily levels
6–7: Range levels
8–9: Weekly levels
10–11: Monthly levels
Each type is color-coded on the chart with lines, zones, and labels showing the level price, its NDX pair, and live distance in points.
Built-in protections
Fail counter: every time a level is tested and rejected, it's tracked. After 2+ failures the level is flagged AVOID — the script will not give an entry there, keeping you out of chop.
SMA confirmation filter (optional): requires both SPX price and NDX to be on the correct side of the Fast/Slow SMAs before allowing a signal.
Volume filter (optional): requires ≥1.5× average volume to confirm a genuine break.
Display
A live status table summarizes every active level: SPX price, NDX pair, type, distance, whether NDX confirms, current signal state (Watch / C1 / Entry / Avoid), and fail count. On-chart labels and alerts (C1, Entry, and Avoid) keep you updated without watching the table.
Inputs reset daily so each session starts clean.
This script is a decision-support tool, not financial advice. Always manage your own risk.
Phát hành các Ghi chú
Table highlighting: rows within 10pts of current price now show a gold background with larger text and a arrow marker for quick visual identification.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.