Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Adjusting PCF to weekly from daily Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
chrischapman
Posted : Thursday, March 15, 2012 10:09:42 AM
Gold Customer Gold Customer

Joined: 3/22/2005
Posts: 40

(XAVGC5) - (XAVGC34) - XAVG(XAVGC5,5) + XAVG(XAVGC34,5) - ((XAVGC5.16) - (XAVGC34.16) - XAVG(XAVGC5.16,5) + XAVG(XAVGC34.16,5))

 

this is the roc over 16 days for a macd for a daily, actual value, 5,34,5 exponential. what would the formula be for a weekly? I'm having trouble using the "," for 5 days - results in formula errors.

Bruce_L
Posted : Thursday, March 15, 2012 10:28:49 AM


Worden Trainer

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

If you are using TC2000 version 12, all you need to do is set the Time Frame of the Indicator Formula to Weekly when you create or edit it (there is a Time Frame drop-down menu).

The ,5 isn't for days. The ,5 represents the period of the Exponential Moving Average in the XAVG() function.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
chrischapman
Posted : Friday, March 16, 2012 9:45:06 AM
Gold Customer Gold Customer

Joined: 3/22/2005
Posts: 40

what is the difference b/t the "period" for the MACD versus the" timeframe" when setting the sort? In other words, I'm trying to replicate the "timeframe" in the formula (because when using a pcf for a sort it doesn't allow this).

Bruce_L
Posted : Friday, March 16, 2012 10:04:50 AM


Worden Trainer

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

The periods are the periods of the three moving averages which are used in calculating the MACD Histogram.

Understanding MACD

The period of a moving average is in bars. When you change the Time Frame, you are adjusting the size of the bar being used. When you adajsut the period, you are adjusting the number of bars used in calculating the moving average.

You definitely can adjust the Time Frame of a Personal Criteria Formula when using it for a Sort in TC2000 version 12 (right-click on the WatchList Column header and select Edit). All PCFs use a Daily Time Frame in TC2000 version 7.



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

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