This script plots the longs/shorts ratio derived from Bitfinex for BTCUSDLONGS, BTCUSDSHORTS, and similar for 11 top cryptocurrencies chosen selected based on marketcap, trading volume on Bitfinex, and the maximum number of times that TradingView would let me call the "security" function in one script. Included coins:
BTC, ETH, LTC, BCH, XRP, EOS, IOT (IOTA),...
This script shows USD equivalent price which converted from BTCJPY and BTCKRW by fetching latest rate of those local currencies.
By using this script, you can easy to compare the difference of BTC price in USD, JPY and KRW.
Fetching price from BitFlyer for BTCJPY, Bithumb for BTCKRW. Enjoy!
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...
Converted Noro's Fast RSI Strategy v1.2 for using with Autoview. For testing use this modification.
AutoView code from
For: BTCUSD, crypto/fiat, crypto/crypto.
Timeframes: 1hour, 45min, 30min, 15min, 5min.
Price Line overlay shows combined BCH+BTC price normalized to the price of BTC, which is the realtime combined price (BCH+BTC) averaged over the SMA of BTC - SMA of BCH.
This indicator is a 2-in-1 overlay + oscillator depending on which plots are enabled.
This version is the overlay script, this is why there are maths...
Yellow Crosses mean both shorts and longs are increasing market is getting volatile
Gray Crosses means margin traders undecided on that candle
Green Crosses mean longs are increasing and shorts are being pulled out
Red Crosses mean Longs are being pulled out and shorts being put in
RSI of Longs and Shorts used.
Hope the indicator helps you in anyway.
Only works for BTC.
A simple script I wrote that allows you to look at the posture of a moving average. Rates of change can be useful to understanding momentum. Additionally, I have included a signal line so you can see if the posture is more or less than average.