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

scan for price above 3x3 dma Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mike195
Posted : Sunday, April 1, 2007 3:57:48 PM
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.
StockGuy
Posted : Sunday, April 1, 2007 4:02:58 PM

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.
mike195
Posted : Sunday, April 1, 2007 4:09:23 PM
Registered User
Joined: 6/17/2006
Posts: 10
works great thanks.
bustermu
Posted : Monday, April 2, 2007 7:36:09 AM
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
Bruce_L
Posted : Monday, April 2, 2007 9:31:22 AM


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
bustermu
Posted : Monday, April 2, 2007 9:47:46 AM
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
StockGuy
Posted : Monday, April 2, 2007 10:16:09 AM

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