[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] please modifty to run a scan



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

//

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
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/