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 |

Explain MAXC120.60 Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jackmanjls
Posted : Monday, January 13, 2014 8:21:49 AM
Registered User
Joined: 9/28/2009
Posts: 135

I watched one of the vids and to find resistance the person used the formula:

c=max120 AND c>(maxc120.60)*.99 AND c<(maxc120.60)*1.01

Can you explain the what maxc120.60 does?

Bruce_L
Posted : Monday, January 13, 2014 11:10:48 AM


Worden Trainer

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

I'm going to guess that the c=max120 section is actually C = MAXC120 as max120 is completely meaningless in the Personal Criteria Formula Language.

C is the current price or closing price of the current bar.

MAXC120 is the highest closing price in the most recent 120 bars.

MAXC120.60 is the highest closing price of the 120 bars ending 60 bars ago.

So the Condition Formula given is designed to check that the current price is the highest closing price is the most recent 120 bars and within 1% of the highest closing price it the 120 bars ending 60 bars ago.

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



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