PureBytes Links
Trading Reference Links
|
This does not work for me. No errors, so I
must need to do something additional in Amibroker to make this work.
I am using XP professional. My data is the USstocks Folder of yahoo
symbols, with the default Sector and Industry settings.
What other things do I perhaps need to do?
Ron D
/* Relaive Strength Indicator *
EnableScript<FONT
size=1>("vbscript");
sid=SectorID<FONT
size=1>(1);
<%
Select Case AFL.var("sid"<FONT
size=1>)
Case "Healthcare"
Afl.var("sector"<FONT
size=1>)="~drug"
Case "Financial"
Afl.var("sector"<FONT
size=1>)="~bank"
Case "Technology"
Afl.var("sector"<FONT
size=1>)="~techy"
Case "Basic Materials"<FONT
size=1>
Afl.var("sector"<FONT
size=1>)="~raw"
Case else
Afl.var("sector"<FONT
size=1>)="~market"
end select
%>
/* Rate of Change */
xp=0.1*(<FONT
color=#ff00ff size=1>4.0<FONT
size=1>*(O+C)+H+L);
Chan=EMA(<FONT
color=#0000ff size=1>ROC(xp,<FONT color=#ff00ff
size=1>1),2<FONT
size=1>);
Schan=Foreign<FONT
size=1>(sector,"C"<FONT
size=1>,1)/<FONT
color=#0000ff size=1>Foreign(sector,<FONT
color=#ff00ff size=1>"V",<FONT color=#ff00ff
size=1>1);
RS=EMA<FONT
size=1>((Chan-Schan),19<FONT
size=1>);
Mchan=Foreign<FONT
size=1>("~market"<FONT
size=1>,"C",<FONT
color=#ff00ff size=1>1)/<FONT color=#0000ff
size=1>Foreign(<FONT color=#ff00ff
size=1>"~market",<FONT color=#ff00ff
size=1>"V",1<FONT
size=1>);
RM=EMA<FONT
size=1>((Chan-Mchan),19<FONT
size=1>);
Graph0=RS;Graph0Style=<FONT color=#ff00ff
size=1>1;Graph0Color=<FONT color=#ff00ff
size=1>7;
Graph1=RM; Graph1Style=<FONT color=#ff00ff
size=1>1; Graph1Color=<FONT color=#ff00ff
size=1>17;
Yahoo! Groups Sponsor
ADVERTISEMENT
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|