| Registered User Joined: 12/27/2010
 Posts: 30
 
 | 
	I am trying to create a PCF condition for a High greater than the upper Bollinger Band, a period of 6 days with an exponential avg of 6 and 1.75 STD. I have the following but it does not work. Can you correct the code? 
	H > XAVGC6 + 1.75 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 + C6 ^ 2  - 6 * XAVGC6 ^ 2) / 6) 
	Bruce | 
	
	|  
  Worden Trainer
 
 Joined: 10/7/2004
 Posts: 65,138
 
 | 
	You were very close. Please try the following Condition Formula instead. 
	H > XAVGC6 + 1.75 * SQR(ABS(C ^ 2 + C1 ^ 2 + C2 ^ 2 + C3 ^ 2 + C4 ^ 2 + C5 ^ 2 - 6 * AVGC6 ^ 2) / 6) 
	Modelling Bollinger Bands (& Standard Deviation) in a TC PCF 
 -Bruce
 Personal Criteria Formulas
 TC2000 Support Articles
 |