wkloss 231 posts msg #88373 - Ignore wkloss |
2/18/2010 2:57:11 PM
I am trying to write a filter where the stock crossed above and closed above the Upper Acceleration Band(20) yesterday and closed above the Upper Acceleration Band(20) today and add column beta(Beta) and add column ATR(ATR) and stock is optionable. When I debug,I keep getting told that my days are incorrect. Here's what I have so far:
Show stocks where close 2 days ago crossed above the Upper Acceleration Band(20) 2 days ago
and close has been above Upper Acceleration Band(20) for the last 2 days
and stock is optionable
and column ATR(ATR) and add column beta(Beta)
The concept is a breakout above the Upper Acceleration Band(20) which is confirmed by closing above the Band the day of the breakout and further confirmed by closing above the Band the next day. The next day confirmation does not have to be higher than the day of the breakout.
Thanks.
|
chetron 2,817 posts msg #88374 - Ignore chetron |
2/18/2010 3:04:13 PM
TRY THIS
|
chetron 2,817 posts msg #88377 - Ignore chetron |
2/18/2010 5:53:01 PM
actually, what's wrong with your filter is not the days, but that you used ( ) instead of { } for renaming your columns AND FORGOT THE ADD FOR COLUMN...
|
wkloss 231 posts msg #88388 - Ignore wkloss |
2/18/2010 8:25:29 PM
That made it work.
Things like this take me forever to figure out.
Thanks.
|