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 |

Need help writing a simple PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
puwind
Posted : Wednesday, May 23, 2018 6:52:43 PM
Registered User
Joined: 4/11/2018
Posts: 4

Hi, I would like to have a PCF based on this condition: WVF reached 3 months high 3 days ago.
WVF = 100 * (1 - L / MAXH22)

Bruce_L
Posted : Thursday, May 24, 2018 9:05:16 AM


Worden Trainer

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

Please try the following condition formula in TC2000 v18 if the 3 month high includes today.

1 - L3 / MAXH223 = MAX(1 - L / MAXH22, 63)

Or the following condition formula if the 3 monht high ended 3 days ago as well.

1 - L3 / MAXH22.3 = MAX(1 - L3 / MAXH22.3, 63)

There really isn't a good way to write a similar formula for earlier versions of TC2000.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
puwind
Posted : Thursday, May 24, 2018 10:01:09 AM
Registered User
Joined: 4/11/2018
Posts: 4

Thanks Bruce.

Bruce_L
Posted : Thursday, May 24, 2018 10:08:42 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.