OPEN-SOURCE SCRIPT

Leveraged Share Volume

Mis à jour
Hello everyone,

Did this quick reference indicator and figured I would share it as nothing like it exists that I could find.

What this does is it pulls leveraged share data and displays the bull share and bear share volume.
There are 5 pre-programmed shares. These include:

SPY
Pulls bull share data from: SPXL and UPRO
Pulls bear share data from: SPXU and SPXS

IWM
Pulls bull share data from: TNA
Pulls bear share data from: TZA

DIA
Pulls bull share data from: UDOW
Pulls bear share data from: SDOW

QQQ
Pulls bull share data from: TQQQ
Pulls bear share data from: SQQQ

XLE
Pulls bull share data from: ERX
Pulls bear share data from: ERY

As there continues to be more leveraged shares available (for example, AAPU, APPD, MSFT, TSLA, etc.) there is also the option to use these manual tickers as these shares become available. The image below shows the data input screen:

snapshot

The indicator will default to show the data as a ratio. The ratio is calculated by the total bear shares over the total bull shares (sell to buy ratio). If you unselect the Ratio option (displayed in the image above), it will show the raw volume.
When data is displayed as a ratio, you will see the white SMA line. This will show you the average ratio over a 14 period lookback. This is customizeable under the SMA Length input (shown in the image above).

Indicator's purpose:

The aim of the indicator is to provide context as to where the current sentiment is. Its similar in concept to a put to call ratio. The idea is, the more bearish people are, the more inverse shares are being bought, the higher the ratio or raw volume for bear shares and vice versa for bullish situations.

If you would like some more contextual information about the powers of tracking this type of data for trading purposes, you can check out this idea I published about the relationship between leveraged shares and market sentiment/behaviour:

The Neglected Power of Leveraged Share Volume



Otherwise, the indicator is pretty straight forward!
Its not meant to be anything but a reference indicator to help give you context of the current market positioning.

If you have any questions or suggestions, please feel free to leave them below.

Thank you for reading and checking out the indicator!

Safe trades everyone!
Notes de version
Quick update.

I added BTC volume.
Bull data pulled from BITO.
Bear data pulled from BITI.
Notes de version
Another little update;

I included a data table that can be toggled on and off. The table will show the breakdown of bull shares and bear shares being bought in a percent:

snapshot

Enjoy!
Notes de version
Made a bunch of adjustments and improvements. These include:

1. Putting the Raw Volume vs Ratio Volume into a string select for ease of use
2. Enabling the SMA controls to be toggled on and off
3. Permitting an SMA to be plotted of Raw volume
4. Titles for the various tickers; and
5. A correlation assessment of leveraged volume to close price of ticker.
leveragedsharesVolume

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?


For real-time updates and premium indicators, consider joining my group at: patreon.com/steversteves
Aussi sur:

Clause de non-responsabilité