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

What is aggregation period for a scanner?


Active member
Hi guys/gals, quick question for ya, when you make a scanner in TOS what does aggregation period mean? I am learning to daytrade so I keep an eye on both 1min and 5min charts, so having an aggregation period of Day is not a good idea right? but I am not 100% sure...


Thank you,
Last edited by a moderator:
If you want to scan for something on the Daily chart, you will select D as your timeframe. If you're going to scan on the 5m chart, you will change the aggregation period to 5m.

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

@BenTen sorry to bother you again abt this but let’s say I set aggregation to 1 min, does the scanner automatically scan every minute? Or is it constantly scanning for the specified criteria on 1min chart?
@BenTen sorry to bother you again abt this but let’s say I set aggregation to 1 min, does the scanner automatically scan every minute? Or is it constantly scanning for the specified criteria on 1min chart?
It breaks historical data up into slices/baskets the size of the Aggregation Period selected... So 1M equates to a one minute basket of data... 5m would aggregate five minutes worth of data... See HERE for more...
@rad14733, thank you for the info. So here is my issue:
I am using Simple scanning condition, and the condition is when SMA 9 crosses above SMA 18. I have aggregation set to 1min with include extended hour trading session in scanning window.

issue: I have alerts set to notify me when a ticker pops into this scanner's results however, I am not getting results as quickly as I should be. Between 9:30am to 1PM I have gotten only two notifications. That does not seem right because I had other tickers I was watching that had SMA 9 and 18 cross.

so what am I missing? why am I not getting results as often as I should?

Thank you, hope I explained my problem well.
Ok I'm still having trouble with this. So if I wanted to scan for the 50sma crossing the 200sma. How would that be written out? I would want to use the 1yr chart with the 2d chart secondary aggregation. Maybe another way to do it...

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
311 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.