OPEN-SOURCE SCRIPT

Arbitrage Synthetic Spread Chart v2

378
Powerful tool for analyzing market divergences and identifying arbitrage opportunities! It creates a synthetic spread chart between two assets, displaying it in a clear format and helping traders spot moments of maximum decorrelation.

How does it work?
The indicator takes the closing prices of two assets and calculates their difference (spread):

spread = price1 - price2

Then, it constructs a price channel based on the highest and lowest values of the spread over a given period:
-Upper boundary: The highest spread value over the period
- Lower boundary: The lowest spread value over the period
- Middle line: The average of the upper and lower boundaries

Additionally, the indicator calculates the **correlation** between the two assets, helping traders assess their relationship strength.

How to use it?
When the spread reaches the channel boundaries, it may indicate an abnormal divergence between the assets. This serves as a signal for arbitrage trading:
✅ At the upper boundary: Sell Asset 1 and buy Asset 2
✅ At the lower boundary: Buy Asset 1 and sell Asset 2

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.