How to scan BollingerBands daily trend?


New member
I want to scan stock that has their BollingerBands gap is going to wider than previous day.
In other word, if BollingerBands UpperBand is going to higher than previous day value at the same time LowerBand is going to lower than previous day value that represents BollingerBands gap is stretching from previous day.
Since it is daly basis scan, actual value comparison should be the day before yesterday's result and yesterday's result.
Value itself is really not important but direction of change is the matter for representing trend.

Please teach me if we can create scan script based on comparison same parameter but different time duration such as 2 days ago compared to 1 days ago.
Can we scen such value changes over time duration?

Thank you !!
To filter on yesterday and day before yesterday, use the offset box highlighted below

You can upload this scan.
Shared Scan Link: Click here for --> Easiest way to load shared links

Read more here:

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

MerryDay, thank you very much for your reply.

For having solid trend of BollingerBands gap expansion, I created 2 sets of rules (offset 0 & 1, and offset 1 & 2) on both UpperBand and Lowerband. Could be 3 sets but will see which could be optimal.

Although I am one of armatures for creating scan rules, this made me eyes wide open how robust TOS platform is.
Thank you again for your guidance that I can save much time on this.

I have related question you may have answer for it.
In order to identify steep gap expansion between UpperBands and LowerBands over time (say compared to 2 days ago and yesterday), is there any way for setting scan parameter for catching gap ratio increasing?
For example, when we refer gap between UpperBands and LowerBands on 2 days ago and yesterday (1 day ago), can we scan stock which has more than 50% gap increasing (or any expansion ratio at least steep enough) ?

This scan is not compared indicator value directly but calculated value (gap between UpperBands value - LowerBands value).
Does TOS may offer that we can create such customized scan ?

Thank you very much in advance.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

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