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

Syntax Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
airboss1
Posted : Friday, August 26, 2011 3:23:32 PM
Registered User
Joined: 10/7/2004
Posts: 78
What is syntax for "Front Weight Moving Average 8"

I've tried FWAVGC8 to no avail.

Thanks,

Bill S
Bruce_L
Posted : Friday, August 26, 2011 3:32:57 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The Personal Criteria Formula Language does not have syntax built in for a Front Weighted Moving Average. You would need to construct the Moving Average manually:

(8 * C + 7 * C1 + 6 * C2 + 5 * C3 + 4 * C4 + 3 * C5 + 2 * C6 + C7) / 36

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!

In general I would suggest clicking on the Moving Average and selecting QuickSort, Add column to WatchList or Create Condition instead of attempting to create an Indicator Formula or Condition Formula involving Front Weighted Moving Averages unless a formula is absolutely required.

Indicators, Sorting & Scanning

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
airboss1
Posted : Friday, August 26, 2011 3:52:22 PM
Registered User
Joined: 10/7/2004
Posts: 78
Thanks Bruce, was trying to use this as a condition in a scan. I'll try using exponential average.

Bill S
Bruce_L
Posted : Friday, August 26, 2011 3:57:44 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
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.