Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

new highs what am i doing wrong Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
cjcave
Posted : Sunday, November 5, 2006 1:05:38 PM
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
diceman
Posted : Sunday, November 5, 2006 1:48:52 PM
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
bustermu
Posted : Sunday, November 5, 2006 3:00:12 PM
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

Craig_S
Posted : Sunday, November 5, 2006 10:16:40 PM


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!
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.