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:
- calculations including Longs and Shorts as a base
- Longs and Shorts in relation to BTC itself and a relationship with the
- Index, where Longs are DM+ and Shorts are DM-
- Smoothing both Longs and Shorts and trying to find a relationship (including some pseudo lookalikes)
Anyway, if you have any ideas or suggestions on improving this indicator, please let me know. Thanks!
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 a publication is governed by House Rules. You can favorite it to use it on a chart.