Profitable Pair Correlation Divergence Scanner v6
dev.to·8h·
Discuss: DEV
🐍Python
Preview
Report Post

This strategy identifies divergence opportunities between two correlated assets using a combination of Z-Score spread analysis, trend confirmation, RSI & MACD momentum checks, correlation filters, and ATR-based stop-loss/take-profit management. It’s optimized for positive P&L and realistic trade execution.

Key Features:

Pair Divergence Detection: Measures deviation between returns of two assets and identifies overbought/oversold spread conditions using Z-Score.

Trend Alignment: Trades only in the direction of the primary asset’s trend using a fast EMA vs slow EMA filter.

Momentum Confirmation: Confirms trades with RSI and MACD to reduce false signals.

Correlation Filter: Ensures the pair is strongly correlated before taking trades, avoiding noisy si…

Similar Posts

Loading similar posts...