Registered User Joined: 3/29/2006 Posts: 5
|
Hello
How can I write a PCF where my Stochastics of 14.3 is positice for 5 days in a row?
Thank You
Steve
|
Worden Trainer
Joined: 10/1/2004 Posts: 18,819
|
Start by watching this video to me
How to create a Personal Criteria Forumula (PCF)
This PCF will return the number of days in a row that STOC was up from today back ten days.
Count of up in a row
ABS(STOC14.3>STOC14.3.1)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2 AND STOC14.3.2>STOC14.3.3)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2 AND STOC14.3.2>STOC14.3.3 AND STOC14.3.3>STOC14.3.4)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2 AND STOC14.3.2>STOC14.3.3 AND STOC14.3.3>STOC14.3.4 AND STOC14.3.4>STOC14.3.5)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2 AND STOC14.3.2>STOC14.3.3 AND STOC14.3.3>STOC14.3.4 AND STOC14.3.4>STOC14.3.5 AND STOC14.3.5>STOC14.3.6)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2 AND STOC14.3.2>STOC14.3.3 AND STOC14.3.3>STOC14.3.4 AND STOC14.3.4>STOC14.3.5 AND STOC14.3.5>STOC14.3.6 AND STOC14.3.6>STOC14.3.7)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2 AND STOC14.3.2>STOC14.3.3 AND STOC14.3.3>STOC14.3.4 AND STOC14.3.4>STOC14.3.5 AND STOC14.3.5>STOC14.3.6 AND STOC14.3.6>STOC14.3.7 AND STOC14.3.7>STOC14.3.8)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2 AND STOC14.3.2>STOC14.3.3 AND STOC14.3.3>STOC14.3.4 AND STOC14.3.4>STOC14.3.5 AND STOC14.3.5>STOC14.3.6 AND STOC14.3.6>STOC14.3.7 AND STOC14.3.7>STOC14.3.8 AND STOC14.3.8>STOC14.3.9)+ ABS(STOC14.3>STOC14.3.1 AND STOC14.3.1>STOC14.3.2 AND STOC14.3.2>STOC14.3.3 AND STOC14.3.3>STOC14.3.4 AND STOC14.3.4>STOC14.3.5 AND STOC14.3.5>STOC14.3.6 AND STOC14.3.6>STOC14.3.7 AND STOC14.3.7>STOC14.3.8 AND STOC14.3.8>STOC14.3.9 AND STOC14.3.9>STOC14.3.10)
You can either sort by it (check out this video)
Create your own stock rankings using WatchLists and Sort conditions
or you can use it in EasyScan and limit the VALUES to 5 to MAX
Using EasyScan to find stocks that meet your own criteria
- Craig Here to Help!
|