TradingView
Snufkin420TC
Jun 27, 2022 8:14 PM

Daily Short Volume Ratio 

Microsoft CorporationNASDAQ

描述

The short volume ratio is the number of shares sold short divided by the average daily volume and is used to indicate sentiment. In its most basic form, short volume ratio above 0.5 indicates more folks are shorting the stock while a short volume ratio below 0.5 indicates more folks are buying the stock. Short volume and total volume data is collected daily from FINRA for the NYSE and the NASDAQ exchange and represents lit markets. Daily short and total volume is calculated after the exchanges close so will lag by a day on the chart.

This indicator displays the short volume ratio for the last 1, 2, 3, 4, and 5 days and includes a smoothing function (def: off) to better visualize trends.

The indicator also includes the ability to view the short volume ratio for the last day for a reference ticker (def: SPY) to compare with total market sentiment.

Thanks to those before me for providing ideas and code.

版本注释

Updated range to go all the way from 0-1. Added option to view multiple reference tickers if desired.
评论
capguy
Awesome, thanks!
moneybycode
What is "tv_ticker", the index=2 (and why it's not initialize with 0.0)?
Thank you!
更多