Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Personal Criteria formula Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
zoran403
Posted : Wednesday, July 23, 2008 8:04:23 PM
Registered User
Joined: 2/6/2008
Posts: 1
Hello, 
I want to create personal criteria for stock search. I am using the weekly bars , 
Criteria is for exponential Moving average 7 bars, 
and need to put, last bar to be greater then 3 bars before last bar.

Regards,
Zoran
StockGuy
Posted : Wednesday, July 30, 2008 12:28:31 PM

Administration

Joined: 9/30/2004
Posts: 9,187
PCFs only use daily data so you need to convert weeks to days: 7 weeks = 35 market days.

XAVG35 > XAVG35.15

bustermu
Posted : Thursday, July 31, 2008 8:15:57 AM
Registered User
Joined: 1/1/2005
Posts: 2,645

QUOTE (zoran403)
I want to create personal criteria for stock search. I am using the weekly bars , 
Criteria is for exponential Moving average 7 bars, 
and need to put, last bar to be greater then 3 bars before last bar.


Zoran,

A PCF for the condition is:

(C0-C15+3/4
*(C5-C20+3/4
*(C10-C25+3/4
*(C15-C30+3/4
*(C20-C35+3/4
*(C25-C40+3/4
*(C30-C45+3/4
*(C35-C50+3/4
*(C40-C55+3/4
*(C45-C60+3/4
*(C50-C65+3/4
*(C55-C70+3/4
*(C60-C75+3/4
*(C65-C80+3/4
*(C70-C85+3/4
*(C75-C90+3/4
*(C80-C95+3/4
*(C85-C100+3/4
*(C90-C105+3/4
*(C95-C110+3/4
*(C100-C115+3/4
*(C105-C120+3/4
*(C110-C125+3/4
*(C115-C130+3/4
*(C120-C135+3/4
*(C125-C140+3/4
*(C130-C145+3/4
*(C135-C150+3/4
*(C140-C155+3/4
*(C145-C160+3/4
*(C150-C165+3/4
*(C155-C170+3/4
*(C160-C175+3/4
*(C165-C180+3/4
*(C170-C185
)))))))))))))))))))))))))))))))))))
> 0

Since "Weekly" charts in TeleChart are actually five different 5 Day charts, The PCF suggested by StockGuy:

XAVGC35 > XAVGC35.15

is probably preferable to most.

Thanks,
Jim Murphy

tyro
Posted : Thursday, July 31, 2008 11:19:50 AM
Registered User
Joined: 5/4/2006
Posts: 4
can I create a pcf for an MACD cross? This would be included in an exiating easyscan.
Craig_S
Posted : Thursday, July 31, 2008 12:51:41 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Yes.  Check out this video and the PCF examples under it.
Understanding MACD

- Craig
Here to Help!
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.