| 
 PureBytes Links 
Trading Reference Links 
 | 
 Can some one modify this code to run as a scan /exploration giving
results as follows: 
Highest percentage difference between r1 and close and also
r2 and close- arranged higest difference first. 
Thanks in advance 
/*Tushar Chande's Range Projection
*/ 
  
/* AFL Code by Prakash Shenoi */ 
// 
  
// 
Av=MA(abs(C-Ref(C,-1)),10); 
r1=(C+Av); 
r2=(C+(2*Av)); 
s1=(C-Av); 
s2=(C-(2*Av)); 
Plot (Close,"",45,128); 
Plot (r1,"",36,16+8); 
Plot (r2,"",15,16+8); 
Plot (s1,"",0,16+8); 
Plot (s2,"",34,16+8); 
GraphXSpace=5; 
Title=Name ()+ " "+"\n"+ "RES
=" + WriteVal  (r1,1.2) + ", "+ WriteVal  (r2,1.2) + "  
 "+ 
"SUPP= "+ WriteVal (s1,1.2)+ ", " + WriteVal(s2,1.2) ; 
  
  
   
__._,_.___
  
Please note that this group is for discussion between users only. 
 
To get support from AmiBroker please send an e-mail directly to  
SUPPORT {at} amibroker.com 
 
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: 
http://www.amibroker.com/devlog/ 
 
For other support material please check also: 
http://www.amibroker.com/support.html 
  
     
  
 
      
   
__,_._,___
 |