Registered User Joined: 3/12/2005 Posts: 32
|
Greetings,
I am trying to create a PCF where I can put a multiple moving average setup I like over MoneyStrean -not- price. If I understand the wizard correctly XAVGC3 means price. And if I did say MS.1 > MS.10 - that isn't the moving average of MS either...
Any suggestions?
Thanks!
KingCAMBO
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
In TeleChart's Personal Criteria Formula Language, the MoneyStream Indicator has a built in Simple Moving Average that can be applied. You can also place the MoneyStream Indicator inside a Moving Average Function for one additional layer of smoothing.
MoneyStream Indicator:
MSy.z -> Cumulative MoneyStream
Moving Average Functions:
AVG(w,x) -> Simple Moving Average XAVG(w,x) -> Exponential moving Average
Where w is the Number or Indicator to which a Function is applied. - w cannot be a formula or function for AVG() or XAVG() Where x is the Period of the Indicator or Function. Where y is a the Period of an additional Simple Moving Average. Where z is the number of Periods Ago. - z can also be a date. May 3, 2007 would be (single quotes required): '05/03/07'
The arguments in indicators are separated by periods while the arguments in functions are separated by commas.
It is also possible to cascade the Moving Averages using the techniques described in Cascades of Moving Averages.
Special care must be taken when using cumulative indicators like MoneyStream in a PCF:
Dealing with OBV & MS in PCF's - how to interp their "values"
You may also wish to review the following:
How to create a Personal Criteria Forumula (PCF) Handy PCF example formulas to help you learn the syntax of PCFs! PCF Formula Descriptions
-Bruce Personal Criteria Formulas TC2000 Support Articles
|