PROTECTED SOURCE SCRIPT
Cập nhật Aggregate spot/perp ratio (24 hour)

This indicator plots the ratio between aggregate volume from spot and perp pairs.
Also added some moving averages, can be enabled/disabled in settings.
Sources of spot volume: Binance, Coinbase, FTX and Kraken. Sources of perp volume: Binance, FTX, Bybit and OKEX. These had highest volume.
How to use example: (v simple)
To analyze ratio on ETH:
type 'ETH' in the string input in settings, thats all.
Also 1D chart plots no ratio, due to minor issue in function. just plot 12H chart instead. ratio sensitivity will change when moving to LTF.
-Ares
Also added some moving averages, can be enabled/disabled in settings.
Sources of spot volume: Binance, Coinbase, FTX and Kraken. Sources of perp volume: Binance, FTX, Bybit and OKEX. These had highest volume.
How to use example: (v simple)
To analyze ratio on ETH:
type 'ETH' in the string input in settings, thats all.
Also 1D chart plots no ratio, due to minor issue in function. just plot 12H chart instead. ratio sensitivity will change when moving to LTF.
-Ares
Phát hành các Ghi chú
You can now choose which exchanges you want to pull volume data from, with goal to decrease signal dilution from over-aggregation.Phát hành các Ghi chú
added bitumen and bitfinex, still some bugs in some pairs. I found the bug, will be fixing after Monday.Phát hành các Ghi chú
This should work now. It loads in with 0 exchanges listed. If your pair doesn't plot, then 99% sure your ticker is not listed on one or more of the exchanges.Phát hành các Ghi chú
bitmex, bitfinex added, and now fully compliant with house rules. (chart is 1h ratio on ETH)Phát hành các Ghi chú
fixed another bug regarding spot and perp pair disfunction on same exchange. Added some tools, maybe helpful to figure out edge in this.Phát hành các Ghi chú
removed FTX from the basket as they are bankrupt. I hope everyone survived FTX. Chin up to trade another day.Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể tự do sử dụng tập lệnh mà không có bất kỳ hạn chế nào – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.