SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Strategies & Market Trends : TA-Quotes Plus -- Ignore unavailable to you. Want to Upgrade?


To: Al Greenleaf who wrote (2766)12/29/1997 11:08:00 PM
From: RICHARD LOCKIE  Read Replies (2) | Respond to of 11149
 
Al: Your right. Should be Close(0)>=0.5*Range(0). Thanks for catching this. I looked at it many times and did not spot it.

Let me warn you that Quote Plus EmovAvg has a problem with it. The answer depends upon the number of days being displayed. This means different answers. I think Quote Plus is reviewing the coding. Its suggested that WmovAvg be used.

Richard Lockie



To: Al Greenleaf who wrote (2766)12/31/1997 9:33:00 PM
From: RICHARD LOCKIE  Read Replies (2) | Respond to of 11149
 
Al: Here is my bolinger breakout scan using your idea. It tends to select horizontal bands that are narrowing. It appears to select some interesting stock. Bollinger theory states that stocks are poised for a breakout under this situation. Don't know which direction until it happens.

//detects BB band breakout on high volumn day

Loop(0,-3 ) // back testing
Float W
Exchange= NYSE, AMEX, NASDAQ
Pe>0 //making some money
Marketcap>=100
Close(0)>close(-1) // up day
Close(0)>=0.5*Range(0) // strong day
Close(0)>=5 //use what you want
Close(0)<=50 //use what you want
close(0)<2*Min(0,-260,lo) //stock not over extended
Vol(0)>2*AvgVol(-1,-21) // 2 times 20 day vol
Movavg(-4,20,cl)+(StDev(-4,-19)*2)<Movavg(-5,20,cl)+(StDev(-5,-19)*2)*1.05
Movavg(-3,20,cl)+(StDev(-3,-19)*2)<Movavg(-5,20,cl)+(StDev(-5,-19)*2)*1.05
Movavg(-2,20,cl)+(StDev(-2,-19)*2)<Movavg(-5,20,cl)+(StDev(-5,-19)*2)*1.05
Movavg(-1,20,cl)+(StDev(-1,-19)*2)<Movavg(-5,20,cl)+(StDev(-5,-19)*2)*1.05
W :=MovAvg(0,19,cl)+2*StDev(0,-19) // Stock avg plus 2 st
Close(-2)<=W // below upper bollinger band
Close(0)>W // above upper bollinger band
Println Symbol:-6,Date(0):8,QRS(0):7:2,Pe:7:1," ",Description

Richard Lockie