Registered User Joined: 4/27/2006 Posts: 29
|
Hi i need help to create 2 scans to scan for stocks:
1. Stocks making a new 5 day high for the 1st time on the 1st day and also the stocks should not have new 5 day high during the previous 5 days.
( I am looking for stocks with fresh 1st day 5day highs over a period of 5 days with no prior 5day highs)
2. Stocks making a new 5 day low for the 1st time on the 1st day and also the stocks should not have new 5 day low during the previous 5 days
kindly help
thanks
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
A Condition Formula which checks for a new 5-period high during the current bar without there being an 5-period highs during the previous 5 bars can be written as:
H > MAXH4.1 AND H1 <= MAXH4.2 AND H2 <= MAXH4.3 AND H3 <= MAXH4.4 AND H4 <= MAXH4.5 AND H5 <= MAXH4.6
A Condition Formula which checks for a new 5-period low during the current bar without there being an 5-period lows during the previous 5 bars can be written as:
L < MINL4.1 AND L1 >= MINL4.2 AND L2 >= MINL4.3 AND L3 >= MINL4.4 AND L4 >= MINL4.5 AND L5 >= MINL4.6
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 4/27/2006 Posts: 29
|
THANKS BRUCE!
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|