Registered User Joined: 3/22/2005 Posts: 88
|
How do I write a PCF to get Cross Up for Exponential Stochastics (7, 10, 4) on a daily chart for TC2000 v. 7? Would the following be correct?
XAVG(STOC7.1.1,4) > XAVG(STOC7.1.1,10) AND XAVG(STOC7.1.2,4) <= XAVG(STOC7.1.2,10)
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Your formula looks correct if the crossover happened 1-bar ago. If you want the crossup for the current bar instead:
XAVG(STOC7, 4) > XAVG(STOC7, 10) AND XAVG(STOC7.1.1, 4) <= XAVG(STOC7.1.1, 10)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 3/22/2005 Posts: 88
|
Yes, I want 1-bar ago.
Thanks, Bruce.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|