edlsantos 7 posts msg #85484 - Ignore edlsantos |
1/4/2010 12:09:55 AM
I am trying to use the OR but it does not work - please Help:
set{A, count(Show stocks where high reached a new 11 week high apply to watchlist(WLSPY), 1)}
set{B, count(Show stocks where high reached a new 11 week high apply to watchlist(WLSH), 1)}
set{OR1, A + B} show stocks where OR1 equal 1
I want to buy when the SPY is in an 11 week high or when the SH (reverse SPY etf is in an 11 week high,
buy it does not work.
watchlist(WLSPY) contains SPY
and
watchlist(WLSH) contains SH
|
chetron 2,817 posts msg #85489 - Ignore chetron modified |
1/4/2010 6:46:32 AM
do not use common words, such as "a", as a variable. sf gets confused easily....
oops, betterer....
|
edlsantos 7 posts msg #85503 - Ignore edlsantos |
1/4/2010 10:56:28 AM
Thank you Chetron
|