PureBytes Links
Trading Reference Links
|
QP users may find
this useful.
<SPAN
class=309413907-29122003>
<FONT
face=Arial size=2> Since QP provides us with
an industry group index for each of their industry groups (!ID001-198) it is a
simple matter to call that index as a foreign ticker when we select a stock.
Just copy the code to a free pane and it will plot the appropriate industry
group index.
<SPAN
class=309413907-29122003>
Regards,
Jayson
<FONT
color=#282828 size=2>
L1=<FONT
color=#000000>"!ID00"+<FONT
size=2>IndustryID(<FONT
size=2>0<FONT face=Arial
color=#000000>);
L2=<FONT
color=#000000>"!ID0"+<FONT
size=2>IndustryID(<FONT
size=2>0<FONT face=Arial
color=#000000>);
L3=<FONT
color=#000000>"!ID"+<FONT
size=2>IndustryID(<FONT
size=2>0<FONT face=Arial
color=#000000>);
industry=<FONT
face=Arial>WriteIf<FONT
size=2>(IndustryID(<FONT
size=2>0) <10<FONT
size=2>,l1,WriteIf(<FONT
size=2>IndustryID(0<FONT
size=2>)>9 <FONT
size=2>AND<FONT
size=2> IndustryID(<FONT
size=2>0)<<FONT
size=2>100<FONT face=Arial
color=#000000>,l2,L3));
SetForeign<FONT color=#282828
size=2>(industry);<FONT
color=#0000ff size=2>
Plot<FONT
color=#000000>(<FONT
size=2>C<FONT
size=2>,IndustryID(<FONT
size=2>1),<FONT
size=2>colorWhite<FONT
color=#000000>,64<FONT
color=#282828 size=2>);<FONT
color=#0000ff size=2>
Plot<FONT
color=#000000>(MA<FONT
size=2>(C<FONT
color=#000000>,20<FONT
size=2>),"",<FONT
size=2>colorBlue<FONT
color=#000000>,1<FONT
color=#282828 size=2>);<FONT
color=#0000ff size=2>
Plot<FONT
color=#000000>(MA<FONT
size=2>(C<FONT
color=#000000>,50<FONT
size=2>),"",<FONT
size=2>colorYellow<FONT
color=#000000>,1<FONT
color=#282828 size=2>);<FONT
size=2>
Title<FONT
color=#000000>="Industry Group = "<FONT
size=2>+IndustryID(<FONT
size=2>1)+ " ("<FONT
size=2>+industry+")"<FONT color=#282828
size=2>;<FONT face=Arial
size=2>
<SPAN
class=309413907-29122003>
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
Yahoo! Groups Sponsor
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|