Registered User Joined: 1/14/2006 Posts: 436 
	 | 
	
		 
	Hello Bruce 
	As usual, I need your coding expertise.  The following code is not compiling.  Please debug.  
	Thanks ... Dan 
	If(Price.MaxHigh(10.1) - Price.MinLow(10.1)) / Price.MinLow(10, 1) > 0.10 And_ 
	Price.Netchange(1, 1)<0 And Price.close>Price.open Then  
	Plot = 1 
	ElseIf (Price.MaxHigh(10.1) - Price.MinLow(10.1)) / Price.MinLow(10, 1) > 0.10 and_ 
	Price.Netchange(1, 1) > 0) And Price.close < Price.open) Then  
	Plot = -1 
	Else  
	Plot = 0  
	End If 
	 | 
	
	
		 
   Worden Trainer
  Joined: 10/7/2004 Posts: 65,138 
	 | 
	
		 
	I think it is mostly just a matter of some periods which should have been commas and some missing spaces. 
'|******************************************************************
'|*** StockFinder RealCode Indicator - Version 5.0 www.worden.com 
'|*** Copy and paste this header and code into StockFinder *********
'|*** Indicator:My Indicator
'|******************************************************************
If(Price.MaxHigh(10, 1) - Price.MinLow(10, 1)) / Price.MinLow(10, 1) > .1 AndAlso _
	Price.Netchange(1, 1) < 0 AndAlso Price.Close > Price.Open Then 
	Plot = 1
ElseIf (Price.MaxHigh(10, 1) - Price.MinLow(10, 1)) / Price.MinLow(10, 1) > .1 AndAlso _
	Price.Netchange(1, 1) > 0 AndAlso Price.Close < Price.Open Then 
	Plot = -1
Else 
	Plot = 0 
End If 
  -Bruce Personal Criteria Formulas TC2000 Support Articles
	 | 
	
	
		Registered User Joined: 1/14/2006 Posts: 436 
	 | 
	
		 
	thank you... Dan 
	 | 
	
	
		 
   Worden Trainer
  Joined: 10/7/2004 Posts: 65,138 
	 | 
	
		 
	You're welcome. 
  -Bruce Personal Criteria Formulas TC2000 Support Articles
	 |