Bollinger Band Scan - QPR1
Well, now that I've had three weeks to work on it, I have found a scan for Bollinger bands that either narrow or stay about the same, then suddenly open. I welcome comments from all on fine tuning this. I have left out all tweaks regarding positive PE, rising qrs, etc. Here we go: (These fit on one line in the scan)
Allgroup
//Defining a band, (or a 1/2 band in this case) as ema20 of close, //plus twice StDev for that day. Starting with 6 days ago, each //day's bandwidth is less than the six day ago band times 1.05 (to //allow for some fluctuation) for four consecutive days. Todays' //bandwidth is suddenly greater than 1.1 times than 6 day ago band //width
emovavg(-4,20,cl)+(StDev(-4,-19)*2)<emovavg(-5,20,cl)+(StDev(-5,-19)*2)*1.05 emovavg(-3,20,cl)+(StDev(-3,-19)*2)<emovavg(-5,20,cl)+(StDev(-5,-19)*2)*1.05 emovavg(-2,20,cl)+(StDev(-2,-19)*2)<emovavg(-5,20,cl)+(StDev(-5,-19)*2)*1.05 emovavg(-1,20,cl)+(StDev(-1,-19)*2)<emovavg(-5,20,cl)+(StDev(-5,-19)*2)*1.05 emovavg(0,20,cl)+(StDev(0,-19)*2)>emovavg(-5,20,cl)+(StDev(-5,-19)*2)*1.1
This seems to worked well for 12/26 data. Good luck.
-Al Greenleaf |