Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 6/17/2006 Posts: 10
|
would like help on writing pcf for close price above 3x3 dma not sure how to do this any help would be great.
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
Based on info in other topic forums, C > AVGC3.3 should work. AVGC3.3 is a 3 bar moving average 3 bars ago.
|
|
Registered User Joined: 6/17/2006 Posts: 10
|
works great thanks.
|
|
Registered User Joined: 1/1/2005 Posts: 2,645
|
QUOTE (StockGuy) C3.3 is a 3 bar moving average 3 bars ago.
StockGuy,
That is not the case in my system. For my system, the ".3" in C3.3 is ignored and C3.3 returns C3, the closing price 3 days ago. The PCF:
AVGC3.3
returns the "3 bar moving average 3 bars ago".
Since mike195 says "works great", does this mean there is something wrong with my system?
Thanks, Jim Murphy
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
bustermu, I get the same results. It was probably just a typo (although that would not explain why it would work for mike195, maybe it was just the symbol he was viewing at the time).
C = Current Price C3 = Close 3-Periods Ago C3.3 = Close 3-Periods Ago (the .3 is ignored) AVGC3 = Current 3-Period Simple Moving Average of the Close XAVG3 = Current 3-Period Exponential Moving Average of the Close AVGC3.3 = 3-Period Simple Moving Average of the Close 3-Periods Ago XAVGC3.3 = 3-Period Exponential Moving Average of the Close 3-Periods Ago
You may wish to review the following:
Handy PCF example formulas to help you learn the syntax of PCFs! How to create a Personal Criteria Forumula (PCF)
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 1/1/2005 Posts: 2,645
|
QUOTE (Bruce_L) bustermu, I get the same results.
Bruce,
That means your system and mine give different results for C3.3 than that of StockGuy and mike195.
Why would that be?
Thanks, Jim Murphy
|
|
Administration
Joined: 9/30/2004 Posts: 9,187
|
QUOTE (bustermu) QUOTE (Bruce_L) bustermu, I get the same results. Bruce, That means your system and mine give different results for C3.3 than that of StockGuy and mike195. Why would that be? Thanks, Jim Murphy
There was a typo in my original post which has been corrected. C3.3 should be AVGC3.3 (and now it is).
|
|
Guest-1 |