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ể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Đ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ể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.