Registered User Joined: 1/28/2005 Posts: 97 
	 | 
	
		how do i write a pcf that says that todays candle is the new 20 day high, and this is the first time it has made a 20 day new high in 2 days, thus yesterday was not the new high and now today is a continuation of that new high? 
 
also i do i do the inverse for new lows?
	 | 
	
	
		 
   Worden Trainer
  Joined: 10/7/2004 Posts: 65,138 
	 | 
	
		Please try the following: 
 
High: 
 
H > MAXH19.1 AND H1 <= MAXH19.2 
 
Low: 
 
L < MINL19.1 AND L1 >= MINL19.2 
 
You may wish to review the following: 
 
PCF Formula Descriptions 
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
	 |