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

//

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) ;

Reply via email to