PhinkTrade

Bitfinex Spot vs Margin Volume - Multi-asset

PhinkTrade מעודכן   
The Bitfinex Spot vs Margin Volume - Multi-asset indicator was designed to help understanding how volume is composed between Spot and Margin transactions, considering all possible scenarios.  

It provides valuable additional insight on how 'smarter money' is behaving in anticipation of possible upcoming moves, and can contribute to current analysis toolkits.

To request access, please send me a direct message.

Main features:
  • Spot vs. Margin insight for all margin-enabled Bitfinex pairs (dynamically detected from Chart).
  • Can be used on non-Bitfinex Charts which share same Ticker (eg. BTCUSD on Bitfinex or Bitstamp). Also dynamically detected.
  • Can be used in a separate pane (default) or added to main chart, as a standard volume indicator.

    Shapes' meanings:
  • Colored bars represent scenario where maximum possible volume is attributed to Spot transactions (and its corresponding effect on Margin, if any).
  • Histograms (thin bars) represent scenario where maximum possible volume is attributed to Margin transactions (and its corresponding effect on Spot, if any).
  • When volume information leaves room for ambiguity, there will be a mismatch between maximums and minimums. Truth will be somewhere in the middle.
  • By default, Spot and Margin volumes are stacked up, as in traditional volume bar style.This can be disabled in Options - in which case Margin volumes are presented below zero line (this can facilitate some readings; see notes).
  • Standard volume for current chart's pair is presented in light gray, in the background. It helps seeing realtime volume and any surplus volume in relation to Bitfinex's.

    Colors:
  • By default, Spot volume bars are colored in blue, but you can choose to use price closes to define them instead - as in traditional volume indicators.
  • You can also choose to invert Spot and Margin colors, so that Spot volumes are presented in higher contrast.
  • Margin volumes are, by default, colored based on whether Longs or Shorts were more relevant.

    Direction attribution:
  • Default ratio threshold to define above-mentioned relevance is 1.1 (10%). (eg.: if Longs were greater than Shorts, Longs' volume must be at least 10% grater than Shorts' for direction of movement to be attributed to Longs). Direction then is defined based on winning side, plus whether openings or closings were dominant.
  • Threshold be configured from 1.01 to N. If ratio is below threshold, direction is considered neutral (yellow/orange colors).
  • Based on this assessment, label signals are presented at top area of chart, indicating whether opening(+) or closing(-) Longs or Shorts were the major responsibles for the move.
  • By default, to avoid much cluttering, labels are presented only for greater-than-average (ema 17) margin volumes. This can also be customized in Options.

    Claim transactions:
  • Claim transactions are margin positions closed with traders' own existing assets being handed in to lenders. Thus, they do not impact order books -- and volume -- when executed.
  • Still, they are an additional, potentially valuable source of information, and the indicator is able to detect and report them.
  • Green triangle-like area shapes represent Longs closed with Claim transaction(s). Likewise, similar red shapes represent Shorts closed with Claim transactions.
  • This topic is explained in greater detail in this Bitfinex article.

    Notes:
    When using stacked up visualization, values in data window do not correspond to actual margin volumes. To see actual values, change to non-stacked up mode, and ignore negative sign.
    The lower the time frame, the more precise it gets.

    To request access, please send me a direct message.

    For questions and feedbacks, please share them in comments section below.

    Thank you, and best of success on your trades.
הערות שחרור:
V. 1.0.1

  • Sample usage insights:
  • Alternate Spot and Margin Colors fixed to come disabled by default (original intended behavior).
הערות שחרור:
V. 1.1

New features:

  • Automatic detection of corresponding margin-enabled pair for many crypto Derivatives (eg. shows BTCUSD volume for XBTUSD charts). List to be updated regularly (suggestions are welcome!)
  • Allows selecting a custom pair for seeing margin-enabled volume, independently of chart's pair.
  • Display / hide margin-enabled pair real time volume bar (preliminary volume info).
  • Display / hide chart's pair standard volume. Allows seeing any bar-to-bar surplus from a non-Bitfinex or different, custom pair. Please note that very large volumes (eg. highly leveraged XBTUSD) may compromise comparability / viewability, even if volume conversion is enabled (see below). For this reason, this feature is 'off' by default.
  • Convert chart's pair volume to matched or custom pair basis (eg. shows BitMEX's XBTCUSD volume in BTC, using Bitfinex's price close for the bar). Useful to enhance comparability / viewability. Effective if 'Display chart's pair volume' setting is on).
  • Other minor improvements on settings page.

A special thanks to yatrader2 for helping out with some Pine Script for this release.

Hope you all enjoy the update!

And Happy New Year!
הערות שחרור:


  • Fix on 'Custom' pair feature.
  • Enhanced presentation chart.

Price Finder Indicator Quick Start: bit.ly/phinktrade_pricefinder_qs2
Telegram Channel: bit.ly/phinktrade_tc
Twitter: bit.ly/phinktrade_tw
סקריפט להזמנה בלבד

הגישה לסקריפט זה מוגבלת למשתמשים שהוסמכו על ידי הכותב ובדרך כלל דורשת תשלום. אתה יכול להוסיף אותו למועדפים שלך, אך תוכל להשתמש בו רק לאחר שתבקש אישור ותקבל אותו מהמחבר שלו. צור קשר עם PhinkTrade לקבלת מידע נוסף, או עקוב אחר הוראות המחבר בהמשך.

TradingView אינה מציעה לשלם עבור סקריפט ולהשתמש בו עד ש- 100 % אתה סומך על המחבר שלו ומבין איך עובד הסקריפט. במקרים רבים ניתן למצוא למצוא חלופה טובה עם קוד פתוח בחינם ב בסקריפטי הקהילה שלנו.

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

רוצה להשתמש בסקריפ זה בגרף?

אזהרה: אנא קרא את לפני שתבקש גישה.