Average Dollars Traded Liquidity Indicator

Daily WRLS chart with the Avg$Traded indicator: 10-day average dollars traded in white turning red below the minimum, 50-day average in cyan
Average Dollars Traded Indicator for Charts

Many traders measure liquidity as the number of shares traded each day. However, since a trader generally knows his anticipated position size expressed in dollars, it is more convenient to express liquidity in terms of the number of dollars of stock traded daily. In this way, the trader avoids having to calculate the number of shares to represent his position size when assessing if liquidity is adequate. The liquidity indicator does the calculation for you, and saves the trader some work.

Usually adequate liquidity can be defined as some fixed multiple of the trader's position size, in dollars. Since each stock has a different price, in order to determine what percentage of the daily trade in a stock your intended position size will be, the price of the stock has to be multiplied by the number of shares to obtain the total number of dollars traded each day.

For example, suppose the anticipated position size is $5,000 and a trader feels adequate liquidity is considered present when a stock trades at least 100 times the anticipated position size. A stock with adequate liquidity will then have at least $5,000 x 100 = $500,000 traded each day.

The formula for Total Dollars Traded Daily is:

Total $ Traded Daily = Price x Shares Traded Daily

The Avg$Traded indicator shown below plots the Average Dollars Traded for the stock WRLS using a short moving average (10 days) in white, and a longer moving average (50 days) in cyan. The results are expressed in millions of dollars to reduce the number of zeros displayed.

Daily WRLS chart with the Avg$Traded indicator: 10-day average dollars traded in white turning red below the minimum, 50-day average in cyan
Fig. 1. Average Dollars Traded Indicator for Charts

In this example, a minimum liquidity of $500,000 has been specified. It can be seen that the 10 day Average Dollars Traded of 0.39 million = $390,000 is below the desired minimum. The indicator dropped below the specified minimum of $500,000 average dollars traded approximately 7 days ago, as indicated by the change in color of the 10 day moving average plot from white to red.

Avg$Traded Input Parameters

Length1 and Length2 are the short and long period lengths for averaging the daily volume.

Min$ is the minimum average dollars traded daily that defines the minimum acceptable liquidity.

Color1 and Color2 are the colors of the short and long period average daily volume plots.

RatioColor is the color of the ratio of the short to long moving average of dollars traded. This is valuable in identifying sudden increases in the short term dollars traded relative to the long term.

DollarsTradedColor is the color of the histogram of dollars traded per bar.

RatioAlertValue is the ratio of short to long average trading dollars that will trigger an alert and cause the plotted $Ratio variable to turn to the color RatioAlertColor.

Low$Color is the color the plot changes to when liquidity drops below the minimum acceptable liquidity, Min$.

RatioAlertColor is the color of the $Ratio plot when the ratio exceeds RatioAlertValue.

ShowAvg$Traded: if True, the indicator plots the average dollars traded.

Show$Traded: if True, the indicator plots the dollars traded on each bar.

ShowRatio: if True, the indicator plots the ratio of the short to long average dollars traded.

PlotWidth is the width of the plotted lines.

Ref is a reference value to plot on the chart (plotted only if non-zero; for a zero line, enter a number very close to zero, such as 0.00001).

Format Indicator dialog showing the Avg$Traded input parameters
Fig. 2. Avg$Traded Input Parameters

Average Dollars Traded Indicator for RadarScreen (Avg$Traded.RS)

While the above indicator, Avg$Traded, has been designed for charts and the scanner, a second version of the indicator, Avg$Traded.RS, has been specifically designed for RadarScreen and is shown below.

Note that in this version, the input parameters Length1 and Length2 defining the length of the fast and slow moving average dollars traded daily are displayed in the indicator as a reminder to the user what input settings are being used. The 10 day fast moving average, Avg$1, and the 50 day slow moving average, Avg$2, of the dollars traded daily are both reported.

When the Average Dollars Traded falls below some user specified value (in this case, $500,000) the value is highlighted with a red background, making stocks with inadequate liquidity easy to identify.

In addition, the $Ratio of the fast to slow average is also reported. This aids in identifying stocks that have had a recent increase in trading activity in the past few days. When this ratio is greater than some number specified by the user (default = 2), the ratio becomes highlighted with a yellow background, making the stocks with high recent activity easy to identify.

RadarScreen with Avg$Traded.RS columns Len 1, Avg $1, Len 2, Avg $2 and $Ratio, low liquidity in red and high ratio in yellow
Fig. 3. Avg$Traded.RS in RadarScreen

Avg$Traded.RS Input Parameters

Length1 and Length2 are the short and long period lengths for averaging the daily volume.

Min$ is the minimum average dollars traded daily that defines the minimum acceptable liquidity.

Color1 and Color2 are the colors of the short and long period average daily volume plots.

Low$Color is the color the plot changes to when liquidity drops below the minimum acceptable liquidity, Min$.

RatioAlert is the ratio of the short average volume to the long average volume that causes the background color of the displayed ratio to become highlighted in the color specified by RatioAlertColor. This alerts the trader to stocks displaying a sudden increase in trading activity.

LengthColor is the color used to display the number of days in the short and long average dollars traded per day. It allows the trader to easily distinguish the input values from the output values of the indicator.

Format Indicator dialog showing the Avg$Traded.RS input parameters
Fig. 4. Avg$Traded.RS Input Parameters

Scanning the Universe of Stocks for Liquidity

Indicator Avg$Traded can be used in a scan to find all the liquid stocks (NYSE, AMEX, NASDAQ) and ETFs (ARCX) in the universe of stocks. The scan format setup below includes approximately 7304 symbols in the scan.

Format Scan dialog, Symbol Universe tab with AMEX, NYSE, NASDAQ and All ARCX included
Fig. 5. Formatting Liquidity Scan Symbol Universe

To perform a liquidity scan on the entire universe of stocks, the scan criteria are set up using the Avg$Traded indicator, and the results are saved as a custom symbol list:

Format Scan dialog, Results tab saving a custom symbol list named Liquidity
Fig. 6. Formatting Scan Results Section

This scan can be run about once per week. Its main use is to serve as input to other, more computationally demanding scans that are run more frequently than weekly to find suitable stocks to trade. By prescreening stocks to find only adequately liquid stocks, the more complicated scans run much faster and can be updated more frequently, including intraday if desired.

Downloads

Initially posted version: 01/30/11

Latest Update: 01/30/11

*.ELD files are compiled for TS 9.0

Users of earlier versions of TradeStation may compile the code from the text files included in the above *.zip file.

The code may be visualized here:

Related Posts

Was this helpful? Rate it: