Registered User Joined: 5/12/2005 Posts: 19
|
A two part topic:
Part 1. Currently I have a pcf for a weekly (5 days)hammer which is as follows:
(((MAXH5 - MINL5) > 3 * (O4 - C)) AND ((C - MINL5) / (.001 + MAXH5 - MINL5) > 0.6) AND ((O4 - MINL5) / (.001 + MAXH5 - MINL5) > 0.6))
My goal is to create a scan for Weekly Hammers on a major moving average starting with the 50sma and the 200sma, but I'm not sure how to write a pcf for the weekly price at or near the 50sma. I currently use the below pcf on a daily basis to find stocks near the 50 which I put in a column for sorting, but need help in writing the pcf a weekly (5 day) basis. Here's what I have for the daily, but again need help in getting one for a weekly (5 day):
C / AVGC20 * 100
Part 2. Also want to use a weekly (5 days) Bullish Engulfing and a Bearish Engulfing scan. I have the standard pcf for the daily patterns, but need your help for the weekly candle patterns.
Current Daily pcfs I use are:
Daily Bullish Engulfing:
((O1 > C1) AND (C > O) AND (C >= O1) AND (C1 >= O) AND ((C - O) > (O1 - C1))) AND ABS(O1 - C1) > (H1 - L1) * 0.05 AND STOC12.3 < 35
Daily Bearish Engulfing:
C1 > O1 AND O > C AND O >= C1 AND C < O1 AND O - C > C1 - O1 AND STOC12.2 > 75 AND ABS(O1 - C1) > (H1 - L1) * 0.05
Thank you in advance for your help with the above. Will be much appreciated!
JRFitz
|