OPEN-SOURCE SCRIPT

BTC Longs & Shorts Profile

WHAT DOES THIS INDICATOR DO?

I started with the idea of creating another premium indicator with a bunch of features and add it to the bundle. However, the more complex the code was becoming, the less helpful the indicator actually was. So I started from scratch and made BTC Longs & Shorts Profile super simple (as you can see in the code).

The advantage over other similar indicators is that this one has a drop-down menu and allows you to select whether you want to see Longs, Shorts, Ratio, or Difference. Having Longs and Shorts at the same time is a bit confusing because Longs pretty much dwarf the Shorts and the ups and downs are not clearly visible. Also, you can configure the colors for each visible line.

My suggestion is to add this indicator to your BTC chart, save it as a template from the top menu on TradingView and stop switching between BTC, Bitfinex Longs and Shorts. You have everything in one simple window (that's especially the case if you are not a pro or premium member and can't have more than 2 screens simultaneously).

ANYTHING ELSE ?

On a side note, if you are planning on working on a similar indicator, let me tell you what I've tried so far and it didn't work for me:
- RSI calculations including Longs and Shorts as a base
- Longs and Shorts in relation to BTC itself and a relationship with the volume
- Directional Movement Index, where Longs are DM+ and Shorts are DM-
- Smoothing both Longs and Shorts and trying to find a relationship (including some pseudo MACD lookalikes)

Anyway, if you have any ideas or suggestions on improving this indicator, please let me know. Thanks!
BTCbtclongbtcshortBTCUSDbtcusdanalysisbtcusdlongbtcusdshortBTCUSDTbtcusdtlongOscillatorsTrend AnalysisVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer