Worden Discussion Forum
Customer Training & Support
Ask a Trainer - TC2000 version 7
Stocks that are trending lower
Please write a PCF with stocks over $20 a share that are trading lower 5 days in a row and all 5 days are below the 65 Simple Moving Average. Thanks
C > 20 AND C < AVGC65 AND C < C1 AND C1 < C2 AND C2 < C3 AND C3 < C4 AND C4 < C5
I may not be necessary, but I would probably manually check for each day being below the moving average instead of just checking the last day.
C > 20 AND C < C1 AND C1 < C2 AND C2 < C3 AND C3 < C4 AND C4 < C5 AND C < AVGC65 AND C1 < AVGC65.1 AND C2 < AVGC65.2 AND C3 < AVGC65.3 AND C4 < AVGC65.4