CryptoGraffer

Universal Longs Vs. Shorts - Ratio (Any Symbol)

Hello again all my Trading View friends!

This script is a variation of my other script "Universal Longs Vs. Shorts - Percentage (Any Symbol)"

It allows you to choose ANY symbol and plot the ratio against ANY other symbol, as an indicator on your given pair. It is primarily used as an indicator of longs/shorts as well as shorts/longs as a ratio to each other.

For example, you could plot BITFINEX:BTCUSDLONGS against BITFINEX:BTCUSDSHORTS.

It plots the ratio of longs/shorts or shorts/longs. For example:
  • If there are more longs than shorts open, the long ratio will be great than 1 with no upper limit.
  • If there are less longs than shorts open, the ratio will be less than 1 but greater than 0.

The same is true when comparing shorts to longs. You can choose to view Longs Ratio only, Shorts Ratio only, or Both.

This is useful to see how many more longs there are than shorts, and visa versa, at any given time interval. It does not take into consideration total volume of longs + shorts to get an absolute number, but rather a relative ratio to each other.

If there are many more positions open in one direction over the other, the ratio will rise higher and higher away from 1, which lets you know generally that there is a lot greater volume of that position open compared to its reverse.

If you found this script helpful please remember to FOLLOW and press LIKE!!

More useful scripts to come :-D
Mã nguồn mở

Với tinh thần TradingView, tác giả của tập lệnh này đã xuất bản nó dưới dạng mã nguồn mở, vì vậy các nhà giao dịch có thể hiểu và xác minh nó. Chúc mừng tác giả! Bạn có thể sử dụng mã này miễn phí, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy nội bộ. Bạn có thể yêu thích nó để sử dụng nó trên biểu đồ.

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.

Bạn muốn sử dụng tập lệnh này trên biểu đồ?