• Get $40 off VIP by signing up for a free account! Sign Up

Help scanning for 5 minute candle volume higher than opening 5 minute candle volume


New member
Looking for a little help on probably a simple matter for the masters out there. I'm trying to do what the title says, which is do a couple scans in the opening 30 minutes or so for stocks that have a higher volume on a 5 minute candle than the volume of the 9:30-9:35 candle. Here is an Example Chart.

So far, I have been using the scan below and I adjust the offset we move onto the next 5 minute candle. So at 9:39, I run the scan with an offset of 1 and at 9:44 I run the scan with an offset of 2.

Can someone point me in the right direction to just create a scan where I'm looking for any of the past few 5 minute candles that have greater volume than the opening?
Thanks for any help!
Just bumping this up since it's evening now and everyone might not be watching the markets!
Thanks for any help!

No need bumping and it's frowned upon in most forums... When those who can help stop by they will chime in and most of us frequent supporting members read virtually every post so yours won't slip through the cracks... I've already read your posts several times today... Time constraints aren't my forte' so hold out and someone will help...
@beachbum Didn't include agg in the script since that's a setting you can change during the scan.
def vol5 = if secondsFromTime(0930) == 0 then volume else vol5[1];

plot scan = volume > vol5;

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