FuriousThug 256 posts msg #61896 - Ignore FuriousThug |
4/28/2008 4:33:36 PM
Can anyone help a noob figure out what I'm doing wrong here in building a weekly outside reversal filter?
set{body_bottom,min(open,close)}
set{body_top,max(open,close)}
show stocks where body_top above body_top 5 days ago
and body_bottom below body_bottom 5 days ago
and close below open
and open 5 days ago below close 5 days ago
|
chetron 2,817 posts msg #61917 - Ignore chetron |
4/29/2008 8:35:35 AM
clickable...
|
FuriousThug 256 posts msg #61935 - Ignore FuriousThug |
4/29/2008 1:13:11 PM
Thanks. This looks exactly like what I had...I guess what's confounding me is the inclusion of high/low in the filter rather than just open/close. I want the full trading range to be included.
|
maxreturn 745 posts msg #61937 - Ignore maxreturn modified |
4/29/2008 1:54:10 PM
Original post seemed to request a weekly outside bar reversal? If so this may be what you're looking for:
Regards
Max
|
nikoschopen 2,824 posts msg #61940 - Ignore nikoschopen |
4/29/2008 2:45:03 PM
Hello Max,
I just wanna point out that "and weekly close above weekly high 1 week ago" in the third line doesn't necessarily mean there's a reversal. For example, if last week's candle ended the week on the positive, then you would have two consecutive white candles.
You might want to consider the following:
|
maxreturn 745 posts msg #61942 - Ignore maxreturn modified |
4/29/2008 4:00:21 PM
Yes Niko...I thunk about that after I had posted but got busy after that and didn't have the chance to correct before you did. Johnny on the spot!
Quote from Niko:
Hello Max,
I just wanna point out that "and weekly close above weekly high 1 week ago" in the third line doesn't necessarily mean there's a reversal. For example, if last week's candle ended the week on the positive, then you would have two consecutive white candles.
You might want to consider the following:
|
chetron 2,817 posts msg #61947 - Ignore chetron |
4/29/2008 10:15:10 PM
OR SETTLE FOR.....
|
FuriousThug 256 posts msg #61951 - Ignore FuriousThug |
4/30/2008 2:12:39 AM
Thanks, Max and Niko. I've managed to use your suggestions to piece together what I was looking for to build both weekly and daily reversal screens, as well as backtest. Much appreciated.
|