Registered User Joined: 12/29/2004 Posts: 11
|
Hi, in version 12, I am looking for a 14/3/3 stochastic pcf for the daily, 4hr, and 1 hr timeframes in combination using only the slow stochastic line. I need the stochastic line up on the daily chart between 20 and 80, up on the 4hr chart between 20 and 80, and hooking up on the 1hr chart but below 30. I can do the downside version if I have the upside. I hope this defines it well enough. Thank You
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You would need to create three different Conditions and add them to the same Scan as it is not possible to mix Time Frames within a single Condition. You can generally adjust the Time Frame of a Condition when it is created, edited or used.
A Condition Formula for a Simple Stochastic 14,3,3 %D increasing between 20 and 80 could be written as:
AVG(STOC14.3,3) > AVG(STOC14.3.1,3) AND 20 <= AVG(STOC14.3,3) AND AVG(STOC14.3,3) <= 80
A Condition Formula for a Simple Stochastic 14,3,3 %D just being between 20 and 80 is everything after the first AND in the formula above:
20 <= AVG(STOC14.3,3) AND AVG(STOC14.3,3) <= 80
A Condition Formula for a Simple Stochastic 14,3,3 %D increasing during the current bar, decreasing on the previous bar and being currently below 30 could be written as:
AVG(STOC14.3,3) > AVG(STOC14.3.1,3) AND AVG(STOC14.3.1,3) < AVG(STOC14.3.2,3) AND AVG(STOC14.3,3) < 30
Understanding Stochastics
Indicators, Sorting & Scanning
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: 12/29/2004 Posts: 11
|
Thanks Bruce for the fast reply. That works.
|

 Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|