PROTECTED SOURCE SCRIPT
Bitfinex Long:Short Ratio

This is a simple indicator that creates a ratio of margin Long & Short positions on Bitfinex for the ticker you currently have selected. If the ticker you are looking at does not have margin positions on Bitfinex; it will error out - however when you select another ticker it automatically resets.
The indicator provides the following:
Ratio is based on the close position and is intended as reference only. Don't rely on this supplied information as a sole indication prior to making a trade.
The indicator provides the following:
- Histogram of the ratio of margin Longs to margin Shorts. + results (green) are higher longs; - results (red) are higher shorts. NOTE: A 1:1 ratio has been offset to a 0 cross for the benefit of the histogram
- A simple moving average line (yellow) for quick reference of current margin trend. Length is adjustable viable input.
- A plotted line (blue) of margin longs as a ratio to the SMA of Longs. Above 1 indicates acceleration of trend; below 1 indicates deceleration
- A plotted line (orange) of margin shorts as a ratio to the SMA of Shorts. Above 1 indicates acceleration of trend; below 1 indicates deceleration
Ratio is based on the close position and is intended as reference only. Don't rely on this supplied information as a sole indication prior to making a trade.
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.