Scan for Last Hour High Performers

StrawberryFields

New member
I'm looking for a scan that will look for stocks that have been relatively flat for the day, but then in the last hour or two of trading, make a significant rise.

Can anyone point me to a scan that will do this?
 
I'm looking for a scan that will look for stocks that have been relatively flat for the day, but then in the last hour or two of trading, make a significant rise.

Can anyone point me to a scan that will do this?
@StrawberryFields below is what works well with me after hours. You can just change the 1600 and 2000 two hours earlier or what works for you and add it as a study filter. The additional filters on Price change will help. Good luck! cabe1332

Code:
# scan script looks for Volume = 250K+ afterhours
def PostMkt = SecondsFromTime(1600) >= 0 and SecondsTillTime(2000) >= 0;
def PostVolMins = if PostMkt and !PostMkt[1] then volume
                else if PostMkt then PostVolMins[1] + volume
                else PostVolMins[1];
plot data = PostVolMins >250000;

P5GZKe8.png
 
Last edited:
Thanks for the reply, that sounds like what I'm looking for. When I enter that code, I get an error saying "at least one plot should be defined".
ToxBN2E.jpg


Can you see what I'm doing wrong here?
 
@StrawberryFields As another alternative, have you ever researched the TTM_Squeeze, or it's variants, by chance...??? It's primary purpose is to help identify "flat spots", otherwise known as "consolidation", as well as the momentum and direction on exit from consolidation... The "Squeeze", not to be confused with the "short squeeze" that was the craze in recent weeks, has become quite popular here in the forums as well as in the Discord Channel... I had experimented with it several times in the past but only recently have focused more on it for momentum and use it extensively now in my trading system... I use it more for momentum than the actual squeeze itself... Food for thought... 💡
 

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
202 Online
Create Post

Similar threads

Similar threads

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.
Back
Top