Registered User Joined: 12/30/2005 Posts: 6
|
I want a pcf to find stocks with bollinger band(20, 2std) spreads over .35 in the past 20 days, and the lower bollinger band( 20, 2std) above the 50day moving average.
Thanks to Bruce L, I understand the formula for BB, But can I build a simple equation for past BB conditions?
((BB.20(UPPER) - BB.20(LOWER))/BB.20(UPPER))>.35 OR ((BB.19(UPPER) - BB.19(LOWER))/BB.19(UPPER))>.35 OR ((BB.18(UPPER) - BB.18(LOWER))/BB.18(UPPER))>.35 OR ... ((BB.1(UPPER) - BB.1(LOWER))/BB.1(UPPER))>.35 AND BB(UPPER)> AVGC50
Am I on the right track, or is there a simpler way. No need to write out the bollinger band equation.
casey
|

 Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
You have the right idea (once you replace the BB with the actual bollinger formulas). Your $0.35 requirement is really as much a scan for the price per share of the stock than anything dealing with the bands.
You may also find this interesting: Finding Expanding or Contracting Bollinger Bands
- Craig Here to Help!
|