StockFetcher Forums · General Discussion · Bollinger Band Squeeze with an Expansion on the current day.<< >>Post Follow-up
kraalarw
18 posts
msg #156070
Ignore kraalarw
3/9/2021 8:56:28 AM

I'm needing some help writing code for a particular Bollinger Band Squeeze with an Expansion on the current day. Wanting the Upper Band to be decreasing, and the Lower Band to be increasing......for say the past (5) days. Then on the current day (at the close of market) the Upper Band needs to be Higher than the previous day, and the Lower Band needs to be Lower than the previous day. Any assistance with the code for this will be greatly appreciated. Here is the code I've been working on:

count(upper bollinger band(8) 1 day ago < upper bollinger band(8) 2 days ago) equals 5
count(lower bollinger band(8) 1 day ago > lower bollinger band(8) 2 days ago) equals 5
and (upper bollinger band(8) today > (upper bollinger band(8) 1 day ago
and (lower bollinger band(8) today < (lower bollinger band(8) 1 day ago
and volume above 50,000
and price above 1
and price is below 20
and chart-time is 3 months
and not ETF

boston
58 posts
msg #156076
Ignore boston
3/9/2021 8:01:35 PM

Fetcher[
upper bollinger band(8) has been decreasing last 5 days lag 1 day
lower bollinger band(8) has been increasing last 5 days lag 1 day
upper bollinger band(8) > upper bollinger band(8) 1 day ago
lower bollinger band(8) < lower bollinger band(8) 1 day ago
and volume above 50,000
and price above 1
and price is below 20
and chart-time is 3 months
and not ETF
]



dwiggains
444 posts
msg #156088
Ignore dwiggains
3/10/2021 10:25:47 AM

Fetcher[
show stocks where Bollinger Width(20) reached a new 6 month low 1 day ago
bollinger width(20) has been increasing for 1 day
and draw Bollinger Band(20)
]



see ya
david

StockFetcher Forums · General Discussion · Bollinger Band Squeeze with an Expansion on the current day.<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2022 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.