Platinum Customer
Joined: 10/7/2004 Posts: 15
|
We are looking to have a second bar confirmation from a PCF that we have created.
Current PCF is
STOC14.1.1 > 80 AND STOC14.1 <= 80
what does STOC14.1.1 mean? I believe the .1 means 1 bar ago.
We would like to change to 1 and 2 bars ago. How do I add this addtional 2nd bar confirmation?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
STOCx.y.z -> Simple Stochastic
Where x is the Period of the Indicator or Function.
Where y is a the Period of an additional Simple Moving Average.
Where z is the number of Periods Ago.
- z can also be a date. May 3, 2007 would be (single quotes required): '05/03/07'
The arguments in indicators are separated by periods.
PCF Formula Descriptions
So the current formula checks for 1 bar ago to be above 80 and the current bar to be less than or equal to 80.
STOC14.1.1 > 80 AND STOC14 <= 80
Adding 1 to each of the bars ago parameters would result in:
STOC14.1.2 > 80 AND STOC14.1.1 <= 80
Adding 2 to each of the bars ago parameters would result in:
STOC14.1.3 > 80 AND STOC14.1.2 <= 80
Understanding Stochastics
-Bruce Personal Criteria Formulas TC2000 Support Articles
|