OPEN-SOURCE SCRIPT
Updated Volume + Margin Toolkit (Longs & Shorts)

-predicts volume on current bar based on how long is left in the bar
-shows how much volume is spent on margin positions
-shows how much buy & sell volume on margin positions
-shows volume in fiat value
-normalized view shows percent of volume spent on margin
-sma
-enter the security name for shorts & longs data, by default it is set to BITFINEX:BTCUSDLONGS and BTCUSDSHORTS.
-shows how much volume is spent on margin positions
-shows how much buy & sell volume on margin positions
-shows volume in fiat value
-normalized view shows percent of volume spent on margin
-sma
-enter the security name for shorts & longs data, by default it is set to BITFINEX:BTCUSDLONGS and BTCUSDSHORTS.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.