TradingView
I_Leo_I
2023年4月13日午後3時14分

Arbitrage Spread 

Dogecoin / TetherUS PERPETUAL CONTRACTBinance

詳細

This indicator helps to find spreads between cryptocurrencies, assess their correlation, spread, z score and atr z score.

The graphs are plotted as a percentage. Because of the limitation in pine tradingview for 5000 bars a period was introduced (after which a new starting point of the graph construction will be started), if you want it can be disabled

The multiplier parameter affects only the construction of the joint diagram on which z score and atr z score are calculated (construction of the diagram is done by dividing one pair by another and multiplying by the multiplier parameter) is shown with a red line

To create a notification you have to specify the data for parameters other than zero which you want to monitor. For parameters z score and atr z score data are counted in both directions

The data can be tracked via the data window
Link to image of the data window prnt.sc/93fKELKSQOhB
コメント
omedor
Hello, thanks for providing this code. It is very powerful. I am trying to wrap my head around this at the moment. Not sure how to use it, such as what inputs should I use and what symbol should I use as the main symbol... also I was wondering what line 25 and 26 does.
詳細