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.
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.
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;