Bitfinex
Bitfinex(bfx) Shorts, Longs, Combined Numbers (all crypto pairs)Pretty much Self-explanatory :)
The columns (green and red) are difference in long and short positions during that period. Positive number suggests more number of long positions and vice-versa.
Works for all allowed crypto-pairs.
A similar indicator was published by another user, but sadly he closed the source code
Happy Trading!
Margin Changes Per Bar [Bitfinex]This indicators shows the changes in margin data for Bitfinex from previous bar. This means if you're looking at the 1 hour chart, it will show changes since the previous hour. 1 day chart = changes since the previous day.
Useful for seeing if a price move was due to stop runs, if a trade has become too crowded, or whatever wacky theories you have for margin data.
Automated to switch to whichever ticker you're currently viewing if it has margin trading enabled on Bitfinex. It adapts to any exchange, including BitMEX.
// Green: opened longs since previous bar
// Teal: close longs since previous bar
// Red: opened shorts since previous bar
// Gray: closed shorts since previous bar
Longs Shorts & Divergence (LSD) (Ratio, Diff, Total) [cI8DH]This indicator automatically identifies the ticker for the current chart and shows margins at Bitfinex (or any other exchange if listed on Tradingview). So if your chart is reading EOSUSD at Kraken, this indicator will show EOSUSDSHORTS and EOSUSDLONGS at Bitfinex.
Features:
- Total of longs + shorts ("could" be an indicator of market attractiveness)
- Difference between longs and shorts (good if you want to have only one chart)
- Longs to total margin ratio in percentage
- Highlighting of indicator background when margins diverge too much from price (sensitivity of divergence is adjustable, divergence can be applied to longs, -shorts, longs+shorts, longs-shorts)
- Price factoring (gives a consistent metric when switching between different coins)
- Tickers can be set to a fixed value or automatically extracted from the current chart (fixed is useful for hybrid tickers)
- Margin exchange can be modified (default is Bitfinex)
- Offset for longs (helps with scaling)
Read the description in the TA below for getting access to this script.
Exchange Price ComparisonCompare the BTC price at your preferred exchange against 7 other exchanges. Avoid trades at poor market value, target trades at good market value.
Average price across 8 exchanges is the 0 line, with your selected exchange displayed green if it's below the average price, red if it's above the average price. Values are displayed as distance from the average, positive or negative.
Useful for evaluating your exchange price vs average market price, to avoid poor market value trades, target good value trades, shop around exchanges for best value, potential to be adapted for arbitrage opportunities.
8 Exchanges used:
Bitfinex
Bitmex
Poloniex
Binance
Coinbase
Bitstamp
Bittrex
Kraken
Requested by Mister_Pocketlint on discord. Inspired by anise.
Bitfinex Open Interest ChangeThe script shows changes in Bitfinex open interest from the previous candle.
Key:
Positive green bar = Open interest increase, predominantly longs opening.
Positive red bar = Open interest increase, predominantly shorts opening.
Negative green bar = Open interest decrease, predominantly longs closing.
Negative red bar = Open interest decrease, predominantly shorts closing.
Token selection between top trading pairs is in the options.
Bitfinex Longs v Shorts - Token Selectorimgur.com
The script enables you to easily switch between the top trading pairs on Bitfinex to show the long vs. short data.
Bitfinex USD Pairs: Betas and Correlations [checkm8]Hello and welcome to my beta and correlation indicator!
This indicator is meant to be used to assess trading alternatives to BTCUSD on Bitfinex, examining alt-USD pairs that can be traded on margin. This list is as follows:
ETHUSD
LTCUSD
EOSUSD
NEOUSD
OMGUSD
XRPUSD
IOTUSD
BCHUSD
SANUSD
ETPUSD
ETCUSD
XMRUSD
ZECUSD
DSHUSD
Before dwelling further on the script, let's revisit the definitions of beta and correlation:
Beta is a statistical measure of a %-change in an asset relative to a 1% change in a benchmark. In our case - this is BTCUSD. For example, if the beta is 1.5, it means that the particular asset moves 1.5% in the same direction as the 1% change of the benchmark. If the beta is negative, the asset is moving in opposite direction of the benchmark. Note: beta is not confined to any range.
Correlation is a statistical measure of the relationship between two assets, from a range of +1 to -1, where a score of +1 implies perfect positive correlation (prices move in the same direction), -1 implies perfect negative correlation (inverse relationship), and 0 implies no relationship in price changes.
For the calculations, BITFINEX:BTCUSD is used as the benchmark.
Through the script's settings:
You can select whether to plot betas or the correlations
You can select the desired length to be used in the measure of beta and correlations
You can enable smoothing for less choppy results. This is accompanied by options to modify the smoothing length and the smoothing method, where SMA, EMA, RMA, and WMA are available.
You can enable and disable individual alt pairs from being displayed (ie. if you do not want LTCUSD plotted, you can turn it off)
Below is an example of the correlation setting.
I would recommend using a smoothing input of 3-6, on SMA, and the 4-hour timeframe for good results. I use this indicator for help in deciding what alt pairs to trade on a particular day, where you will want to trade alts with the highest correlations. Note: be weary of less liquid markets, such as ETP and SAN.
Also note: the labels shown in the snapshot are for presentation purposes only. You can enable Indicator Labels by right clicking the oscillator -> "Price Scale" -> "Indicator Labels".
Please let me know if you have any questions, suggestions, or concerns.
Happy trading!
For additional information as to why you should be using this indicator and trading alts instead of BTCUSD, please refer to my study:
Bitfinex Longs vs Shortssexy view of the current long/short positions on Bitfinex. I saw some pay-for, hidden-source-code version of this and thought: "oh man."
Dynamic LONGS & SHORTS Bitfinex Margin Traders PositionsA script that will show the current margin longs and shorts for the active Bitfinex pair, as long as the pair is margin enabled.
Dynamic LONGS & SHORTS Bitfinex Margin Traders PositionsA script that will show current margin longs and shorts for the current pair, if it is margin enabeld, on Bitfinex
Shorts & Longs (Bitfinex) - Active CoinPlots the ammount of shorts and longs on bitfinex of current chart using the ticker ID
MTF Bitfinex Longs vs. Shorts Support/Resistance [checkm8]Hello and welcome to my multi-timeframe support and resistance indicator based on margin longs and shorts on Bitfinex :D
The premise of the script is simple. It draws support and resistance levels based on large margin movements ( effectively showing the break-even points of those positions ), where:
Longs opening and shorts closing is bullish pressure
Longs closing and shorts opening is bearish pressure
You can select your desired timeframe for the script to show the levels on. The script draws two sets of lines, one based on medium-sized movements and another based on large movements, where you can also manually input the size of the movements for it to track. By default, the script is optimized for 1-hour timeframes on BTCUSD, where the medium sized movements are set to bullish/bearish pressures of over 500 BTC, and large movements based on pressures of over 1000 BTC.
If you choose to use a different currency pair (ex. LTCUSD, ETCUSD, EOSUSD, etc..) you must adjust the volume that the script tracks , as tracking something like a 500 margin long in XRPUSD is useless. This also applies to timeframes , as timeframes lower than 1 hour may require smaller input values, while larger timeframes will require larger movements.
In addition, there is an input for the source. I recommend leaving this setting at hlc3 , because this will capture a more appropriate break-even points for the S/R levels.
A few tips:
If the current price is under a bullish support/resistance level , this implies that the bullish margin positions are underwater (the price is below their long break-evens), ie. shorts closed at the top or longs were entered at the top
If the current price is above a bullish support/resistance level , this implies that the bullish margin positions are in profit and will act as support (they will support their long break-even points)
If the current price is under a bearish support/resistance level , this implies that the bearish margin positions are in profit and will act as resistance (the price is below their short break-evens)
If the current price is above a bearish support/resistance level , this implies that the bearish margin positions are underwater (the price is above their short break-evens), ie. shorts entered at the bottom or longs were closed at the bottom
Happy trading and feel free to reach out with feedback and suggestions! :D
Special thanks goes to oh92 for his input and feedback on the idea. Check out his profile and his vast selection of indicators in the links below!
www.tradingview.com
depthhouse.com
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).
Bitfinex Long vs Short (TickerID)Uses the active ticker to show long/short values on all Bitfinex pairs that have that data available on Tradingview.
Crypto Low Frequency Trader [ALERTS] - NO REPAINTLow Frequency Trading Signals - Safe to trade with low leverage leverage and make a retirement fund.
Absolutely NO REPAINT.
Very conservative approach.
Works best on 1H chart.
This is the alerts indicator, check my profile for the strategy with backtest.
This Level of Strategy, will not be free. PM for access - Monthly Subscription.
Aesthetic Margin Long/Short Changes v2 [MrBit]This is a rewrite of the original:
I really like the above script (Thank you Pastafarian!) but it was annoying that
it always took so long to load, so I made some edits so it would run faster.
Basically I replaced all the custom code (the sum loop and the calculations)
with pinescript builtins since they are faster and I commented out price since it
runs slowly (and I always have it on the chart anyway), but feel free to uncomment if you want it,
it is still a speed up.
ETHUSD - bot for Autoview - StudyScript for automated trade in ETHUSD at BITFINEX.
For more information, go to my scripts page and see his backtest (ETHUSD - bot for Autoview - Strategy).