Subscription & data-feed pricing Class schedule

Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.

 Explain Code Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
dfox512352
 Posted : Thursday, August 20, 2009 5:35:16 PM
Registered User
Joined: 5/4/2008
Posts: 11
I really don't know how to interpret code very well. I found this code and wondered if you could translate it for me. I want to understand what it happening at the time I get a spike using it as a percent true setting. (((((20 - 1) / 2) * AVGC20 - (C1 + 2 * C2 + 3 * C3 + 4 * C4 + 5 * C5 + 6 * C6 + 7 * C7 + 8 * C8 + 9 * C9 + 10 * C10 + 11 * C11 + 12 * C12 + 13 * C13 + 14 * C14 + 15 * C15 + 16 * C16 + 17 * C17 + 18 * C18 + 19 * C19 ) / 20) / SQR(((20 ^ 2 - 1) / 12) * ABS((C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2 + C7 ^ 2 + C8 ^ 2 + C9 ^ 2 + C10 ^ 2 + C11 ^ 2 + C12 ^ 2 + C13 ^ 2 + C14 ^ 2 + C15 ^ 2 + C16 ^ 2 + C17 ^ 2 + C18 ^ 2 + C19 ^ 2 ) / 20 - AVGC20 ^ 2)) + .0000001) ^ 2) <.20 and c>h1 and v>v1
Bruce_L
 Posted : Friday, August 21, 2009 8:51:08 AM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138
It appears to be a formula for a 20-Period R-Squared value being less than .2 and the current Close being above the previous High and the current Volume being above the previous Volume. The Need help writing a PCF for r-squared topic covers the creation of formulas for R-Squared and Standard Error.

You may wish to review the following:

PCF Formula Descriptions

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

 Forum Jump Customer Training & Support - Ask a Trainer - TC2000 version 12/18 - Ask a Trainer - TC2000 version 7 - Ask a Trainer - StockFinder 5.0 - PCFs, EasyScan and Custom Indicators General Discussions - Stock and Market Talk - TC2000 version 12 or 18 - TC2000 version 7 - StockFinder 5.0 - RealCode for StockFinder 5.0 Tutorial Videos - TC2000 version 12 tutorial videos - TC2000 version 7 tutorial videos You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot delete your posts in this forum. You cannot edit your posts in this forum. You cannot create polls in this forum. You cannot vote in polls in this forum.