  | 
		F Mazandarany 
      2010-12-20 15:00:57
	  	   	
	   
	  
	  
	  	   
	  	  
	  	  
	   	  	  
 | 	  
	  
 | 
    
 
	 
  I'm using  drawdowneq(buy,close)<-5 function in a sell rule as follows using the Simulator(Long only) and ILF as the symbol from 3/1/2004; and I have no MM script to interfere. My interpretation of this sell rule is that when the closing price is lower than the maximum price( since position entry) by more than 5%, the position should be closed. 
The simulation results are not consistent with this interpretation. The real question is what exactly does the "drawdowneq"  function do as I used it? 
 
 
 
 
// Buy rules 
 
Rule1 = close>sma(200)*1.035; 
buy = Rule1; 
 
// Sell rules 
Rule2 = drawdowneq(buy,close)<-5; 
sell = Rule2; 
       
       
 
 
 | 
 |