OPEN-SOURCE SCRIPT

Alpha Spread Indicator Panel - [AlphaGroup.Live]

125
Alpha Spread Indicator Panel – [AlphaGroup.Live]

This sub-panel plots the OLS spread between two assets, normalized into percent.
Green area = spread above zero (Buy Leg1 / Sell Leg2)
Red area = spread below zero (Sell Leg1 / Buy Leg2)
• The white line shows the exact % deviation of the spread from its fitted baseline
• Optional ±1% and ±2% guides give clear statistical thresholds

Because it’s expressed in percent relative to midprice, the scale remains consistent even if absolute prices change over years.

⚠️ Important: This panel is designed to be used together with the overlay chart:
👉 Alpha Spread Indicator Chart – [AlphaGroup.Live]

Pre-selected asset pairs included:
EURUSD / GBPUSD
AUDUSD / NZDUSD
USDJPY / USDCHF
USDCAD / USDNOK
EURJPY / GBPJPY
AUDJPY / NZDJPY
XAUUSD / XAGUSD
WTI (USOIL) / Brent (UKOIL)
NatGas / Crude
HeatingOil / RBOB
Corn / Wheat
Platinum / Palladium
XOM / CVX
KO / PEP
V / MA
JPM / BAC
NVDA / AMD
BHP / RIO
SHEL / BP
SPY / QQQ

Want more institutional-grade setups? Get our 100 Trading Strategies eBook free at:
alphagroup.live/100-trading-strategies

Tags: pairs-trading, spread-trading, statistical-arbitrage, ols-regression, zscore, mean-reversion, arbitrage, quant, hedge, alphagroup

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.