PureBytes Links
Trading Reference Links
|
Anthony, no output to Indicator builder. You
are right,I did fail to create the Composite sector indexes. Thanks
Ron D
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
Anthony Faragasso
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, May 20, 2003 8:38 AM
Subject: Re: [amibroker] RELATIVE
STRENGTH INDICATOR
Ron,Could you explain further when you say
...***Should work for me, but itdosen't...***.Are you getting a
script runtime error...if yes, what is the error.Is it just not
producing any output to Indicator builder ? Did you create the
Composite sector index's first ?Anthony-------Original
Message-------From: <A
href="">amibroker@xxxxxxxxxxxxxxxDate:
Tuesday, May 20, 2003 2:33:06 AMTo: amibroker tipsCc: jeff
davisSubject: [amibroker] RELATIVE STRENGTH INDICATORI found the
below coding in the AFL library posted by GOLDFREAZ. I like
theconcept of being able to quickly find which sectors have the
strongestrelative strength. I am using version 6.0.28 of internet
explorer, andXPpro operating system. According to what I read in
Amibroker helpregarding vbscript, this code should work for me, but it
doesn't. I willappreciate any assistance on what I am apparently
doing wrong. Maybe by nowsomeone has different ideas on how to code
for this. If so , I would liketo hear your comments. Thanks in
advance. Ron D/* Relaive Strength Indicator
*/EnableScript("vbscript");sid=SectorID(1);<%Select Case
AFL.var("sid")Case "Healthcare" Afl.var("sector")="~drug"Case
"Financial"Afl.var("sector")="~bank" Case
"Technology"Afl.var("sector")="~techy" Case "Basic
Materials"Afl.var("sector")="~raw" Case
elseAfl.var("sector")="~market"end select%>/* Rate of
Change
*/xp=0.1*(4.0*(O+C)+H+L);Chan=EMA(ROC(xp,1),2);Schan=Foreign(sector,"C",1)/Foreign(sector,"V",1);
RS=EMA((Chan-Schan),19);Mchan=Foreign("~market","C",1)/Foreign("~market","V",1);
RM=EMA((Chan-Mchan),19);Graph0=RS;Graph0Style=1;Graph0Color=7;Graph1=RM;
Graph1Style=1; Graph1Color=17;Yahoo! Groups
SponsorADVERTISEMENTSend BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaqhtml
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
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.
|