Abnormal Number Of Trades Intraday Indicator/Scanner

justAnotherTrader

Member
VIP
VIP Enthusiast
Just a simple momentum scanner designed to pick up on unusual number of trades inspired by equityfeed. This scanner will scan on the desired time frame for stocks that are 3*the average number of trades in the current bar i.e. 1min etc. I hope you guys like it, I havent found a similar one on this site, so let me know if its a dup.

Code:
declare lower;

def AbnormalTradeMultiplier = 3;
def AvgTradeCountLength = 50;

def TradeCount = tick_count;
def AvgTradeCount = Average(TradeCount, AvgTradeCountLength);
def AbnormalNumberOfTrades = AbnormalTradeMultiplier*AvgTradeCount;
def scan = TradeCount > AbnormalNumberOfTrades;

plot s =scan;

This picture shows where the scan would have picked up NCLH indicated by the oval on the lower indicator and the red arrow on the main chart.

cmPOGz3.png
 
Last edited:

justAnotherTrader

Member
VIP
VIP Enthusiast
@Newton I use it as a scanner, but I adjust everything from the thinkscript editor. So far the way I have gotten the most utility out of it is to set the AvgTradeCount > 100 and set time frame to 5 minutes to get me the most liquid stocks with abnormal trade activity.

A real life example: Yesterday the scanner picked up on AMD at $60 around market open. The stock continued to run all day into after market reaching a peak of somewhere around 62.50

Im still playing with the settings but I believe there is a lot of potential using it in conjunction with another study. If for no other reason than to identify a universe of stocks that are super liquid to get in and out of quickly.

My settings with the 5 minute time frame:
Code:
declare lower;

def AbnormalTradeMultiplier = 3;
def AvgTradeCountLength = 50;

def TradeCount = tick_count;
def AvgTradeCount = Average(TradeCount, AvgTradeCountLength);
def AbnormalNumberOfTrades = AbnormalTradeMultiplier*AvgTradeCount;
def scan = TradeCount > AbnormalNumberOfTrades;


plot s =scan and AvgTradeCount > 100;
 
Last edited:

Adeodatus

Member
Very limited indicator, but it does exactly what its programmed it to do. I like intraday, not so much swingtrade or buy and hold, so I shortened the "def AvgTradeCountLength" to '13', to give it room to look back and still be ahead of any major movement. Works very well! I can get into a bullish run and, along with other indicators, it always provides the first indication of any major move in PPS in the bullish direction. lots of possibilities, maybe someone can code up a center-zero-line, and a distinction of a bearish signal too. Nice work J.A.Trader!

Lower indicator - - - - - -averagetradecountlength = 5, plot > 87

Lower lower indicator - -averagetradecountlength = 17, plot > 25
 
Last edited by a moderator:

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Top