OPEN-SOURCE SCRIPT
Futures Compare

Futures/Spot Arbitrage Across Exchanges is a tool for monitoring price spreads between major crypto exchanges for the same symbol.
What this indicator does
Calculates percentage spread of futures or spot prices on multiple exchanges relative to a selected base exchange (e.g., Binance, Bybit, OKX).
Displays the average spread as a histogram and shows a table with per-exchange spreads to the base in real time.
When more than one exchange is selected, it can focus the plot on the Binance spread to keep the chart clean while still showing all exchanges in the table.
How and where to use it
Designed primarily for crypto futures and spot markets to track cross-exchange dislocations on pairs like BTCUSDT, ETHUSDT, etc.
Useful for manual or semi-automatic arbitrage trading, market-making, and monitoring funding-related distortions between futures and spot across exchanges.
Apply it on intraday timeframes (from 1m to 1h) to see short-term spikes in spreads, or on higher timeframes to analyze the general efficiency and pricing consistency between exchanges.
What this indicator does
Calculates percentage spread of futures or spot prices on multiple exchanges relative to a selected base exchange (e.g., Binance, Bybit, OKX).
Displays the average spread as a histogram and shows a table with per-exchange spreads to the base in real time.
When more than one exchange is selected, it can focus the plot on the Binance spread to keep the chart clean while still showing all exchanges in the table.
How and where to use it
Designed primarily for crypto futures and spot markets to track cross-exchange dislocations on pairs like BTCUSDT, ETHUSDT, etc.
Useful for manual or semi-automatic arbitrage trading, market-making, and monitoring funding-related distortions between futures and spot across exchanges.
Apply it on intraday timeframes (from 1m to 1h) to see short-term spikes in spreads, or on higher timeframes to analyze the general efficiency and pricing consistency between exchanges.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.