ham1198 174 posts msg #34926 - Ignore ham1198 |
1/18/2005 1:19:34 PM
SHOW STOCKS WHERE (CLOSING PRICE – LOWER BB VALUE)/CLOSING PRICE < .01
AND TODAY’S 50 DAY MOVING AVERAGE > 50 DAY MA 1 DAY AGO
AND TODAY’S 50 DAY MOVING AVERAGE > 50 DAY MA 5 DAY AGO
AND 50 DAY MA 5 DAYS AGO > 50 DAY MA 10 DAYS AGO
AND 50 DAY MA 10 DAYS AGO > 50 DAY MA 15 DAYS AGO
AND 50 DAY MA 15 DAYS AGO > 50 DAY MA 20 DAYS AGO
AND CLOSING PRICE IS > 40
AND 50 DAY AVERAGE VOLUME > 100,000
AND (UPPER BB LINE - LOWER BB LINE)/CLOSING PRICE > .05
Am I doing something wrog? Any help is greatly appreciated
|
yepher 359 posts msg #34935 - Ignore yepher |
1/18/2005 10:57:16 PM
ham1198,
I am interested in knowing how you came up with the filter you posted...
Sorry to say, the filter you posted is not quite correct. Below is an example of one way you could code the filter you posted so SF can understand it. Interestingly SF syntax checker did not complain at all !?!
|
ham1198 174 posts msg #34936 - Ignore ham1198 |
1/19/2005 10:04:52 AM
yepher:
Thanks for your reply. I had a feeling I was way off base. Where this came from was I was cleaning out my office and came upon an old article from 8/99 on "How to Develope a Trading System". Tp put it in a nutshell, the article wanted to make trades with the general prevailing trend. Trades were to be made for retracements during the trend. Lastly, downside risk was to be fairly low and would create not too many or too fews opportunities.
What I posted was what the author's ideas to put into a software program. He wanted to go long a stock in an uptrend when it was at/or near its lower Bollinger Band. He wanted the distance between the two BB to be equivalent to at least 5% of the share price. This kept you from being in slow, non-volatile stocks and it ensured the reward to risk ratio make it worth the effort.
Thanks again for your help. Your program pulled up 12 stocks this morning. Let's see how they do (ALV,CBH,CDWC,CRAI,DCX,FRE,GSK,NTLI,PRX,RDN,STT,UN)
|
kgriffen 49 posts msg #34939 - Ignore kgriffen |
1/20/2005 1:35:12 AM
Interesting filter. All the stocks look like they are ready to roll over to the downside. Time to short?
|
kgriffen 49 posts msg #34940 - Ignore kgriffen |
1/20/2005 1:38:02 AM
. . . almost forgot, SF will accept:
|
knowsenough 54 posts msg #34943 - Ignore knowsenough |
1/21/2005 9:17:28 AM
OT: But, do you ever notice that SF limits don't matter?
I have some screens that although beyond SF's limits on indicator/s per say when debugged, do not produce the wanted results when corrected. So I just ignore the error flags. FWIW
|
SurfnDestiny 78 posts msg #34989 - Ignore SurfnDestiny |
1/26/2005 11:21:57 PM
I`ve been messing with your B2 signal. I changed the B1 set command to the upper bollinger. Every match has the price touching the upper bollinger band though. Would the command: set{b1, close - upper bollinger(20)} cause all matches to touch the upper bollinger band. I would think that this only sets up the variable "b1". The B2 signal looks to have potential as an entry point signal. I`m having trouble with SF detecting the deep V shaped troughs though.
When the b2 signal rapidly falls, a one day rise afterwards seems to be a pretty reliable entry point signal. But, everything returned only has the price on the upper bollinger.
|
SurfnDestiny 78 posts msg #34990 - Ignore SurfnDestiny |
1/26/2005 11:33:08 PM
This one catches the V shape a little better. The steeper the walls of the V shape the better. Still, the price is stuck on the upper bollinger band though.
|