1Copy the scriptPress Copy script above. It reads the file straight from GitHub.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
The code stays on GitHub. The author has not published this script under an open licence, so ForexR does not show its code. Copy script reads the file straight from GitHub into your clipboard, so you can still try it on your own chart. Ask the author before reusing the code anywhere else.
Overview
Arbitrage Detector [LuxAlgo] calculates cross-venue spreads and measures their percentile ranks to highlight market anomalies, plotting a smoothed gradient histogram in a separate pane with configurable percentile threshold levels (unusual, high, and typical). An interactive dashboard displays real-time asset prices, volumes, and deltas sorted by custom criteria to help identify arbitrage opportunities across different venues.
Multi-exchange price and volume delta monitoring
Smoothed histogram with percentile threshold levels
The inputs you can change from the gear icon on the chart. Defaults are the author's.
Setting
Type
Default
Variable
Sources
string
AUTO
sourceInput
Average Length
int
20
averageLengthInput
spreadLengthInput
int
1000
spreadLengthInput
Full Dataset
bool
false
spreadAllDataInput
Unusual % >
int
98
unusualPercentilInput
High % >
int
75
highPercentilInput
Typical % >
int
25
typicalPercentilInput
Dashboard
bool
true
dashboardInput
orderColumnInput
string
PRICE_LAST
orderColumnInput
orderBiasInput
string
DESCENDING
orderBiasInput
Position
string
TOP_RIGHT
dashboardPositionInput
Size
string
SMALL
dashboardSizeInput
Show all 25 settings
Setting
Type
Default
Variable
Price Delta
bool
true
priceDeltaInput
Volume Delta
bool
false
volumeDeltaInput
Unusual
bool
true
unusualInput
unusualColorInput
color
YELLOW
unusualColorInput
High
bool
true
highInput
highColorInput
color
JUNGLE
highColorInput
Typical
bool
true
typicalInput
typicalColorInput
color
OCEAN
typicalColorInput
Low
color
BLUE
lowColorInput
Percentiles Auto Color
bool
false
autoColorInput
Histogram Gradient
bool
true
gradientColorInput
Histogram Smoothing
int
9
smoothingLengthInput
Auto
bool
true
autoSmoothingInput
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
Oscillator Suite plots a normalised price oscillator in a separate pane and overlays a signal line that can use SMA, EMA, WMA, HMA, RMA, VWMA, T3, ZEMA, KAMA, or GKEMA. It marks bullish and bearish divergences, a smoothed money-flow series, confluence areas an
This indicator builds a table of relative strength for up to six user-chosen symbols against a benchmark, defaulting to SPY. It measures strength over four lookback periods, can average the visible periods, and can add relative volume as current volume divided
This indicator calculates the Relative Strength Index (RSI) alongside a simple moving average to generate directional momentum signals in a separate pane. It supports Break Flip and Break Continuous scanning modes for long and short setups. A wide array of opt
This indicator plots a smoothed Z-score of cumulative volume delta in a separate pane, showing whether buying or selling pressure is dominant and when the reading enters extreme zones. It marks spot accumulation, climax or exhaustion, and pivot-based price-vol
The Candle Pressure Index measures buying versus selling pressure from candle geometry and relative volume. Each bar combines close location, body ratio, and volume rank into a raw pressure value. An exponential moving average of that pressure forms the CPI os
Nexural OrderFlow Matrix is an order flow visualization tool that plots a detailed heatmap table and stacked imbalance bars in a separate pane. It calculates volume metrics using lower timeframe volume delta data, displaying per-candle metrics such as Delta, D