| Welcome Guest, please  sign in  to participate in a discussion. | 	Search | 	Active Topics |  | 
	
	
	
		Registered User Joined: 1/27/2006 Posts: 109 
	 | 
	
		I an needing help tweeking a pcf that looks for stocks that are in an uptrend for at least three months. the pcf am using is as follows. C < XAVGC3 AND C1 < XAVGC3.1 AND C2 < XAVGC3.2 AND C3 < XAVGC3.3
  Any help you can provide would be greatly appreciated. Thanks
	 | 
	 | 
	
	
	
		Registered User Joined: 10/23/2004 Posts: 251 
	 | 
	
		please take a look at this website:
  Stocks in an uptrend for the past three months
 
  Thanks Naresh
	 | 
	 | 
	
	
	
		Registered User Joined: 1/28/2005 Posts: 6,049 
	 | 
	
		Your PCF looks for 4 closes below the 3 day exp. mav.
  (I would assume thats a pullback after strength)
  For 3 months you could use:
  C>C63
  or add a "factor" (at least 10% higher):
  C>(C63*1.1)
  or use a sort condition (percent change):
  (C/(C63*100))-100
  and limit your scan to the top 10 or 20 percent of stocks.
  Thanks diceman
  
	 | 
	 | 
	
	
	
		 
   Worden Trainer
  Joined: 10/1/2004 Posts: 18,819 
	 | 
	
		Solaris, I think this PCF is closer to what you want:
  C>XAVGC21 AND C21>XAVGC21.21 AND C42>XAVGC21.42
  There are several ways to do what you want (see the link provided by Naresh).  My solution above compares price to an exponential moving average like your attempt above.
  - Craig Here to Help!
	 | 
	 | 
	
	
	
		Registered User Joined: 1/27/2006 Posts: 109 
	 | 
	
		Thanks, that is exactly what I wanted.
	 | 
	 | 
	
	
	
		 
   Worden Trainer
  Joined: 10/1/2004 Posts: 18,819 
	 | 
	
		Glad to hear it.
  - Craig Here to Help!
	 | 
	 | 
| 
Guest-1 |