Registered User Joined: 3/22/2005 Posts: 88
|
How do I write a PCF on TC 2007 for Stoch RSI (15, 7, 14, 14, close) crooss up on:
1. a daily chart
2. a weekly chart
Thanks.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Assuming the average types are simple and the periods are for the following:
- RSI Period: 15
- Stochastics Period: 7
- %K: 14
- %D: 14
Then this could be written as follows in TC2000 v18.
XUP(100 * AVG((WRSI15 - MIN(WRSI15, 7)) / (MAX(WRSI15, 7) - MIN(WRSI15, 7)), 14), 100 * AVG(AVG((WRSI15 - MIN(WRSI15, 7)) / (MAX(WRSI15, 7) - MIN(WRSI15, 7)), 14), 14))
But I do not know of any way to make the formula short and fast enough to be practical or post in the forums for earlier versions of TC2000.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 3/22/2005 Posts: 88
|
Thanks, Bruce.
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|