Universal Longs Vs. Shorts - Ratio (Any Symbol)Hello again all my Trading View friends!
This script is a variation of my other script "Universal Longs Vs. Shorts - Percentage (Any Symbol)"
It allows you to choose ANY symbol and plot the ratio against ANY other symbol, as an indicator on your given pair. It is primarily used as an indicator of longs/shorts as well as shorts/longs as a ratio to each other.
For example, you could plot BITFINEX:BTCUSDLONGS against BITFINEX:BTCUSDSHORTS.
It plots the ratio of longs/shorts or shorts/longs. For example:
If there are more longs than shorts open, the long ratio will be great than 1 with no upper limit.
If there are less longs than shorts open, the ratio will be less than 1 but greater than 0.
The same is true when comparing shorts to longs. You can choose to view Longs Ratio only, Shorts Ratio only, or Both.
This is useful to see how many more longs there are than shorts, and visa versa, at any given time interval. It does not take into consideration total volume of longs + shorts to get an absolute number, but rather a relative ratio to each other.
If there are many more positions open in one direction over the other, the ratio will rise higher and higher away from 1, which lets you know generally that there is a lot greater volume of that position open compared to its reverse.
If you found this script helpful please remember to FOLLOW and press LIKE!!
More useful scripts to come :-D
Shortlong
Universal Longs Vs. Shorts - Percentage (Any Symbol)Hello all my Trading View friends!!
This script allows you to choose ANY symbol and plot the ratio against ANY other symbol, as an indicator on your given pair. It is primarily used as an indicator of longs/shorts as well as shorts/longs as a percentage of total longs + shorts.
For example, you could plot BITFINEX:BTCUSDLONGS against BITFINEX:BTCUSDSHORTS.
It takes the ratio from an absolute 100%, rather than relative to each other. Therefore, each plot has a minimum of 0% and a maximum of 100%. You can choose to view Longs Percentage only, Shorts Percentage only, or Both.
This is useful to see what percentage of total positions are either long or short at any given time interval.
If you found this script helpful please remember to FOLLOW and press LIKE!!
BFXLS - Bitfinex Longs vs. Shorts [compatible on any chart]
This is an edit to an existing script. Original credits to pigloo and Ivturner for the slight tweak.
What's been changed:
This version allows Bitfinex $BTC longs/shorts to be viewed on any chart. It can be helpful when trading alts to find out why price is fluctuating.
I've added a price tracker that will show you BFX's BTCUSD value if you have indicator values on. It doesn't deviate much from the base, so there's not much point in having it visible. You can edit visibility or turn it off.
Enables editing of any ticker of your choice, but references to short and long are made in input to prevent confusion. I haven't had much use for this yet; you can use it as a price graph if you disable everything except for Ticker 3.
From pigloo's script:
Green area = Longs
Red area = Shorts
Lighter area = Longs - Shorts
The data only started recently which is why there is not much history, also I have marked a period of missing data between the vertical lines.
Poorly made example of price tracking;