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 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...
Designed/back-tested for daily BTC/USD closing price.
Your mileage may vary for other assets/time frames.
By default includes 13 EMA, 21 SMA, 49 EMA, 200 EMA.
Crosses of 13 / 49 EMA are for buy/sell signals.
13 EMA / 21 SMA cross-unders are for sell signals near local tops.
EMA periods are editable.
See text in the Pine Editor for additional notes on the...
This indicator takes Bitfinex's SHORTS and LONGS charts, and overlays the Average of the 2 on top of the current chart.
This script was created in order to check possible correlations between the Shorts/Longs average and the current BTCUSD price.
Blue Line shows the BCH dominance of a particular BTC price move.
Blue is fast, orange is slow
This version is the oscillator script of a 2-in-1 overlay + oscillator depending on which plots are enabled.
Use with "Actualized BCH+BTC Price Persistence BITFINEX" - the overlay version of this script.
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...
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.