Subscription & data-feed pricing Class schedule

Margin rates Stock & option commissions

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

 PCF for Leader of the MACD - TASC July 2008 Rate this Topic:
 Previous Topic · Next Topic Watch this topic · Print this topic ·
 Posted : Wednesday, June 29, 2011 9:37:27 AM
Registered User
Joined: 8/21/2007
Posts: 181
Is it possible to get a PCF for the "Leader of the MACD" from TASC July 2008?  I know the indicator is available in SF but I'm looking for a PCF.

Thanks
StockGuy
 Posted : Wednesday, June 29, 2011 9:57:22 AM

Joined: 9/30/2004
Posts: 9,187
I don't think so becuase the PCF language doesn't allow you to group operators inside the AVG function.

This would be the formula, but the sections in bold are not valid.

(AVGC12 - AVG(C-AVGC12 ,12)) - (AVGC26 - AVG(C-AVGC26 ,26))
 Posted : Wednesday, June 29, 2011 10:15:38 AM
Registered User
Joined: 8/21/2007
Posts: 181
Grrrr... remind me again why you guys are not developing SF any more???

Just kidding.... thanks for your help....
Bruce_L
 Posted : Thursday, July 7, 2011 12:35:33 PM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138

2 * XAVGC12 - XAVG(XAVGC12,12) - 2 * XAVGC26 + XAVG(XAVGC26,26)

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
total3
 Posted : Tuesday, November 21, 2017 2:23:55 PM
Registered User
Joined: 2/2/2017
Posts: 9

QUOTE (Bruce_L)

2 * XAVGC12 - XAVG(XAVGC12,12) - 2 * XAVGC26 + XAVG(XAVGC26,26)

Hi Bruce,

to practice PCFs I want to write a 50 simple moving average of that formula, but it doesn't quite work:

AVGC(2 * XAVGC12 - XAVG(XAVGC12,12) - 2 * XAVGC26 + XAVG(XAVGC26,26)),50) does not work. Where am I wrong ?

Martin

Bruce_L
 Posted : Tuesday, November 21, 2017 2:40:31 PM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138

The basic structure should in fact work if you are using TC2000 v17 (but not earlier versions of TC2000). I think you just might have the parentheses wrong.

`AVG(2 * XAVGC12 - XAVG(XAVGC12,12) - 2 * XAVGC26 + XAVG(XAVGC26,26), 50)`

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
total3
 Posted : Tuesday, November 21, 2017 3:11:41 PM
Registered User
Joined: 2/2/2017
Posts: 9

QUOTE (Bruce_L)

The basic structure should in fact work if you are using TC2000 v17 (but not earlier versions of TC2000). I think you just might have the parentheses wrong.

`AVG(2 * XAVGC12 - XAVG(XAVGC12,12) - 2 * XAVGC26 + XAVG(XAVGC26,26), 50)`

Also I put "AVGC" instead of "AVG" at the beginning, which was my main mistake.

Very fast reply, thanks so much!

Bruce_L
 Posted : Tuesday, November 21, 2017 3:12:46 PM

Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You're welcome.

-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.