OPEN-SOURCE SCRIPT
PSP [Daye's Theory]

PSP (Pair Strength Projection) is a correlation and divergence indicator based on Daye's Theory, designed to identify moments when related index markets lose synchronization.
The indicator compares the candle direction of up to three selected assets and highlights chart candles whenever a divergence occurs between them.
By monitoring whether correlated markets are moving together or apart, traders can quickly spot potential liquidity events, relative strength shifts, and short-term market inefficiencies.
Features:
• Multi-Asset Correlation Analysis
• Compare Up To 3 Markets Simultaneously
• NQ vs ES Dedicated Correlation Mode
• Automatic Candle Direction Detection
• Divergence (PSP) Highlighting
• Custom Highlight Colors
• Works On Any Intraday Timeframe
Common use cases:
• NQ vs ES divergence detection
• ES vs YM confirmation analysis
• Relative strength and weakness studies
• ICT / SMT style market confirmation
The indicator compares the candle direction of up to three selected assets and highlights chart candles whenever a divergence occurs between them.
By monitoring whether correlated markets are moving together or apart, traders can quickly spot potential liquidity events, relative strength shifts, and short-term market inefficiencies.
Features:
• Multi-Asset Correlation Analysis
• Compare Up To 3 Markets Simultaneously
• NQ vs ES Dedicated Correlation Mode
• Automatic Candle Direction Detection
• Divergence (PSP) Highlighting
• Custom Highlight Colors
• Works On Any Intraday Timeframe
Common use cases:
• NQ vs ES divergence detection
• ES vs YM confirmation analysis
• Relative strength and weakness studies
• ICT / SMT style market confirmation
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.