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 |

PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
mfg
Posted : Friday, February 14, 2014 9:19:28 PM
Registered User
Joined: 10/10/2004
Posts: 62

Bruce ,

I have a tend formula in my Metastock that I need PCF help with:

Factor:=Input("Factor",1.00,10.00,3.00);
Pd:=Input("ATR Periods",1,100,10);
Up:=MP()+(Factor*ATR(Pd));
Dn:=MP()-(Factor*ATR(Pd));
Td:=If(Cross(C,LLV(Up,13)),1,If(Cross(HHV(Dn,13),C ),-1,PREV));
Dnx:=If(Dn=HighestSince(1,Cross(Td,0),Dn),Dn,PREV) ;
Upx:=If(Up=LowestSince(1,Cross(0,Td),Up),Up,PREV);
ST:=If(Td=1,Dnx,If(Td=-1,Upx,PREV));
ST

Also, PCF for Stochastic of CCI if possible :

(Sum(CCI(14)-LLV(CCI(14),5),3) / Sum(HHV(CCI(14),5)-LLV(CCI(14),5),3))*100    

Thank you,

mfg

Bruce_L
Posted : Wednesday, February 19, 2014 2:21:28 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

I cannot think of a practical method of creating either indicator in TC2000 version 7. It would be possible to create stochastics of CCI as an indicator in TC2000 version 12.4, but not by using an Indicator Formula.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
mfg
Posted : Thursday, February 20, 2014 12:52:23 AM
Registered User
Joined: 10/10/2004
Posts: 62

Thak you.

Bruce_L
Posted : Thursday, February 20, 2014 10:04:43 AM


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.