StockFetcher Forums · Filter Exchange · Need Help Please<< >>Post Follow-up
wkloss
230 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...

Fetcher[
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 ADD column ATR{ATR} and add column beta{Beta}

]



wkloss
230 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.

StockFetcher Forums · Filter Exchange · Need Help Please<< >>Post Follow-up

*** Disclaimer *** StockFetcher.com does not endorse or suggest any of the securities which are returned in any of the searches or filters. They are provided purely for informational and research purposes. StockFetcher.com does not recommend particular securities. StockFetcher.com, Vestyl Software, L.L.C. and involved content providers shall not be liable for any errors or delays in the content, or for any actions taken based on the content.


Copyright 2016 - Vestyl Software L.L.C.Terms of Service | License | Questions or comments? Contact Us
EOD Data sources: DDFPlus & CSI Data Quotes delayed during active market hours. Delay times are at least 15 mins for NASDAQ, 20 mins for NYSE and Amex. Delayed intraday data provided by DDFPlus