OPEN-SOURCE SCRIPT
已更新 Leveraged Share Volume

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:

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:

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!
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:
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:

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!
發行說明
Quick update.I added BTC volume.
Bull data pulled from BITO.
Bear data pulled from BITI.
發行說明
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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
Easter sale starts April 18th for 50% off!
Get:
- Live Updates,
- Discord access,
- Access to my Proprietary Merlin Software,
- Access to premium indicators,
patreon.com/steversteves
Get:
- Live Updates,
- Discord access,
- Access to my Proprietary Merlin Software,
- Access to premium indicators,
patreon.com/steversteves
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
Easter sale starts April 18th for 50% off!
Get:
- Live Updates,
- Discord access,
- Access to my Proprietary Merlin Software,
- Access to premium indicators,
patreon.com/steversteves
Get:
- Live Updates,
- Discord access,
- Access to my Proprietary Merlin Software,
- Access to premium indicators,
patreon.com/steversteves
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。