This script tracks the net Bitfinex margin sizes from candle to candle (longs - shorts), and divide it by the total volume from the previous candle. This should give you a ratio of net margin trading volume over total volume on Bitfinex. Note that assuming the delay is not severe, this ratio should never exceed 1 or -1 (since margin traded volume should strictly...
This is a new experimental Bollinger Bands indicator. It aims to display 3 BBs of different periods. The bands are 10, 20, 50 periods and 1.9, 2.0, 2.1 multipliers respectively (in accordance with Mr. Bollinger's recommendation). The squeeze option is a visual highlight of band squeezes. A squeeze is loosely defined as a narrowing of the band at some threshold...
This displays the long and short margin sizes of BTCUSD on Bitfinex. When longs are higher volume, difference is filled with green color; when shorts are higher, the fill is red. Also at the bottom the total volume change vs the SMA20 is displayed. Green bars means net change is favoring longs, red the opposite. Let me know if you would like to see other additions/changes.