All indicators

Arbitrage Detector

By LuxAlgoDec 17, 2025

Arbitrage Detector is an indicator on Vela, our next-generation charting platform, written in Pine Script®.

Static chart image

Arbitrage Detector watches one asset across up to 19 crypto exchanges and 13 forex brokers simultaneously, a cross-instrument view that surfaces where spreads exist, how large they run, and whether they are unusual, high, typical, or low against their own history. A sortable dashboard shows live prices and volumes per source, while a lower-pane histogram grades spread behavior by percentile.

How to Trade the Arbitrage Detector?

  • Dashboard deltas: optional price and volume deltas, shown in parentheses beside each venue's values, quantify how each venue differs from the charted asset, a fast check against executing at an unfavorable price.
  • Percentile flags: histogram readings above your Unusual threshold (values beyond the 98th percentile in the daily EUR/USD example) mark abnormal spread activity that often coincides with heightened trading and potential reaction zones.
  • Gradient coloring: the histogram shifts toward yellow as spreads heat up and toward green and blue as they cool, while an Average Spread line, smoothed by a fixed EMA or the adaptive Auto mode, steadies the read.

Source selection is automatic (crypto assets pull exchange feeds, everything else uses brokers), with a manual override available. Sorting any dashboard column in ascending or descending order applies a background gradient so the ranked column stays obvious at a glance.

Arbitrage Detector Settings

  • Sources: crypto exchanges, forex brokers, or automatic detection from the chart asset.
  • Average Length: lookback for average price and volume.
  • Percentile Length: window for percentile calculations, or the full dataset at higher resource cost.
  • Unusual % > / High % > / Typical % >: thresholds that grade spread size.
  • Dashboard: toggle, sort column and direction, position, size, plus the Price Delta and Volume Delta toggles.
  • Style: percentile plots and colors, auto-coloring, histogram gradient, and smoothing mode.

Frequently Asked Questions

Free to use

Run it on Vela. Go further with a paid plan.

  • Up to 500 Custom Alerts, with webhook automation
  • Up to 10× the chart history of Free
  • Orderflow lookback up to full history
  • More Quant usage to customize it, plus extra usage when you need it
  • Futures data alongside crypto, stocks, forex and commodities
See plans

Also works on

TradingView
Original indicatorBuilt in-house by LuxAlgo

Run it on Vela. Make it yours with Quant.

Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.