Bitfinex Longs vs Shorts [R1984] [Private]TradingView Pine script to compare open Bitfinex BTC long versus short positions.
This indicator compares open Bitfinex BTC long versus short positions in multiple markets (USD, EUR, GBP, and JPY).
Features
Switch between total position and percent comparison.
Convert position values from BTC to EUR, GBP, JPY, or USD.
Configurable gradient shading (useful with total position comparison).
Sentiment
Market Sentiment IndicatorMarket Sentiment Indicator
Class : hybrid – trend oscillator
Trading type : any
Time frame : any
Purpose : trend detection, reverse points detection
Level of aggressiveness : any
Indicator «Market Sentiment Indicator» (MSI) is used to detect dominating market sentiments and to search for the points of market sentiments change.
Domination of bullish sentiments means that “buy” trades are preferable. In case of bearish sentiments “sell” trades should prevail. Also indicator “MSI” can detect neutral market sentiments (the absence of dominating tendency), which means the presence of flat in the price dynamics.
Entering the extreme zones means that current market sentiments may change soon. This may act as a reverse signal.
Summarizing «Market Sentiment Indicator» provides additional information for successful trading.
Structure of the indicator
Indicator consists of the following elements:
- Histogram of market sentiments – is presented with 3 color gammas: blue color (bullish sentiments are dominating), red color (bearish sentiments are dominating), red color (neutral sentiments are present in the market),
- Red zone – bullish extreme zone, warns that current upward trend is ready for correction. Entering this zone is a signal for partial profit fixation for long positions;
- Blue zone – bearish extreme zone, warns that current downward trend is ready for correction. Entering this zone is a signal for partial profit fixation for short positions.
Input parameters of the indicator
To set up the indicator a “MSI period” parameter is used. It shows how many previous periods are used to calculate the MSI. The bigger the period is the more conservative signals are and vice versa.
Rules of trading
The main purpose of this indicator is detection of prevailing market sentiments: bullish (blue color of histogram), bearish (red color of histogram) and neutral (green color of histogram).
Accordingly in case of bulls’ domination preference should be given to purchases, in the bear market – to sell trades. Neutral state of the market is a reason to trade with no any preferences.
Entering the extreme zones is a reason for partial profit fixation of positions opened in current tendency.
Exit from the extreme zones is a strong reversal signal.
Volatility BalanceThis "Volatility Balance" indicator measures volatility from a different perspective.
It plots both an upside (green) and downside (red) volatility rating as well as a histogram depicting either the difference between the two or the two combined.
First, it calculates the ratio of the candle body (open to close) in relation to the entire candle range (high - low). This is the "candle body size ratio".
Secondly, it calculates the "dominance ratio" of the upside volatility (close - low) or downside volatility (high - close), in relation to the entire candle range (high - low)
Thirdly, it then uses the above values to derive the upside and downside power.
The upside and downside powers are calculated by multiplying the "candle body size ratio" to the upside or downside "dominance ratio" and then to the entire candle range.
It then divides this value by the close of the candle to normalize the overall value. After which it then multiplies this final value by 100, to get a percentage value between 0 - 100%.
It then averages the upside or downside "power value", using a volume-weighted moving average with the averaging period initially set to 7 periods, but this can be altered in the format settings.
The volatility difference or volatility size is displayed as a histogram style behind the green and red upside and downside power lines (depending on which value the user chooses), via an option in the format settings.
The volatility difference is the upside minus the downside and the volatility size is the upside and downside added together.
In case the user wishes to see EACH candle's power value before it has been averaged with volume, there is an option in the format settings to show each candle's upside or downside "power". If this method is chosen, the histogram will be hidden. There are also various check boxes, in case the user wishes to hide any of the plotted values.
The volatility size can determine how much energy has been behind the change in price over the period measured.
The volatility difference can determine how much upwards or downward energy is present within the period measured, in other words, the possible direction.
The use of the candle body ratio helps to determine the balance between upwards and downwards energy. If it is small, then it implies that there is more of a balance between buyers and sellers and therefore less volatility, as the price hasn't moved as much than if the body of the candle was larger. Smaller values indicate that price may not move as much and therefore lock up your funds longer until price starts to move again.
The use of a volume-weighted moving average helps to give higher volume periods more significance towards a possible price shift.
---------------------------------------------------------------------------------------------------------------------------
This indicator was originally inspired by the Profit Trailer Feeder add-on and it's volatility groupings.
If you don't already have the Profit Trailer Feeder add-on to the Profit Trailer software, and you have now decided to get it, please help me out and use my affiliate link below. It won't cost you any extra, but it helps keep the lights on, so I can create more of these indicators.
Kindest Regards
Created 2018 - by @Squiggles#8806
LTC Tip Jar: LX4bUBdjiRPsagUbZoAczSGgDC4YqTJL7w
Profit Trailer Feeder affiliate link: cryptoprofitbot.com
Stoch BitfinexSimilar to RSI Bitfinex , but Stoch version.
It applies Stochastic Oscillator to BTC longs/shorts ratio on Bitfinex. You can use the oscillator as you'd use Stoch:
- Divergences
- Oversold/overbought signals
- R/S on the indicator
- Trend indication
- etc
RSI BitfinexRSI applied to BTC longs/shorts ratio on Bitfinex. You can use the oscillator as you'd use RSI:
- Divergences
- Oversold/overbought signals
- R/S on the indicator
- Trend indication
- etc
Bitfinex Longs vs Shorts [R1984]TradingView Pine script to compare open Bitfinex BTCUSD long versus short positions.
This indicator compares open BTCUSD Bitfinex long versus short positions.
Features
Switch between total position and percent comparison.
Configurable gradient shading (useful with total position comparison).
Bitfinex Sentiment VolumeThis indicator takes the current symbol (ex. BITFINEX:NEOUSD), looks for long and short positions in Bitfinex and displays the total volume of margin positions.
When you hover the indicator you can see the total volume in blue, the volume of long positions in green and the volume of short positions in red.
This indicator is meant to be combined with the Bitfinex Sentiment Oscillator indicator in order to get the full picture of margin positions.
Bitfinex Sentiment OscillatorThis indicator takes the current symbol (ex. BITFINEX:NEOUSD), looks for long and short positions in Bitfinex and displays an oscillator between -100 and +100.
The oscillator represents the dominance between long and short positions where -100 means 100% short dominance, 0 means that the number of positions is even (50%/50% dominance) and +100 means 100% long dominance.
In this example, during November's NEO Flash Crash, the oscillator displayed 98.1022 % of long dominance, which basically means that everyone who had a leveraged position was stacked in a domino which eventually resulted in massive liquidations and the dreaded flash crash.
This indicator is meant to be combined with the Bitfinex Sentiment Volume indicator in order to get the full picture of margin positions.
BITFINEX Long to Short RatioShows the ratio of longs to shorts. Above 1.0 means more longs. Below 1.0 means more shorts. A value of 1.0 means equilibrium.
COT Net Position's (by Ramon Coto-Vazquez) Commitment of TradersUpdated COT Net Positions with optional open interest in the settings
Updated the codes that broke anything related to COT
Fixed an issue that appeared on most COT scripts where the monthly chart didn't update the last price.
I have been asked for a BTC_address so If you feel the urge to Donate
_BTC_
3DXaarzMDwif4Hi2Ysj2BoEnzbfcvvWWDD
Bitfinex Margin VolumesQuick view on longs/short margin positions on Bitfinex for current Crypto Symbol.
COT Majors Net Position's (by Ramon Coto-Vazquez)COT Currency Majors.
This is a temp fix for the COT data changes until tradingview reintegrates the codes or its a perm fix if the current codes don't change.
Big thanks to fractalhedge for help on the project.
BTC:
1N5LUW7R1ZpkiQ8vfTkXtyVXdFoEzZ9JHW
Crowd Tracker (work in progress)This indicator/strategy should be used similarly to how you would analyse sentiment data, when the crowd is bullish look to be short, when the crowd is bearish look to be long. It is also is inspired by Elliott wave, as it is looking for ending waves. The crowd tracker uses volume and price data to estimate how many people went long or short in a candle, then adds the candles over a 500 candle period together. A spike in bullishness on the indicator indicates that a bull trend may be over because ending Elliott waves, for example 5s and Cs, are when the crowd are most on board with the trend. The blue lines are a standard deviation (Bollinger Band), between these lines is where a healthy trend would be found. When the Crowd Tracker leaves and re-enters the blue lines this is a sign of a change in trader psychology, as they have reached their maximum confidence in a trend then reversed.
This is still work in progress because I want to find a better way to find the tops and bottoms of the Crowd Tracker, so it is set to invite only, after I have completed it I will probably release it in protected so follow me if you want to use it later on :) It is good at spotting entries for cryptos and stock indexes however the exits still need work.
NAAIM SentimentSentiment Indicator for the National Association of Active Investment Managers
Follow me on twitter for market timing and verified returns posted to my feed
twitter.com
AAII SentimentSentiment Indicator for the American Association of Individual Investors
Follow me on twitter for market timing and verified returns posted to my feed
twitter.com
Bull And Bear Balance Strategy This new indicator analyzes the balance between bullish and
bearish sentiment.
One can cay that it is an improved analogue of Elder Ray indicator.
To get more information please see "Bull And Bear Balance Indicator"
by Vadim Gimelfarb.
SentimentSentiment is inversly related with price movement. When long positions make a peak, market has a high possibility to go down and when short positions are dominant, there may be a near-term bull market ringing the door bell.