Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/7/2004 Posts: 9
|
when one to see new highs for the year formula is h>=maxh250 yest if i want to see all stocks that have not made a new high for the last 20 days i wrote h<=maxh20 and this did not work what am i doing wrong thanks craig in advance-new high for ms was on the money thank you
|
|
Registered User Joined: 1/28/2005 Posts: 6,049
|
This only tests the last day. You would have to test each day.
H<MAXH20ANDH1<MAXH20.1ANDH2<MAXH20.2 (and so on)
Thanks diceman
|
|
Registered User Joined: 1/1/2005 Posts: 2,645
|
Please note that:
h<=maxh20
does not test anything. It aways returns True.
Thanks, Jim Murphy
|
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
A true NEW 52-week high PCF would be:
H>MAXH249.1
For stocks that DID not make a new 52-week high in the last 20 days try this:
NOT(H>MAXH249.1) AND NOT(H1>MAXH249.2) AND NOT(H2>MAXH249.3) AND NOT(H3>MAXH249.4) AND NOT(H4>MAXH249.5) AND NOT(H5>MAXH249.6) AND NOT(H6>MAXH249.7) AND NOT(H7>MAXH249.8) AND NOT(H8>MAXH249.9) AND NOT(H9>MAXH249.10) AND NOT(H10>MAXH249.11) AND NOT(H11>MAXH249.12) AND NOT(H12>MAXH249.13) AND NOT(H13>MAXH249.14) AND NOT(H14>MAXH249.15) AND NOT(H15>MAXH249.16) AND NOT(H16>MAXH249.17) AND NOT(H17>MAXH249.18) AND NOT(H18>MAXH249.19) AND NOT(H19>MAXH249.20)
- Craig Here to Help!
|
|
Guest-1 |